/kernel/linux/linux-5.10/fs/notify/ |
H A D | mark.c | 476 static int fsnotify_attach_connector_to_object(fsnotify_connp_t *connp, in fsnotify_attach_connector_to_object() argument 489 conn->obj = connp; in fsnotify_attach_connector_to_object() 501 * cmpxchg() provides the barrier so that readers of *connp can see in fsnotify_attach_connector_to_object() 504 if (cmpxchg(connp, NULL, conn)) { in fsnotify_attach_connector_to_object() 521 fsnotify_connp_t *connp) in fsnotify_grab_connector() 527 conn = srcu_dereference(*connp, &fsnotify_mark_srcu); in fsnotify_grab_connector() 548 fsnotify_connp_t *connp, unsigned int type, in fsnotify_add_mark_list() 565 conn = fsnotify_grab_connector(connp); in fsnotify_add_mark_list() 568 err = fsnotify_attach_connector_to_object(connp, type, fsid); in fsnotify_add_mark_list() 641 fsnotify_connp_t *connp, unsigne in fsnotify_add_mark_locked() 520 fsnotify_grab_connector( fsnotify_connp_t *connp) fsnotify_grab_connector() argument 547 fsnotify_add_mark_list(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int type, int allow_dups, __kernel_fsid_t *fsid) fsnotify_add_mark_list() argument 640 fsnotify_add_mark_locked(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int type, int allow_dups, __kernel_fsid_t *fsid) fsnotify_add_mark_locked() argument 683 fsnotify_add_mark(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int type, int allow_dups, __kernel_fsid_t *fsid) fsnotify_add_mark() argument 700 fsnotify_find_mark(fsnotify_connp_t *connp, struct fsnotify_group *group) fsnotify_find_mark() argument 769 fsnotify_destroy_marks(fsnotify_connp_t *connp) fsnotify_destroy_marks() argument [all...] |
H A D | fsnotify.h | 41 extern void fsnotify_destroy_marks(fsnotify_connp_t *connp);
|
H A D | fsnotify.c | 368 static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector **connp) in fsnotify_first_mark() argument 373 conn = srcu_dereference(*connp, &fsnotify_mark_srcu); in fsnotify_first_mark()
|
/kernel/linux/linux-6.6/fs/notify/ |
H A D | mark.c | 539 static int fsnotify_attach_connector_to_object(fsnotify_connp_t *connp, in fsnotify_attach_connector_to_object() argument 552 conn->obj = connp; in fsnotify_attach_connector_to_object() 564 * cmpxchg() provides the barrier so that readers of *connp can see in fsnotify_attach_connector_to_object() 567 if (cmpxchg(connp, NULL, conn)) { in fsnotify_attach_connector_to_object() 583 fsnotify_connp_t *connp) in fsnotify_grab_connector() 589 conn = srcu_dereference(*connp, &fsnotify_mark_srcu); in fsnotify_grab_connector() 610 fsnotify_connp_t *connp, in fsnotify_add_mark_list() 628 conn = fsnotify_grab_connector(connp); in fsnotify_add_mark_list() 631 err = fsnotify_attach_connector_to_object(connp, obj_type, in fsnotify_add_mark_list() 705 fsnotify_connp_t *connp, unsigne in fsnotify_add_mark_locked() 582 fsnotify_grab_connector( fsnotify_connp_t *connp) fsnotify_grab_connector() argument 609 fsnotify_add_mark_list(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int obj_type, int add_flags, __kernel_fsid_t *fsid) fsnotify_add_mark_list() argument 704 fsnotify_add_mark_locked(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int obj_type, int add_flags, __kernel_fsid_t *fsid) fsnotify_add_mark_locked() argument 744 fsnotify_add_mark(struct fsnotify_mark *mark, fsnotify_connp_t *connp, unsigned int obj_type, int add_flags, __kernel_fsid_t *fsid) fsnotify_add_mark() argument 762 fsnotify_find_mark(fsnotify_connp_t *connp, struct fsnotify_group *group) fsnotify_find_mark() argument 831 fsnotify_destroy_marks(fsnotify_connp_t *connp) fsnotify_destroy_marks() argument [all...] |
H A D | fsnotify.h | 56 extern void fsnotify_destroy_marks(fsnotify_connp_t *connp);
|
H A D | fsnotify.c | 368 static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector **connp) in fsnotify_first_mark() argument 373 conn = srcu_dereference(*connp, &fsnotify_mark_srcu); in fsnotify_first_mark()
|
/kernel/linux/linux-5.10/fs/notify/fanotify/ |
H A D | fanotify_user.c | 747 fsnotify_connp_t *connp, __u32 mask, in fanotify_remove_mark() 755 fsn_mark = fsnotify_find_mark(connp, group); in fanotify_remove_mark() 821 fsnotify_connp_t *connp, in fanotify_add_new_mark() 836 ret = fsnotify_add_mark_locked(mark, connp, type, 0, fsid); in fanotify_add_new_mark() 847 fsnotify_connp_t *connp, unsigned int type, in fanotify_add_mark() 855 fsn_mark = fsnotify_find_mark(connp, group); in fanotify_add_mark() 857 fsn_mark = fanotify_add_new_mark(group, connp, type, fsid); in fanotify_add_mark() 746 fanotify_remove_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, __u32 mask, unsigned int flags, __u32 umask) fanotify_remove_mark() argument 820 fanotify_add_new_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, unsigned int type, __kernel_fsid_t *fsid) fanotify_add_new_mark() argument 846 fanotify_add_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, unsigned int type, __u32 mask, unsigned int flags, __kernel_fsid_t *fsid) fanotify_add_mark() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | fsnotify_backend.h | 516 extern struct fsnotify_mark *fsnotify_find_mark(fsnotify_connp_t *connp, 523 fsnotify_connp_t *connp, unsigned int type, 526 fsnotify_connp_t *connp,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | fsnotify_backend.h | 761 extern struct fsnotify_mark *fsnotify_find_mark(fsnotify_connp_t *connp, 765 fsnotify_connp_t *connp, unsigned int obj_type, 768 fsnotify_connp_t *connp,
|
/kernel/linux/linux-6.6/fs/notify/fanotify/ |
H A D | fanotify_user.c | 1080 fsnotify_connp_t *connp, __u32 mask, in fanotify_remove_mark() 1088 fsn_mark = fsnotify_find_mark(connp, group); in fanotify_remove_mark() 1196 fsnotify_connp_t *connp, in fanotify_add_new_mark() 1224 ret = fsnotify_add_mark_locked(mark, connp, obj_type, 0, fsid); in fanotify_add_new_mark() 1280 fsnotify_connp_t *connp, unsigned int obj_type, in fanotify_add_mark() 1289 fsn_mark = fsnotify_find_mark(connp, group); in fanotify_add_mark() 1291 fsn_mark = fanotify_add_new_mark(group, connp, obj_type, in fanotify_add_mark() 1079 fanotify_remove_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, __u32 mask, unsigned int flags, __u32 umask) fanotify_remove_mark() argument 1195 fanotify_add_new_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, unsigned int obj_type, unsigned int fan_flags, __kernel_fsid_t *fsid) fanotify_add_new_mark() argument 1279 fanotify_add_mark(struct fsnotify_group *group, fsnotify_connp_t *connp, unsigned int obj_type, __u32 mask, unsigned int fan_flags, __kernel_fsid_t *fsid) fanotify_add_mark() argument
|