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