Lines Matching refs:pnp_string
95 char **pnp_string; /* We don't own memory! */ member
1021 if (!*dev->pnp_string) { in printer_func_setup()
1025 value = strlen(*dev->pnp_string); in printer_func_setup()
1028 memcpy(buf + 2, *dev->pnp_string, value); in printer_func_setup()
1030 *dev->pnp_string); in printer_func_setup()
1234 if (!opts->pnp_string) in f_printer_opts_pnp_string_show()
1237 result = strscpy(page, opts->pnp_string, PAGE_SIZE); in f_printer_opts_pnp_string_show()
1267 kfree(opts->pnp_string); in f_printer_opts_pnp_string_store()
1270 opts->pnp_string = new_pnp; in f_printer_opts_pnp_string_store()
1278 CONFIGFS_ATTR(f_printer_opts_, pnp_string);
1367 kfree(opts->pnp_string); in gprinter_free_inst()
1494 dev->pnp_string = &opts->pnp_string; in gprinter_alloc()