Lines Matching defs:pathentry
543 struct pdcspath_entry *pathentry;
549 pathentry = &pdcspath_entry_primary;
551 read_lock(&pathentry->rw_lock);
552 out += sprintf(out, "%s\n", (pathentry->devpath.path.flags & knob) ?
554 read_unlock(&pathentry->rw_lock);
595 struct pdcspath_entry *pathentry;
601 pathentry = &pdcspath_entry_primary;
604 read_lock(&pathentry->rw_lock);
605 out += sprintf(out, "%u\n", (pathentry->devpath.path.flags & PF_TIMER) ?
606 (1 << (pathentry->devpath.path.flags & PF_TIMER)) : 0);
607 read_unlock(&pathentry->rw_lock);
766 struct pdcspath_entry *pathentry;
782 pathentry = &pdcspath_entry_primary;
785 read_lock(&pathentry->rw_lock);
786 flags = pathentry->devpath.path.flags;
787 read_unlock(&pathentry->rw_lock);
804 write_lock(&pathentry->rw_lock);
807 pathentry->devpath.path.flags = flags;
810 pdcspath_store(pathentry);
811 write_unlock(&pathentry->rw_lock);