/fs/notify/ |
D | mark.c | 94 void fsnotify_get_mark(struct fsnotify_mark *mark) in fsnotify_get_mark() argument 96 WARN_ON_ONCE(!refcount_read(&mark->refcnt)); in fsnotify_get_mark() 97 refcount_inc(&mark->refcnt); in fsnotify_get_mark() 122 struct fsnotify_mark *mark; in __fsnotify_recalc_mask() local 128 hlist_for_each_entry(mark, &conn->list, obj_list) { in __fsnotify_recalc_mask() 129 if (mark->flags & FSNOTIFY_MARK_FLAG_ATTACHED) in __fsnotify_recalc_mask() 130 new_mask |= mark->mask; in __fsnotify_recalc_mask() 230 static void fsnotify_final_mark_destroy(struct fsnotify_mark *mark) in fsnotify_final_mark_destroy() argument 232 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy() 236 group->ops->free_mark(mark); in fsnotify_final_mark_destroy() [all …]
|
D | fdinfo.c | 26 struct fsnotify_mark *mark)) in show_fdinfo() argument 29 struct fsnotify_mark *mark; in show_fdinfo() local 32 list_for_each_entry(mark, &group->marks_list, g_list) { in show_fdinfo() 33 show(m, mark); in show_fdinfo() 75 static void inotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in inotify_fdinfo() argument 80 if (mark->connector->type != FSNOTIFY_OBJ_TYPE_INODE) in inotify_fdinfo() 83 inode_mark = container_of(mark, struct inotify_inode_mark, fsn_mark); in inotify_fdinfo() 84 inode = igrab(fsnotify_conn_inode(mark->connector)); in inotify_fdinfo() 88 inotify_mark_user_mask(mark)); in inotify_fdinfo() 104 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo() argument [all …]
|
D | fsnotify.c | 322 struct fsnotify_mark *mark; in send_to_group() local 333 mark = iter_info->marks[type]; in send_to_group() 334 if (mark && in send_to_group() 335 !(mark->flags & FSNOTIFY_MARK_FLAG_IGNORED_SURV_MODIFY)) in send_to_group() 336 mark->ignored_mask = 0; in send_to_group() 343 mark = iter_info->marks[type]; in send_to_group() 345 if (mark) { in send_to_group() 346 group = mark->group; in send_to_group() 347 marks_mask |= mark->mask; in send_to_group() 348 marks_ignored_mask |= mark->ignored_mask; in send_to_group() [all …]
|
D | Makefile | 2 obj-$(CONFIG_FSNOTIFY) += fsnotify.o notification.o group.o mark.o \
|
/fs/cachefiles/ |
D | key.c | 38 int loop, len, max, seg, mark, print; in cachefiles_cook_key() local 86 mark = len - 1; in cachefiles_cook_key() 101 mark = len; in cachefiles_cook_key() 120 mark = len; in cachefiles_cook_key() 149 key[mark] = type; in cachefiles_cook_key()
|
/fs/dlm/ |
D | config.c | 226 CLUSTER_ATTR(mark, NULL); 290 unsigned int mark; member 536 cm->mark = 0; in make_comm() 734 return sprintf(buf, "%u\n", config_item_to_comm(item)->mark); in comm_mark_show() 741 unsigned int mark; in comm_mark_store() local 744 rc = kstrtouint(buf, 0, &mark); in comm_mark_store() 748 if (mark == 0) in comm_mark_store() 749 mark = dlm_config.ci_mark; in comm_mark_store() 752 rc = dlm_lowcomms_nodes_set_mark(comm->nodeid, mark); in comm_mark_store() 756 comm->mark = mark; in comm_mark_store() [all …]
|
D | lowcomms.c | 140 int mark; member 344 unsigned int *mark) in nodeid_to_addr() argument 372 *mark = na->mark; in nodeid_to_addr() 394 unsigned int *mark) in addr_to_nodeid() argument 408 *mark = na->mark; in addr_to_nodeid() 457 new_node->mark = dlm_config.ci_mark; in dlm_lowcomms_addr() 575 int dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark) in dlm_lowcomms_nodes_set_mark() argument 586 na->mark = mark; in dlm_lowcomms_nodes_set_mark() 996 unsigned int mark; in accept_from_sock() local 1015 if (addr_to_nodeid(&peeraddr, &nodeid, &mark)) { in accept_from_sock() [all …]
|
D | lowcomms.h | 48 int dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark);
|
/fs/f2fs/ |
D | node.h | 415 static inline void set_mark(struct page *page, int mark, int type) in set_mark() argument 419 if (mark) in set_mark() 429 #define set_dentry_mark(page, mark) set_mark(page, mark, DENT_BIT_SHIFT) argument 430 #define set_fsync_mark(page, mark) set_mark(page, mark, FSYNC_BIT_SHIFT) argument
|
/fs/unicode/ |
D | mkutf8data.c | 364 int mark; member 504 node->mark = 0; in alloc_node() 841 while (n && !n->mark) { in mark_nodes() 843 n->mark = 1; in mark_nodes() 859 while (n && !n->mark) { in mark_nodes() 861 n->mark = 1; in mark_nodes() 889 while (n && !n->mark) { in mark_nodes() 891 n->mark = 1; in mark_nodes() 898 if (!node->mark && node->parent->mark) { in mark_nodes() 900 node->mark = 1; in mark_nodes() [all …]
|
/fs/nfsd/ |
D | filecache.c | 92 nfsd_file_mark_free(struct fsnotify_mark *mark) in nfsd_file_mark_free() argument 94 struct nfsd_file_mark *nfm = container_of(mark, struct nfsd_file_mark, in nfsd_file_mark_free() 121 struct fsnotify_mark *mark; in nfsd_file_mark_find_or_create() local 127 mark = fsnotify_find_mark(&inode->i_fsnotify_marks, in nfsd_file_mark_find_or_create() 129 if (mark) { in nfsd_file_mark_find_or_create() 130 nfm = nfsd_file_mark_get(container_of(mark, in nfsd_file_mark_find_or_create() 135 fsnotify_put_mark(mark); in nfsd_file_mark_find_or_create() 139 fsnotify_destroy_mark(mark, nfsd_file_fsnotify_group); in nfsd_file_mark_find_or_create() 140 fsnotify_put_mark(mark); in nfsd_file_mark_find_or_create() 594 nfsd_file_fsnotify_handle_event(struct fsnotify_mark *mark, u32 mask, in nfsd_file_fsnotify_handle_event() argument
|
/fs/notify/fanotify/ |
D | fanotify.c | 266 struct fsnotify_mark *mark; in fanotify_group_event_mask() local 288 mark = iter_info->marks[type]; in fanotify_group_event_mask() 291 marks_ignored_mask |= mark->ignored_mask; in fanotify_group_event_mask() 297 if (event_mask & FS_ISDIR && !(mark->mask & FS_ISDIR)) in fanotify_group_event_mask() 305 !(mark->mask & FS_EVENT_ON_CHILD)) in fanotify_group_event_mask() 308 marks_mask |= mark->mask; in fanotify_group_event_mask() 863 static void fanotify_freeing_mark(struct fsnotify_mark *mark, in fanotify_freeing_mark() argument
|
D | fanotify_user.c | 1019 struct fsnotify_mark *mark; in fanotify_add_new_mark() local 1031 mark = kmem_cache_alloc(fanotify_mark_cache, GFP_KERNEL); in fanotify_add_new_mark() 1032 if (!mark) { in fanotify_add_new_mark() 1037 fsnotify_init_mark(mark, group); in fanotify_add_new_mark() 1038 ret = fsnotify_add_mark_locked(mark, connp, type, 0, fsid); in fanotify_add_new_mark() 1040 fsnotify_put_mark(mark); in fanotify_add_new_mark() 1044 return mark; in fanotify_add_new_mark()
|
/fs/btrfs/ |
D | transaction.h | 230 struct extent_io_tree *dirty_pages, int mark); 231 int btrfs_wait_tree_log_extents(struct btrfs_root *root, int mark);
|
D | transaction.c | 1064 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() argument 1075 mark, &cached_state)) { in btrfs_write_marked_extents() 1080 mark, &cached_state); in btrfs_write_marked_extents() 1172 int btrfs_wait_tree_log_extents(struct btrfs_root *log_root, int mark) in btrfs_wait_tree_log_extents() argument 1182 if ((mark & EXTENT_DIRTY) && in btrfs_wait_tree_log_extents() 1186 if ((mark & EXTENT_NEW) && in btrfs_wait_tree_log_extents()
|
D | tree-log.c | 3068 int mark; in btrfs_sync_log() local 3122 mark = EXTENT_DIRTY; in btrfs_sync_log() 3124 mark = EXTENT_NEW; in btrfs_sync_log() 3130 ret = btrfs_write_marked_extents(fs_info, &log->dirty_log_pages, mark); in btrfs_sync_log() 3214 btrfs_wait_tree_log_extents(log, mark); in btrfs_sync_log() 3231 ret = btrfs_wait_tree_log_extents(log, mark); in btrfs_sync_log() 3253 btrfs_wait_tree_log_extents(log, mark); in btrfs_sync_log() 3270 btrfs_wait_tree_log_extents(log, mark); in btrfs_sync_log() 3278 ret = btrfs_wait_tree_log_extents(log, mark); in btrfs_sync_log()
|
D | disk-io.c | 61 int mark); 4847 int mark) in btrfs_destroy_marked_extents() argument 4856 mark, NULL); in btrfs_destroy_marked_extents() 4860 clear_extent_bits(dirty_pages, start, end, mark); in btrfs_destroy_marked_extents()
|
/fs/nfs/ |
D | delegation.c | 107 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) in nfs4_do_check_delegation() argument 116 if (mark) in nfs4_do_check_delegation()
|