Lines Matching refs:path

18  *    One last word: there's one path we can always count on: the primary path.
85 /* This struct defines what we need to deal with a parisc pdc path entry */
87 rwlock_t rw_lock; /* to protect path entry access */
91 struct pdc_module_path devpath; /* device path in parisc representation */
127 * pdcspath_fetch - This function populates the path entry structs.
168 * pdcspath_store - This function writes a path to stable storage.
172 * containing an already computed hardware path, or by passing it a device
173 * pointer, from which it'll find out the corresponding hardware path.
189 path struct provided is invalid, so that we know we have to fill it.
214 * pdcspath_hwpath_read - This function handles hardware path pretty printing.
239 if (devpath->path.bc[i] < 0)
241 out += sprintf(out, "%d/", devpath->path.bc[i]);
243 out += sprintf(out, "%u\n", (unsigned char)devpath->path.mod);
249 * pdcspath_hwpath_write - This function handles hardware path modifying.
254 * We will call this function to change the current hardware path.
256 * We make sure that the provided path actually maps to an existing
257 * device, BUT nothing would prevent some foolish user to set the path to some
298 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.path.bc[i]);
303 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.path.bc[i]);
308 "hardware path: %s\n", __func__, entry->name, buf);
327 printk(KERN_INFO PDCS_PREFIX ": changed \"%s\" path to \"%s\"\n",
413 the hardware path. */
474 /* These are the two attributes of any PDC path. */
491 /* We hard define the 4 types of path we expect to find */
548 /* Current flags are stored in primary boot path entry */
552 out += sprintf(out, "%s\n", (pathentry->devpath.path.flags & knob) ?
600 /* Current flags are stored in primary boot path entry */
605 out += sprintf(out, "%u\n", (pathentry->devpath.path.flags & PF_TIMER) ?
606 (1 << (pathentry->devpath.path.flags & PF_TIMER)) : 0);
781 /* Current flags are stored in primary boot path entry */
786 flags = pathentry->devpath.path.flags;
806 /* Change the path entry flags first */
807 pathentry->devpath.path.flags = flags;
980 * pdcs_register_pathentries - Prepares path entries kobjects for sysfs usage.
982 * It creates kobjects corresponding to each path entry with nice sysfs