Lines Matching refs:pathentry
553 struct pdcspath_entry *pathentry; in pdcs_auto_read() local
559 pathentry = &pdcspath_entry_primary; in pdcs_auto_read()
561 read_lock(&pathentry->rw_lock); in pdcs_auto_read()
562 out += sprintf(out, "%s\n", (pathentry->devpath.flags & knob) ? in pdcs_auto_read()
564 read_unlock(&pathentry->rw_lock); in pdcs_auto_read()
599 struct pdcspath_entry *pathentry; in pdcs_timer_read() local
605 pathentry = &pdcspath_entry_primary; in pdcs_timer_read()
608 read_lock(&pathentry->rw_lock); in pdcs_timer_read()
609 out += sprintf(out, "%u\n", (pathentry->devpath.flags & PF_TIMER) ? in pdcs_timer_read()
610 (1 << (pathentry->devpath.flags & PF_TIMER)) : 0); in pdcs_timer_read()
611 read_unlock(&pathentry->rw_lock); in pdcs_timer_read()
758 struct pdcspath_entry *pathentry; in pdcs_auto_write() local
775 pathentry = &pdcspath_entry_primary; in pdcs_auto_write()
778 read_lock(&pathentry->rw_lock); in pdcs_auto_write()
779 flags = pathentry->devpath.flags; in pdcs_auto_write()
780 read_unlock(&pathentry->rw_lock); in pdcs_auto_write()
797 write_lock(&pathentry->rw_lock); in pdcs_auto_write()
800 pathentry->devpath.flags = flags; in pdcs_auto_write()
803 pdcspath_store(pathentry); in pdcs_auto_write()
804 write_unlock(&pathentry->rw_lock); in pdcs_auto_write()