Lines Matching refs:pnp_string
90 char *pnp_string; /* We don't own memory! */ member
1002 if (!dev->pnp_string) { in printer_func_setup()
1006 value = strlen(dev->pnp_string); in printer_func_setup()
1009 memcpy(buf + 2, dev->pnp_string, value); in printer_func_setup()
1011 dev->pnp_string); in printer_func_setup()
1215 if (!opts->pnp_string) in f_printer_opts_pnp_string_show()
1218 result = strlcpy(page, opts->pnp_string, PAGE_SIZE); in f_printer_opts_pnp_string_show()
1248 kfree(opts->pnp_string); in f_printer_opts_pnp_string_store()
1251 opts->pnp_string = new_pnp; in f_printer_opts_pnp_string_store()
1259 CONFIGFS_ATTR(f_printer_opts_, pnp_string);
1348 kfree(opts->pnp_string); in gprinter_free_inst()
1472 dev->pnp_string = opts->pnp_string; in gprinter_alloc()