Home
last modified time | relevance | path

Searched refs:iter_info (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/notify/
Dfsnotify.c269 u32 cookie, struct fsnotify_iter_info *iter_info) in fsnotify_handle_event() argument
271 struct fsnotify_mark *inode_mark = fsnotify_iter_inode_mark(iter_info); in fsnotify_handle_event()
272 struct fsnotify_mark *parent_mark = fsnotify_iter_parent_mark(iter_info); in fsnotify_handle_event()
275 if (WARN_ON_ONCE(fsnotify_iter_sb_mark(iter_info)) || in fsnotify_handle_event()
276 WARN_ON_ONCE(fsnotify_iter_vfsmount_mark(iter_info))) in fsnotify_handle_event()
316 u32 cookie, struct fsnotify_iter_info *iter_info) in send_to_group() argument
325 if (WARN_ON(!iter_info->report_mask)) in send_to_group()
331 if (!fsnotify_iter_should_report_type(iter_info, type)) in send_to_group()
333 mark = iter_info->marks[type]; in send_to_group()
341 if (!fsnotify_iter_should_report_type(iter_info, type)) in send_to_group()
[all …]
Dmark.c327 bool fsnotify_prepare_user_wait(struct fsnotify_iter_info *iter_info) in fsnotify_prepare_user_wait() argument
334 if (!fsnotify_get_mark_safe(iter_info->marks[type])) { in fsnotify_prepare_user_wait()
345 srcu_read_unlock(&fsnotify_mark_srcu, iter_info->srcu_idx); in fsnotify_prepare_user_wait()
351 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_prepare_user_wait()
355 void fsnotify_finish_user_wait(struct fsnotify_iter_info *iter_info) in fsnotify_finish_user_wait() argument
360 iter_info->srcu_idx = srcu_read_lock(&fsnotify_mark_srcu); in fsnotify_finish_user_wait()
362 fsnotify_put_mark_wake(iter_info->marks[type]); in fsnotify_finish_user_wait()
/kernel/linux/linux-5.10/include/linux/
Dfsnotify_backend.h152 struct fsnotify_iter_info *iter_info);
306 struct fsnotify_iter_info *iter_info, int type) in fsnotify_iter_should_report_type() argument
308 return (iter_info->report_mask & (1U << type)); in fsnotify_iter_should_report_type()
312 struct fsnotify_iter_info *iter_info, int type) in fsnotify_iter_set_report_type() argument
314 iter_info->report_mask |= (1U << type); in fsnotify_iter_set_report_type()
318 struct fsnotify_iter_info *iter_info, int type, in fsnotify_iter_set_report_type_mark() argument
321 iter_info->marks[type] = mark; in fsnotify_iter_set_report_type_mark()
322 iter_info->report_mask |= (1U << type); in fsnotify_iter_set_report_type_mark()
327 struct fsnotify_iter_info *iter_info) \
329 return (iter_info->report_mask & FSNOTIFY_OBJ_TYPE_##NAME##_FL) ? \
[all …]
/kernel/linux/linux-5.10/fs/notify/fanotify/
Dfanotify.c174 struct fsnotify_iter_info *iter_info) in fanotify_get_response() argument
233 struct fsnotify_iter_info *iter_info, in fanotify_group_event_mask() argument
246 __func__, iter_info->report_mask, event_mask, data, data_type); in fanotify_group_event_mask()
262 if (!fsnotify_iter_should_report_type(iter_info, type)) in fanotify_group_event_mask()
264 mark = iter_info->marks[type]; in fanotify_group_event_mask()
626 static __kernel_fsid_t fanotify_get_fsid(struct fsnotify_iter_info *iter_info) in fanotify_get_fsid() argument
634 if (!fsnotify_iter_should_report_type(iter_info, type)) in fanotify_get_fsid()
637 conn = READ_ONCE(iter_info->marks[type]->connector); in fanotify_get_fsid()
658 struct fsnotify_iter_info *iter_info) in fanotify_handle_event() argument
687 mask = fanotify_group_event_mask(group, iter_info, mask, data, in fanotify_handle_event()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-ioctl.c609 struct vers_iter iter_info; in __list_versions() local
637 iter_info.param_size = param_size; in __list_versions()
638 iter_info.old_vers = NULL; in __list_versions()
639 iter_info.vers = vers; in __list_versions()
640 iter_info.flags = 0; in __list_versions()
641 iter_info.end = (char *)vers + needed; in __list_versions()
647 dm_target_iterate(list_version_get_info, &iter_info); in __list_versions()
649 list_version_get_info(tt, &iter_info); in __list_versions()
650 param->flags |= iter_info.flags; in __list_versions()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf.h175 union bpf_iter_link_info *iter_info; member
Dbpf.c608 attr.link_create.iter_info = in bpf_link_create()
609 ptr_to_u64(OPTS_GET(opts, iter_info, (void *)0)); in bpf_link_create()
Dlibbpf.c9809 link_create_opts.iter_info = OPTS_GET(opts, link_info, (void *)0); in bpf_program__attach_iter()
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_iter.c478 ulinfo = u64_to_user_ptr(attr->link_create.iter_info); in bpf_iter_link_attach()
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h669 __aligned_u64 iter_info; /* extra bpf_iter_link_info */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h428 __aligned_u64 iter_info; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h669 __aligned_u64 iter_info; /* extra bpf_iter_link_info */ member