Lines Matching defs:pathentry
540 struct pdcspath_entry *pathentry;
546 pathentry = &pdcspath_entry_primary;
548 read_lock(&pathentry->rw_lock);
549 out += sprintf(out, "%s\n", (pathentry->devpath.flags & knob) ?
551 read_unlock(&pathentry->rw_lock);
586 struct pdcspath_entry *pathentry;
592 pathentry = &pdcspath_entry_primary;
595 read_lock(&pathentry->rw_lock);
596 out += sprintf(out, "%u\n", (pathentry->devpath.flags & PF_TIMER) ?
597 (1 << (pathentry->devpath.flags & PF_TIMER)) : 0);
598 read_unlock(&pathentry->rw_lock);
745 struct pdcspath_entry *pathentry;
762 pathentry = &pdcspath_entry_primary;
765 read_lock(&pathentry->rw_lock);
766 flags = pathentry->devpath.flags;
767 read_unlock(&pathentry->rw_lock);
784 write_lock(&pathentry->rw_lock);
787 pathentry->devpath.flags = flags;
790 pdcspath_store(pathentry);
791 write_unlock(&pathentry->rw_lock);