Lines Matching refs:pnp_string
92 char **pnp_string; /* We don't own memory! */ member
998 if (!*dev->pnp_string) { in printer_func_setup()
1002 value = strlen(*dev->pnp_string); in printer_func_setup()
1005 memcpy(buf + 2, *dev->pnp_string, value); in printer_func_setup()
1007 *dev->pnp_string); in printer_func_setup()
1211 if (!opts->pnp_string) in f_printer_opts_pnp_string_show()
1214 result = strlcpy(page, opts->pnp_string, PAGE_SIZE); in f_printer_opts_pnp_string_show()
1244 kfree(opts->pnp_string); in f_printer_opts_pnp_string_store()
1247 opts->pnp_string = new_pnp; in f_printer_opts_pnp_string_store()
1255 CONFIGFS_ATTR(f_printer_opts_, pnp_string);
1344 kfree(opts->pnp_string); in gprinter_free_inst()
1471 dev->pnp_string = &opts->pnp_string; in gprinter_alloc()