Lines Matching refs:pnp_string
92 char **pnp_string; /* We don't own memory! */ member
1003 if (!*dev->pnp_string) { in printer_func_setup()
1007 value = strlen(*dev->pnp_string); in printer_func_setup()
1010 memcpy(buf + 2, *dev->pnp_string, value); in printer_func_setup()
1012 *dev->pnp_string); in printer_func_setup()
1218 if (!opts->pnp_string) in f_printer_opts_pnp_string_show()
1221 result = strlcpy(page, opts->pnp_string, PAGE_SIZE); in f_printer_opts_pnp_string_show()
1251 kfree(opts->pnp_string); in f_printer_opts_pnp_string_store()
1254 opts->pnp_string = new_pnp; in f_printer_opts_pnp_string_store()
1262 CONFIGFS_ATTR(f_printer_opts_, pnp_string);
1351 kfree(opts->pnp_string); in gprinter_free_inst()
1478 dev->pnp_string = &opts->pnp_string; in gprinter_alloc()