Lines Matching defs:pnp_string
95 char **pnp_string; /* We don't own memory! */
1033 if (!*dev->pnp_string) {
1037 value = min_t(int, strlen(*dev->pnp_string),
1041 memcpy(buf + 2, *dev->pnp_string, value);
1043 *dev->pnp_string);
1247 if (!opts->pnp_string)
1250 result = strscpy(page, opts->pnp_string, PAGE_SIZE);
1285 kfree(opts->pnp_string);
1288 opts->pnp_string = new_pnp;
1296 CONFIGFS_ATTR(f_printer_opts_, pnp_string);
1385 kfree(opts->pnp_string);
1512 dev->pnp_string = &opts->pnp_string;