Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/fs/nfs_common/
A Dnfslocalio.c43 INIT_LIST_HEAD(&nfs_uuid->list); in nfs_uuid_init()
60 if (!list_empty(&nfs_uuid->list)) { in nfs_uuid_begin()
83 list_del_init(&nfs_uuid->list); in nfs_uuid_end()
123 list_move(&nfs_uuid->list, list); in nfs_uuid_is_local()
172 list)) != NULL) { in nfs_uuid_put()
184 list) != nfl, in nfs_uuid_put()
190 list_del_init(&nfl->list); in nfs_uuid_put()
208 list_del_init(&nfs_uuid->list); in nfs_uuid_put()
253 } else if (list_empty(&nfl->list)) { in nfs_uuid_add_file()
323 if (list_empty(&nfl->list)) { in nfs_close_local_fh()
[all …]
/fs/bcachefs/
A Dasync_objs.c45 struct async_obj_list *list = inode->i_private; in bch2_async_obj_list_open() local
55 i->c = container_of(list, struct bch_fs, async_objs[list->idx]); in bch2_async_obj_list_open()
56 i->list = list; in bch2_async_obj_list_open()
65 struct async_obj_list *list = i->list; in bch2_async_obj_list_read() local
74 fast_list_for_each_from(&list->list, iter, obj, i->iter) { in bch2_async_obj_list_read()
82 list->obj_to_text(&i->buf, obj); in bch2_async_obj_list_read()
116 fast_list_exit(&c->async_objs[i].list); in bch2_fs_async_obj_exit()
122 if (fast_list_init(&c->async_objs[i].list)) in bch2_fs_async_obj_init()
A Dbtree_cache.c52 if (!list->idx) in btree_cache_can_free()
220 list_move(&b->list, &bc->live[1].list); in bch2_node_pin()
236 list_for_each_entry_safe(b, n, &bc->live[1].list, list) { in bch2_btree_cache_unpin()
238 list_move(&b->list, &bc->live[0].list); in bch2_btree_cache_unpin()
287 list_add_tail(&b->list, &bc->live[p].list); in __bch2_btree_node_hash_insert()
514 list_for_each_entry_safe(b, t, &list->list, list) { in bch2_btree_cache_scan()
539 list_move(&list->list, &b->list); in bch2_btree_cache_scan()
553 if (&t->list != &list->list) in bch2_btree_cache_scan()
554 list_move_tail(&list->list, &t->list); in bch2_btree_cache_scan()
589 list_move(&c->verify_data->list, &bc->live[0].list); in bch2_fs_btree_cache_exit()
[all …]
A Dmovinggc.c49 if (!list->first) in move_bucket_in_flight_add()
50 list->first = b; in move_bucket_in_flight_add()
52 list->last->next = b; in move_bucket_in_flight_add()
54 list->last = b; in move_bucket_in_flight_add()
55 list->nr++; in move_bucket_in_flight_add()
56 list->sectors += b->sectors; in move_bucket_in_flight_add()
113 while ((i = list->first)) { in move_buckets_wait()
120 list->first = i->next; in move_buckets_wait()
121 if (!list->first) in move_buckets_wait()
122 list->last = NULL; in move_buckets_wait()
[all …]
/fs/dlm/
A Ddir.c233 struct list_head list; member
245 list_del(&dd->list); in drop_dir_ctx()
287 list_add(&dd->list, &ls->ls_dir_dump_list); in init_dir_dump()
300 struct list_head *list; in dlm_copy_master_names() local
323 list = r->res_masters_list.next; in dlm_copy_master_names()
341 list = ls->ls_masters_list.next; in dlm_copy_master_names()
342 dd->last = list; in dlm_copy_master_names()
345 for (offset = 0; list != &ls->ls_masters_list; list = list->next) { in dlm_copy_master_names()
374 dd->last = list; in dlm_copy_master_names()
382 if ((list == &ls->ls_masters_list) && in dlm_copy_master_names()
[all …]
A Dmember.c125 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_copy_in()
174 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
182 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
222 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
239 list_for_each_entry(memb, &ls->ls_nodes, list) { in dlm_slots_assign()
290 struct list_head *newlist = &new->list; in add_ordered_member()
353 list_for_each_entry(memb, head, list) { in find_memb()
383 list_del(&memb->list); in clear_memb_list()
417 list_for_each_entry(memb, &ls->ls_nodes, list) { in make_member_array()
434 list_for_each_entry(memb, &ls->ls_nodes, list) { in make_member_array()
[all …]
A Drequestqueue.c20 struct list_head list; member
51 list_add_tail(&e->list, &ls->ls_requestqueue); in dlm_add_requestqueue()
78 e = list_first_entry(&ls->ls_requestqueue, struct rq_entry, list); in dlm_process_requestqueue()
91 list_del(&e->list); in dlm_process_requestqueue()
139 list_for_each_entry_safe(e, safe, &ls->ls_requestqueue, list) { in dlm_purge_requestqueue()
143 list_del(&e->list); in dlm_purge_requestqueue()
A Dplock.c33 struct list_head list; member
51 list_for_each_entry(iter, &recv_list, list) { in plock_lookup_waiter()
95 list_add_tail(&op->list, &send_list); in send_op()
195 list_del(&op->list); in dlm_posix_lock()
220 WARN_ON(!list_empty(&op->list)); in dlm_posix_lock()
247 WARN_ON(!list_empty(&op->list)); in dlm_plock_callback()
337 WARN_ON(!list_empty(&op->list)); in dlm_posix_unlock()
401 list_del(&op->list); in dlm_posix_cancel()
451 WARN_ON(!list_empty(&op->list)); in dlm_posix_get()
494 list_del(&op->list); in dev_read()
[all …]
/fs/notify/
A Dnotification.c62 if (!list_empty(&event->list)) { in fsnotify_destroy_event()
64 WARN_ON(!list_empty(&event->list)); in fsnotify_destroy_event()
89 struct list_head *list = &group->notification_list; in fsnotify_insert_event() local
104 if (!list_empty(&group->overflow_event->list)) { in fsnotify_insert_event()
112 if (!list_empty(list) && merge) { in fsnotify_insert_event()
122 list_add_tail(&event->list, list); in fsnotify_insert_event()
140 list_del_init(&event->list); in fsnotify_remove_queued_event()
156 struct fsnotify_event, list); in fsnotify_peek_first_event()
/fs/proc/
A Dkcore.c103 list_add_tail(&new->list, &kclist_head); in kclist_add()
152 list_add(&ent->list, head); in kcore_ram_list()
173 list_for_each_entry(tmp, head, list) { in get_sparsemem_vmemmap_info()
187 list_add_tail(&vmm->list, head); in get_sparsemem_vmemmap_info()
237 list_add_tail(&ent->list, head); in kclist_add_private()
240 list_del(&ent->list); in kclist_add_private()
274 LIST_HEAD(list); in kcore_update_ram()
283 ret = kcore_ram_list(&list); in kcore_update_ram()
287 list_splice_tail(&list, &garbage); in kcore_update_ram()
293 list_move(&pos->list, &garbage); in kcore_update_ram()
[all …]
/fs/ubifs/
A Dgc.c250 list_del(&snod->list); in sort_nodes()
267 list_del(&snod->list); in sort_nodes()
276 list_move_tail(&snod->list, nondata); in sort_nodes()
316 list_del(&snod->list); in move_node()
570 list_add(&idx_gc->list, &c->idx_gc); in ubifs_garbage_collect_leb()
907 list_for_each_entry(idx_gc, &c->idx_gc, list) in ubifs_gc_start_commit()
938 list_add(&idx_gc->list, &c->idx_gc); in ubifs_gc_start_commit()
969 list_del(&idx_gc->list); in ubifs_gc_end_commit()
991 list); in ubifs_destroy_idx_gc()
993 list_del(&idx_gc->list); in ubifs_destroy_idx_gc()
[all …]
A Dcommit.c509 struct list_head list; member
572 struct list_head list; in dbg_check_old_index() local
579 INIT_LIST_HEAD(&list); in dbg_check_old_index()
605 list_add_tail(&i->list, &list); in dbg_check_old_index()
669 list_del(&i->list); in dbg_check_old_index()
672 if (list_empty(&list)) in dbg_check_old_index()
676 list); in dbg_check_old_index()
716 list_del(&i->list); in dbg_check_old_index()
719 i = list_entry(list.prev, struct idx_node, list); in dbg_check_old_index()
725 i = list_entry(list.next, struct idx_node, list); in dbg_check_old_index()
[all …]
A Dreplay.c52 struct list_head list; member
72 struct list_head list; member
167 list_for_each_entry(b, &c->replay_buds, list) { in set_buds_lprops()
312 ra = list_entry(a, struct replay_entry, list); in replay_entries_cmp()
358 list_del(&r->list); in destroy_replay_list()
412 list_add_tail(&r->list, &c->replay_list); in insert_node()
470 list_add_tail(&r->list, &c->replay_list); in insert_dent()
523 if (list_is_last(&bud->list, &jh->buds_list)) in is_last_bud()
553 next = list_entry(bud->list.next, struct ubifs_bud, list); in is_last_bud()
875 list_del(&b->list); in destroy_bud_list()
[all …]
/fs/ext4/
A Dpage-io.c63 INIT_LIST_HEAD(&io_end_vec->list); in ext4_alloc_io_end_vec()
64 list_add_tail(&io_end_vec->list, &io_end->list_vec); in ext4_alloc_io_end_vec()
75 list_del(&io_end_vec->list); in ext4_free_io_end_vec()
153 BUG_ON(!list_empty(&io_end->list)); in ext4_release_io_end()
184 io_end, inode->i_ino, io_end->list.next, io_end->list.prev); in ext4_end_io_end()
224 list_for_each_entry(io_end, head, list) { in dump_completed_IO()
225 cur = &io_end->list; in dump_completed_IO()
227 io_end0 = container_of(before, ext4_io_end_t, list); in dump_completed_IO()
229 io_end1 = container_of(after, ext4_io_end_t, list); in dump_completed_IO()
288 list_del_init(&io_end->list); in ext4_do_flush_completed_IO()
[all …]
/fs/xfs/scrub/
A Drefcount.c84 struct list_head list; member
150 list_add_tail(&frag->list, &refchk->fragments); in xchk_refcountbt_rmap_check()
193 list_for_each_entry(frag, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
210 list_move_tail(&frag->list, &worklist); in xchk_refcountbt_process_rmap_fragments()
225 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments()
232 list_del(&frag->list); in xchk_refcountbt_process_rmap_fragments()
242 list_move_tail(&frag->list, &worklist); in xchk_refcountbt_process_rmap_fragments()
273 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments()
274 list_del(&frag->list); in xchk_refcountbt_process_rmap_fragments()
278 list_del(&frag->list); in xchk_refcountbt_process_rmap_fragments()
[all …]
A Drtrefcount.c98 struct list_head list; member
164 list_add_tail(&frag->list, &refchk->fragments); in xchk_rtrefcountbt_rmap_check()
207 list_for_each_entry(frag, &refchk->fragments, list) { in xchk_rtrefcountbt_process_rmap_fragments()
224 list_move_tail(&frag->list, &worklist); in xchk_rtrefcountbt_process_rmap_fragments()
239 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_rtrefcountbt_process_rmap_fragments()
246 list_del(&frag->list); in xchk_rtrefcountbt_process_rmap_fragments()
256 list_move_tail(&frag->list, &worklist); in xchk_rtrefcountbt_process_rmap_fragments()
287 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_rtrefcountbt_process_rmap_fragments()
288 list_del(&frag->list); in xchk_rtrefcountbt_process_rmap_fragments()
292 list_del(&frag->list); in xchk_rtrefcountbt_process_rmap_fragments()
[all …]
/fs/overlayfs/
A Dreaddir.c45 struct list_head *list; member
229 INIT_LIST_HEAD(list); in ovl_cache_free()
357 .list = list, in ovl_dir_read_merged()
577 .list = list, in ovl_dir_read_impure()
581 INIT_LIST_HEAD(list); in ovl_dir_read_impure()
1099 LIST_HEAD(list); in ovl_workdir_cleanup_recurse()
1104 .list = &list, in ovl_workdir_cleanup_recurse()
1149 ovl_cache_free(&list); in ovl_workdir_cleanup_recurse()
1183 LIST_HEAD(list); in ovl_indexdir_cleanup()
1188 .list = &list, in ovl_indexdir_cleanup()
[all …]
/fs/fuse/
A Ddev_uring.c70 struct fuse_req, list); in fuse_uring_flush_bg()
148 ent = list_first_entry_or_null(list, struct fuse_ring_ent, list); in ent_list_request_expired()
207 list) { in fuse_uring_destruct()
208 list_del_init(&ent->list); in fuse_uring_destruct()
340 list_del_init(&req->list); in fuse_uring_entry_teardown()
378 list_move(&ent->list, &to_teardown); in fuse_uring_stop_list_entries()
916 list_del_init(&req->list); in fuse_uring_commit_fetch()
1064 INIT_LIST_HEAD(&ent->list); in fuse_uring_create_ring_ent()
1282 struct fuse_ring_ent, list); in fuse_uring_queue_fuse_req()
1324 struct fuse_ring_ent, list); in fuse_uring_queue_bq_req()
[all …]
/fs/xfs/
A Dxfs_extent_busy.c49 INIT_LIST_HEAD(&new->list); in xfs_extent_busy_insert_list()
76 list_add_tail(&new->list, busy_list); in xfs_extent_busy_insert_list()
550 list_del_init(&busyp->list); in xfs_extent_busy_clear_one()
563 struct list_head *list, in xfs_extent_busy_clear() argument
568 busyp = list_first_entry_or_null(list, typeof(*busyp), list); in xfs_extent_busy_clear()
579 next = list_next_entry(busyp, list); in xfs_extent_busy_clear()
583 } while (!list_entry_is_head(busyp, list, list) && in xfs_extent_busy_clear()
592 } while (!list_entry_is_head(busyp, list, list)); in xfs_extent_busy_clear()
689 container_of(l1, struct xfs_extent_busy, list); in xfs_extent_busy_ag_cmp()
691 container_of(l2, struct xfs_extent_busy, list); in xfs_extent_busy_ag_cmp()
/fs/squashfs/
A Ddecompressor_multi.c48 struct list_head list; member
56 list_add(&decomp_strm->list, &stream->strm_list); in put_decomp_stream()
94 list_add(&decomp_strm->list, &stream->strm_list); in squashfs_decompressor_create()
113 struct decomp_stream, list); in squashfs_decompressor_destroy()
114 list_del(&decomp_strm->list); in squashfs_decompressor_destroy()
137 struct decomp_stream, list); in get_decomp_stream()
138 list_del(&decomp_strm->list); in get_decomp_stream()
/fs/jffs2/
A Dcompr.c90 list_for_each_entry(this, &jffs2_compressor_list, list) { in jffs2_selected_compress()
176 list_for_each_entry(this, &jffs2_compressor_list, list) { in jffs2_compress()
276 list_for_each_entry(this, &jffs2_compressor_list, list) { in jffs2_decompress()
320 list_for_each_entry(this, &jffs2_compressor_list, list) { in jffs2_register_compressor()
322 list_add(&comp->list, this->list.prev); in jffs2_register_compressor()
326 list_add_tail(&comp->list, &jffs2_compressor_list); in jffs2_register_compressor()
328 D2(list_for_each_entry(this, &jffs2_compressor_list, list) { in jffs2_register_compressor()
350 list_del(&comp->list); in jffs2_unregister_compressor()
352 D2(list_for_each_entry(this, &jffs2_compressor_list, list) { in jffs2_unregister_compressor()
A Ddebug.c184 list_for_each_entry(jeb, &c->clean_list, list) { in __jffs2_dbg_superblock_counts()
192 list_for_each_entry(jeb, &c->very_dirty_list, list) { in __jffs2_dbg_superblock_counts()
200 list_for_each_entry(jeb, &c->dirty_list, list) { in __jffs2_dbg_superblock_counts()
208 list_for_each_entry(jeb, &c->erasable_list, list) { in __jffs2_dbg_superblock_counts()
224 list_for_each_entry(jeb, &c->erase_pending_list, list) { in __jffs2_dbg_superblock_counts()
232 list_for_each_entry(jeb, &c->free_list, list) { in __jffs2_dbg_superblock_counts()
240 list_for_each_entry(jeb, &c->bad_used_list, list) { in __jffs2_dbg_superblock_counts()
249 list_for_each_entry(jeb, &c->erasing_list, list) { in __jffs2_dbg_superblock_counts()
253 list_for_each_entry(jeb, &c->erase_checking_list, list) { in __jffs2_dbg_superblock_counts()
257 list_for_each_entry(jeb, &c->erase_complete_list, list) { in __jffs2_dbg_superblock_counts()
[all …]
A Derase.c51 list_move(&jeb->list, &c->erase_pending_list); in jffs2_erase_block()
80 list_move(&jeb->list, &c->erase_pending_list); in jffs2_erase_block()
113 list_move(&jeb->list, &c->erase_checking_list); in jffs2_erase_pending_blocks()
125 jeb = list_entry(c->erase_pending_list.next, struct jffs2_eraseblock, list); in jffs2_erase_pending_blocks()
128 list_del(&jeb->list); in jffs2_erase_pending_blocks()
136 list_add(&jeb->list, &c->erasing_list); in jffs2_erase_pending_blocks()
164 list_move_tail(&jeb->list, &c->erase_complete_list); in jffs2_erase_succeeded()
183 list_move(&jeb->list, &c->erase_pending_list); in jffs2_erase_failed()
197 list_move(&jeb->list, &c->bad_list); in jffs2_erase_failed()
462 list_move_tail(&jeb->list, &c->free_list); in jffs2_mark_erased_block()
[all …]
/fs/nilfs2/
A Dcpfile.c772 struct nilfs_snapshot_list *list; in nilfs_cpfile_set_snapshot() local
810 list = &header->ch_snapshot_list; in nilfs_cpfile_set_snapshot()
820 kunmap_local(list); in nilfs_cpfile_set_snapshot()
834 kunmap_local(list); in nilfs_cpfile_set_snapshot()
852 list->ssl_prev = cpu_to_le64(cno); in nilfs_cpfile_set_snapshot()
853 kunmap_local(list); in nilfs_cpfile_set_snapshot()
866 kunmap_local(list); in nilfs_cpfile_set_snapshot()
900 struct nilfs_snapshot_list *list; in nilfs_cpfile_clear_snapshot() local
930 list = &cp->cp_snapshot_list; in nilfs_cpfile_clear_snapshot()
965 kunmap_local(list); in nilfs_cpfile_clear_snapshot()
[all …]
/fs/btrfs/
A Dzstd.c52 struct list_head list; member
95 return container_of(list, struct workspace, list); in list_to_workspace()
141 list_del(&victim->list); in zstd_reclaim_timer_fn()
142 zstd_free_workspace(&victim->list); in zstd_reclaim_timer_fn()
219 struct workspace, list); in zstd_cleanup_workspace_manager()
220 list_del(&workspace->list); in zstd_cleanup_workspace_manager()
222 zstd_free_workspace(&workspace->list); in zstd_cleanup_workspace_manager()
342 list_add(&workspace->list, &wsm.idle_ws[workspace->level]); in zstd_put_workspace()
378 INIT_LIST_HEAD(&workspace->list); in zstd_alloc_workspace()
381 return &workspace->list; in zstd_alloc_workspace()
[all …]

Completed in 58 milliseconds

12345678910>>...13