| /linux-6.15/lib/ |
| H A D | sbitmap.c | 17 if (!sb->alloc_hint) in init_alloc_hint() 82 if (!wrap && alloc_hint) in sbitmap_deferred_clear() 103 bool alloc_hint) in sbitmap_init_node() argument 125 if (alloc_hint) { in sbitmap_init_node() 129 sb->alloc_hint = NULL; in sbitmap_init_node() 201 alloc_hint, wrap); in sbitmap_find_bit_in_word() 225 alloc_hint, wrap); in sbitmap_find_bit() 233 alloc_hint = 0; in sbitmap_find_bit() 253 alloc_hint = SB_NR_TO_BIT(sb, alloc_hint); in __sbitmap_get() 255 alloc_hint = 0; in __sbitmap_get() [all …]
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | newbt.c | 90 xfs_fsblock_t alloc_hint, in xrep_newbt_init_ag() argument 96 xnr->alloc_hint = alloc_hint; in xrep_newbt_init_ag() 248 xfs_verify_fsbno(sc->mp, xnr->alloc_hint)) in xrep_newbt_validate_ag_alloc_hint() 251 xnr->alloc_hint = in xrep_newbt_validate_ag_alloc_hint() 283 error = xnr->alloc_vextent(sc, &args, xnr->alloc_hint); in xrep_newbt_alloc_ag_blocks() 286 xnr->alloc_hint); in xrep_newbt_alloc_ag_blocks() 307 xnr->alloc_hint = args.fsbno + args.len; in xrep_newbt_alloc_ag_blocks() 324 if (xfs_verify_fsbno(sc->mp, xnr->alloc_hint)) in xrep_newbt_validate_file_alloc_hint() 358 error = xnr->alloc_vextent(sc, &args, xnr->alloc_hint); in xrep_newbt_alloc_file_blocks() 361 xnr->alloc_hint); in xrep_newbt_alloc_file_blocks() [all …]
|
| H A D | newbt.h | 36 xfs_fsblock_t alloc_hint); 54 xfs_fsblock_t alloc_hint; member 62 const struct xfs_owner_info *oinfo, xfs_fsblock_t alloc_hint,
|
| H A D | rmap_repair.c | 1273 xfs_fsblock_t alloc_hint) in xrep_rmap_alloc_vextent() argument 1304 return xfs_alloc_vextent_near_bno(args, alloc_hint); in xrep_rmap_alloc_vextent()
|
| /linux-6.15/io_uring/ |
| H A D | filetable.h | 27 table->alloc_hint = bit; in io_file_bitmap_clear() 34 table->alloc_hint = bit + 1; in io_file_bitmap_set() 64 ctx->file_table.alloc_hint = ctx->file_alloc_start; in io_file_table_set_alloc_range()
|
| H A D | filetable.c | 26 ret = find_next_zero_bit(table->bitmap, nr, table->alloc_hint); in io_file_bitmap_get() 30 if (table->alloc_hint == ctx->file_alloc_start) in io_file_bitmap_get() 32 nr = table->alloc_hint; in io_file_bitmap_get() 33 table->alloc_hint = ctx->file_alloc_start; in io_file_bitmap_get()
|
| /linux-6.15/include/linux/ |
| H A D | sbitmap.h | 84 unsigned int __percpu *alloc_hint; member 171 gfp_t flags, int node, bool round_robin, bool alloc_hint); 187 free_percpu(sb->alloc_hint); in sbitmap_free() 349 if (likely(sb->alloc_hint && !sb->round_robin && bitnr < sb->depth)) in sbitmap_put() 350 *raw_cpu_ptr(sb->alloc_hint) = bitnr; in sbitmap_put()
|
| H A D | io_uring_types.h | 69 unsigned int alloc_hint; member
|
| /linux-6.15/fs/btrfs/ |
| H A D | btrfs_inode.h | 613 loff_t actual_len, u64 *alloc_hint); 617 loff_t actual_len, u64 *alloc_hint);
|
| H A D | direct-io.c | 181 u64 alloc_hint; in btrfs_new_extent_direct() local 184 alloc_hint = btrfs_get_extent_allocation_hint(inode, start, len); in btrfs_new_extent_direct() 187 0, alloc_hint, &ins, 1, 1); in btrfs_new_extent_direct()
|
| H A D | inode.c | 1099 u64 *alloc_hint) in submit_one_async_extent() argument 1143 0, *alloc_hint, &ins, 1, 1); in submit_one_async_extent() 1190 *alloc_hint = ins.objectid + ins.offset; in submit_one_async_extent() 1225 u64 alloc_hint = 0; in btrfs_get_extent_allocation_hint() local 1243 alloc_hint = extent_map_block_start(em); in btrfs_get_extent_allocation_hint() 1249 return alloc_hint; in btrfs_get_extent_allocation_hint() 1285 u64 alloc_hint = 0; in cow_file_range() local 1360 min_alloc_size, 0, alloc_hint, in cow_file_range() 1456 alloc_hint = ins.objectid + ins.offset; in cow_file_range() 1569 u64 alloc_hint = 0; in submit_compressed_extents() local [all …]
|
| H A D | file.c | 2766 u64 alloc_hint = 0; in btrfs_zero_range() local 2810 alloc_hint = extent_map_block_start(em) + em->len; in btrfs_zero_range() 2912 offset + len, &alloc_hint); in btrfs_zero_range() 2944 u64 alloc_hint = 0; in btrfs_fallocate() local 3084 offset + len, &alloc_hint); in btrfs_fallocate()
|
| H A D | block-group.c | 3185 u64 alloc_hint = 0; in cache_save_setup() local 3313 &alloc_hint); in cache_save_setup()
|
| H A D | relocation.c | 2654 u64 alloc_hint = 0; in prealloc_file_extent_cluster() local 2745 end + 1, &alloc_hint); in prealloc_file_extent_cluster()
|
| /linux-6.15/include/linux/ceph/ |
| H A D | rados.h | 538 } __attribute__ ((packed)) alloc_hint; member
|
| H A D | osd_client.h | 194 } alloc_hint; member
|
| /linux-6.15/net/ceph/ |
| H A D | osd_client.c | 927 op->alloc_hint.expected_object_size = expected_object_size; in osd_req_op_alloc_hint_init() 928 op->alloc_hint.expected_write_size = expected_write_size; in osd_req_op_alloc_hint_init() 929 op->alloc_hint.flags = flags; in osd_req_op_alloc_hint_init() 1004 dst->alloc_hint.expected_object_size = in osd_req_encode_op() 1005 cpu_to_le64(src->alloc_hint.expected_object_size); in osd_req_encode_op() 1006 dst->alloc_hint.expected_write_size = in osd_req_encode_op() 1007 cpu_to_le64(src->alloc_hint.expected_write_size); in osd_req_encode_op() 1008 dst->alloc_hint.flags = cpu_to_le32(src->alloc_hint.flags); in osd_req_encode_op()
|