/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_attr.c | 206 struct xfs_bmap_free flist; in xfs_attr_set() local 224 args.flist = &flist; in xfs_attr_set() 335 xfs_bmap_init(args.flist, args.firstblock); in xfs_attr_set() 338 error = xfs_bmap_finish(&args.trans, args.flist, in xfs_attr_set() 344 xfs_bmap_cancel(&flist); in xfs_attr_set() 411 struct xfs_bmap_free flist; in xfs_attr_remove() local 428 args.flist = &flist; in xfs_attr_remove() 629 xfs_bmap_init(args->flist, args->firstblock); in xfs_attr_leaf_addname() 632 error = xfs_bmap_finish(&args->trans, args->flist, in xfs_attr_leaf_addname() 638 xfs_bmap_cancel(args->flist); in xfs_attr_leaf_addname() [all …]
|
D | xfs_bmap.h | 35 struct xfs_bmap_free *flist; /* bmap freelist */ member 195 struct xfs_bmap_free *flist, struct xfs_mount *mp); 196 void xfs_bmap_cancel(struct xfs_bmap_free *flist); 197 int xfs_bmap_finish(struct xfs_trans **tp, struct xfs_bmap_free *flist, 219 struct xfs_bmap_free *flist); 223 struct xfs_bmap_free *flist, int *done); 230 struct xfs_bmap_free *flist, enum shift_direction direction,
|
D | xfs_attr_remote.c | 465 xfs_bmap_init(args->flist, args->firstblock); in xfs_attr_rmtval_set() 469 args->total, &map, &nmap, args->flist); in xfs_attr_rmtval_set() 471 error = xfs_bmap_finish(&args->trans, args->flist, in xfs_attr_rmtval_set() 477 xfs_bmap_cancel(args->flist); in xfs_attr_rmtval_set() 518 xfs_bmap_init(args->flist, args->firstblock); in xfs_attr_rmtval_set() 620 xfs_bmap_init(args->flist, args->firstblock); in xfs_attr_rmtval_remove() 623 args->flist, &done); in xfs_attr_rmtval_remove() 625 error = xfs_bmap_finish(&args->trans, args->flist, in xfs_attr_rmtval_remove() 631 xfs_bmap_cancel(args->flist); in xfs_attr_rmtval_remove()
|
D | xfs_dir2.c | 262 xfs_bmap_free_t *flist, /* bmap's freeblock list */ in xfs_dir_createname() argument 289 args->flist = flist; in xfs_dir_createname() 439 xfs_bmap_free_t *flist, /* bmap's freeblock list */ in xfs_dir_removename() argument 461 args->flist = flist; in xfs_dir_removename() 501 xfs_bmap_free_t *flist, /* bmap's freeblock list */ in xfs_dir_replace() argument 526 args->flist = flist; in xfs_dir_replace() 683 args->firstblock, args->flist, &done); in xfs_dir2_shrink_inode()
|
D | xfs_bmap.c | 572 xfs_bmap_free_t *flist, /* list of extents */ in xfs_bmap_add_free() argument 597 for (prev = NULL, cur = flist->xbf_first; in xfs_bmap_add_free() 606 flist->xbf_first = new; in xfs_bmap_add_free() 608 flist->xbf_count++; in xfs_bmap_add_free() 617 xfs_bmap_free_t *flist, /* free item list header */ in xfs_bmap_del_free() argument 624 flist->xbf_first = free->xbfi_next; in xfs_bmap_del_free() 625 flist->xbf_count--; in xfs_bmap_del_free() 634 xfs_bmap_free_t *flist) /* list of bmap_free_items */ in xfs_bmap_cancel() argument 639 if (flist->xbf_count == 0) in xfs_bmap_cancel() 641 ASSERT(flist->xbf_first != NULL); in xfs_bmap_cancel() [all …]
|
D | xfs_bmap_btree.c | 413 new->bc_private.b.flist = cur->bc_private.b.flist; in xfs_bmbt_dup_cursor() 426 ASSERT(dst->bc_private.b.flist == src->bc_private.b.flist); in xfs_bmbt_update_cursor() 465 } else if (cur->bc_private.b.flist->xbf_low) { in xfs_bmbt_alloc_block() 493 cur->bc_private.b.flist->xbf_low = 1; in xfs_bmbt_alloc_block() 529 xfs_bmap_add_free(fsbno, 1, cur->bc_private.b.flist, mp); in xfs_bmbt_free_block() 804 cur->bc_private.b.flist = NULL; in xfs_bmbt_init_cursor()
|
D | xfs_dir2.h | 132 struct xfs_bmap_free *flist, xfs_extlen_t tot); 139 struct xfs_bmap_free *flist, xfs_extlen_t tot); 143 struct xfs_bmap_free *flist, xfs_extlen_t tot);
|
D | xfs_ialloc.h | 98 struct xfs_bmap_free *flist, /* extents to free */
|
D | xfs_da_btree.h | 73 struct xfs_bmap_free *flist; /* ptr to freelist for bmap_finish */ member
|
D | xfs_ialloc.c | 1820 struct xfs_bmap_free *flist) in xfs_difree_inode_chunk() argument 1833 mp->m_ialloc_blks, flist, mp); in xfs_difree_inode_chunk() 1877 flist, mp); in xfs_difree_inode_chunk() 1893 struct xfs_bmap_free *flist, in xfs_difree_inobt() argument 1980 xfs_difree_inode_chunk(mp, agno, &rec, flist); in xfs_difree_inobt() 2125 struct xfs_bmap_free *flist, /* extents to free */ in xfs_difree() argument 2177 error = xfs_difree_inobt(mp, tp, agbp, agino, flist, xic, &rec); in xfs_difree()
|
D | xfs_btree.h | 225 struct xfs_bmap_free *flist; /* list to free after */ member
|
D | xfs_attr_leaf.c | 795 nargs.flist = args->flist; in xfs_attr_shortform_to_leaf() 925 nargs.flist = args->flist; in xfs_attr3_leaf_to_shortform()
|
D | xfs_da_btree.c | 2033 args->flist); in xfs_da_grow_inode_int() 2056 &mapp[mapi], &nmap, args->flist); in xfs_da_grow_inode_int() 2366 args->flist, &done); in xfs_da_shrink_inode()
|
/linux-4.4.14/crypto/ |
D | mcryptd.c | 52 struct mcryptd_flush_list *flist; in mcryptd_arm_flusher() local 56 flist = per_cpu_ptr(mcryptd_flist, smp_processor_id()); in mcryptd_arm_flusher() 57 mutex_lock(&flist->lock); in mcryptd_arm_flusher() 58 list_add_tail(&cstate->flush_list, &flist->list); in mcryptd_arm_flusher() 63 mutex_unlock(&flist->lock); in mcryptd_arm_flusher() 125 struct mcryptd_flush_list *flist; in mcryptd_opportunistic_flush() local 128 flist = per_cpu_ptr(mcryptd_flist, smp_processor_id()); in mcryptd_opportunistic_flush() 130 mutex_lock(&flist->lock); in mcryptd_opportunistic_flush() 131 if (list_empty(&flist->list)) { in mcryptd_opportunistic_flush() 132 mutex_unlock(&flist->lock); in mcryptd_opportunistic_flush() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | rtas_flash.c | 141 struct flash_block_list *flist; /* Local copy of flash block list */ member 167 static int flash_list_valid(struct flash_block_list *flist) in flash_list_valid() argument 175 for (f = flist; f; f = f->next) { in flash_list_valid() 218 if (uf->flist) { in rtas_flash_release() 227 uf->status = flash_list_valid(uf->flist); in rtas_flash_release() 230 rtas_firmware_flash_list = uf->flist; in rtas_flash_release() 232 free_flash_list(uf->flist); in rtas_flash_release() 234 uf->flist = NULL; in rtas_flash_release() 331 if (uf->flist == NULL) { in rtas_flash_write() 332 uf->flist = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write() [all …]
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_sa.c | 64 INIT_LIST_HEAD(&sa_manager->flist[i]); in radeon_sa_bo_manager_init() 149 list_del_init(&sa_bo->flist); in radeon_sa_bo_remove_locked() 207 INIT_LIST_HEAD(&sa_bo->flist); in radeon_sa_bo_try_alloc() 231 if (!list_empty(&sa_manager->flist[i])) { in radeon_sa_event() 270 if (list_empty(&sa_manager->flist[i])) { in radeon_sa_bo_next_hole() 274 sa_bo = list_first_entry(&sa_manager->flist[i], in radeon_sa_bo_next_hole() 275 struct radeon_sa_bo, flist); in radeon_sa_bo_next_hole() 331 INIT_LIST_HEAD(&(*sa_bo)->flist); in radeon_sa_bo_new() 389 list_add_tail(&(*sa_bo)->flist, in radeon_sa_bo_free() 390 &sa_manager->flist[fence->ring]); in radeon_sa_bo_free()
|
D | radeon_sync.c | 94 struct reservation_object_list *flist; in radeon_sync_resv() local 108 flist = reservation_object_get_list(resv); in radeon_sync_resv() 109 if (shared || !flist || r) in radeon_sync_resv() 112 for (i = 0; i < flist->shared_count; ++i) { in radeon_sync_resv() 113 f = rcu_dereference_protected(flist->shared[i], in radeon_sync_resv()
|
D | radeon.h | 543 struct list_head flist[RADEON_NUM_RINGS]; member 557 struct list_head flist; member
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sa.c | 64 INIT_LIST_HEAD(&sa_manager->flist[i]); in amdgpu_sa_bo_manager_init() 149 list_del_init(&sa_bo->flist); in amdgpu_sa_bo_remove_locked() 208 INIT_LIST_HEAD(&sa_bo->flist); in amdgpu_sa_bo_try_alloc() 232 if (!list_empty(&sa_manager->flist[i])) { in amdgpu_sa_event() 271 if (list_empty(&sa_manager->flist[i])) { in amdgpu_sa_bo_next_hole() 275 sa_bo = list_first_entry(&sa_manager->flist[i], in amdgpu_sa_bo_next_hole() 276 struct amdgpu_sa_bo, flist); in amdgpu_sa_bo_next_hole() 334 INIT_LIST_HEAD(&(*sa_bo)->flist); in amdgpu_sa_bo_new() 399 list_add_tail(&(*sa_bo)->flist, &sa_manager->flist[idx]); in amdgpu_sa_bo_free()
|
D | amdgpu_sync.c | 169 struct reservation_object_list *flist; in amdgpu_sync_resv() local 182 flist = reservation_object_get_list(resv); in amdgpu_sync_resv() 183 if (!flist || r) in amdgpu_sync_resv() 186 for (i = 0; i < flist->shared_count; ++i) { in amdgpu_sync_resv() 187 f = rcu_dereference_protected(flist->shared[i], in amdgpu_sync_resv()
|
D | amdgpu.h | 598 struct list_head flist[AMDGPU_MAX_RINGS]; member 610 struct list_head flist; member
|
/linux-4.4.14/net/sched/ |
D | cls_basic.c | 26 struct list_head flist; member 47 list_for_each_entry_rcu(f, &head->flist, link) { in basic_classify() 68 list_for_each_entry(f, &head->flist, link) { in basic_get() 85 INIT_LIST_HEAD(&head->flist); in basic_init() 104 if (!force && !list_empty(&head->flist)) in basic_destroy() 107 list_for_each_entry_safe(f, n, &head->flist, link) { in basic_destroy() 224 list_add_rcu(&fnew->link, &head->flist); in basic_change() 238 list_for_each_entry(f, &head->flist, link) { in basic_walk()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_bmap_util.c | 100 struct xfs_bmap_free *flist, /* i/o: list extents to free */ in xfs_bmap_finish() argument 110 if (flist->xbf_count == 0) { in xfs_bmap_finish() 114 efi = xfs_trans_get_efi(*tp, flist->xbf_count); in xfs_bmap_finish() 115 for (free = flist->xbf_first; free; free = free->xbfi_next) in xfs_bmap_finish() 149 efd = xfs_trans_get_efd(*tp, efi, flist->xbf_count); in xfs_bmap_finish() 150 for (free = flist->xbf_first; free != NULL; free = next) { in xfs_bmap_finish() 158 xfs_bmap_del_free(flist, NULL, free); in xfs_bmap_finish() 767 xfs_bmap_free_t flist; in xfs_bmap_punch_delalloc_range() local 803 xfs_bmap_init(&flist, &firstblock); in xfs_bmap_punch_delalloc_range() 805 &flist, &done); in xfs_bmap_punch_delalloc_range() [all …]
|
D | xfs_dquot.c | 307 xfs_bmap_free_t flist; in xfs_qm_dqalloc() local 320 xfs_bmap_init(&flist, &firstblock); in xfs_qm_dqalloc() 336 &map, &nmaps, &flist); in xfs_qm_dqalloc() 382 if ((error = xfs_bmap_finish(tpp, &flist, &committed))) { in xfs_qm_dqalloc() 397 xfs_bmap_cancel(&flist); in xfs_qm_dqalloc()
|
D | xfs_bmap_util.h | 45 void xfs_bmap_del_free(struct xfs_bmap_free *flist,
|
D | xfs_rtalloc.c | 773 struct xfs_bmap_free flist; /* list of freed blocks */ in xfs_growfs_rt_alloc() local 799 xfs_bmap_init(&flist, &firstblock); in xfs_growfs_rt_alloc() 806 resblks, &map, &nmap, &flist); in xfs_growfs_rt_alloc() 814 error = xfs_bmap_finish(&tp, &flist, &committed); in xfs_growfs_rt_alloc() 868 xfs_bmap_cancel(&flist); in xfs_growfs_rt_alloc()
|
D | xfs_filestream.c | 388 (ap->flist->xbf_low ? XFS_PICK_LOWSPACE : 0); in xfs_filestream_new_ag()
|
D | xfs_inode.c | 2402 xfs_bmap_free_t *flist) in xfs_ifree() argument 2421 error = xfs_difree(tp, ip->i_ino, flist, &xic); in xfs_ifree()
|
/linux-4.4.14/net/sctp/ |
D | ulpqueue.c | 978 struct sk_buff *skb, *flist, *last; in sctp_ulpq_renege_list() local 997 flist = skb_shinfo(skb)->frag_list; in sctp_ulpq_renege_list() 998 for (last = flist; flist; flist = flist->next) { in sctp_ulpq_renege_list() 999 last = flist; in sctp_ulpq_renege_list()
|
/linux-4.4.14/drivers/block/aoe/ |
D | aoecmd.c | 754 LIST_HEAD(flist); in rexmit_timer() 783 list_move_tail(pos, &flist); in rexmit_timer() 788 while (!list_empty(&flist)) { in rexmit_timer() 789 pos = flist.next; in rexmit_timer() 801 list_splice(&flist, &d->factive[0]); in rexmit_timer() 1719 LIST_HEAD(flist); in aoe_flush_iocq_by_index() 1725 list_splice_init(&iocq[id].head, &flist); in aoe_flush_iocq_by_index() 1727 while (!list_empty(&flist)) { in aoe_flush_iocq_by_index() 1728 pos = flist.next; in aoe_flush_iocq_by_index()
|
/linux-4.4.14/include/net/9p/ |
D | client.h | 195 struct list_head flist; member
|
/linux-4.4.14/fs/cifs/ |
D | file.c | 331 list_add(&cfile->flist, &cinode->openFileList); in cifs_new_fileinfo() 333 list_add_tail(&cfile->flist, &cinode->openFileList); in cifs_new_fileinfo() 383 list_del(&cifs_file->flist); in cifsFileInfo_put() 1732 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_readable_file() 1783 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in find_writable_file() 1819 list_move_tail(&inv_file->flist, in find_writable_file() 3637 list_for_each_entry(open_file, &cifs_inode->openFileList, flist) { in is_inode_writable()
|
D | cifsglob.h | 1038 struct list_head flist; /* next fid (file instance) for this inode */ member
|
/linux-4.4.14/net/9p/ |
D | client.c | 906 list_add(&fid->flist, &clnt->fidlist); in p9_fid_create() 925 list_del(&fid->flist); in p9_fid_destroy() 1075 list_for_each_entry_safe(fid, fidptr, &clnt->fidlist, flist) { in p9_client_destroy()
|