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