Lines Matching refs:attr
67 return kn->attr.ops; in kernfs_ops()
165 of->event = atomic_read(&of->kn->attr.open->event); in kernfs_seq_show()
167 return of->kn->attr.ops->seq_show(sf, v); in kernfs_seq_show()
210 of->event = atomic_read(&of->kn->attr.open->event); in kernfs_file_direct_read()
551 if (!kn->attr.open && new_on) { in kernfs_get_open_node()
552 kn->attr.open = new_on; in kernfs_get_open_node()
556 on = kn->attr.open; in kernfs_get_open_node()
596 struct kernfs_open_node *on = kn->attr.open; in kernfs_put_open_node()
606 kn->attr.open = NULL; in kernfs_put_open_node()
763 kn->attr.ops->release(of); in kernfs_release_file()
796 on = kn->attr.open; in kernfs_drain_open_files()
837 struct kernfs_open_node *on = kn->attr.open; in kernfs_generic_poll()
856 if (kn->attr.ops->poll) in kernfs_fop_poll()
857 ret = kn->attr.ops->poll(of, wait); in kernfs_fop_poll()
877 kernfs_notify_list = kn->attr.notify_next; in kernfs_notify_workfn()
878 kn->attr.notify_next = NULL; in kernfs_notify_workfn()
942 on = kn->attr.open; in kernfs_notify()
951 if (!kn->attr.notify_next) { in kernfs_notify()
953 kn->attr.notify_next = kernfs_notify_list; in kernfs_notify()
1006 kn->attr.ops = ops; in __kernfs_create_file()
1007 kn->attr.size = size; in __kernfs_create_file()