Searched refs:alloc_hint (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/lib/ |
D | sbitmap.c | 16 sb->alloc_hint = alloc_percpu_gfp(unsigned int, flags); in init_alloc_hint() 17 if (!sb->alloc_hint) in init_alloc_hint() 24 *per_cpu_ptr(sb->alloc_hint, i) = prandom_u32_max(depth); in init_alloc_hint() 34 hint = this_cpu_read(*sb->alloc_hint); in update_alloc_hint_before_get() 37 this_cpu_write(*sb->alloc_hint, hint); in update_alloc_hint_before_get() 50 this_cpu_write(*sb->alloc_hint, 0); in update_alloc_hint_after_get() 56 this_cpu_write(*sb->alloc_hint, hint); in update_alloc_hint_after_get() 85 bool alloc_hint) in sbitmap_init_node() argument 106 if (alloc_hint) { in sbitmap_init_node() 110 sb->alloc_hint = NULL; in sbitmap_init_node() [all …]
|
/Linux-v6.1/io_uring/ |
D | filetable.h | 30 table->alloc_hint = bit; in io_file_bitmap_clear() 37 table->alloc_hint = bit + 1; in io_file_bitmap_set() 65 ctx->file_table.alloc_hint = ctx->file_alloc_start; in io_reset_alloc_hint()
|
D | filetable.c | 23 ret = find_next_zero_bit(table->bitmap, nr, table->alloc_hint); in io_file_bitmap_get() 27 if (table->alloc_hint == ctx->file_alloc_start) in io_file_bitmap_get() 29 nr = table->alloc_hint; in io_file_bitmap_get() 30 table->alloc_hint = ctx->file_alloc_start; in io_file_bitmap_get()
|
/Linux-v6.1/include/linux/ |
D | sbitmap.h | 79 unsigned int __percpu *alloc_hint; member 160 gfp_t flags, int node, bool round_robin, bool alloc_hint); 176 free_percpu(sb->alloc_hint); in sbitmap_free() 338 if (likely(sb->alloc_hint && !sb->round_robin && bitnr < sb->depth)) in sbitmap_put() 339 *raw_cpu_ptr(sb->alloc_hint) = bitnr; in sbitmap_put()
|
D | io_uring_types.h | 34 unsigned int alloc_hint; member
|
/Linux-v6.1/fs/btrfs/ |
D | inode.c | 957 u64 *alloc_hint) in submit_one_async_extent() argument 989 0, *alloc_hint, &ins, 1, 1); in submit_one_async_extent() 1053 *alloc_hint = ins.objectid + ins.offset; in submit_one_async_extent() 1082 u64 alloc_hint = 0; in submit_compressed_extents() local 1096 &alloc_hint); in submit_compressed_extents() 1109 u64 alloc_hint = 0; in get_extent_allocation_hint() local 1123 alloc_hint = em->block_start; in get_extent_allocation_hint() 1127 alloc_hint = em->block_start; in get_extent_allocation_hint() 1133 return alloc_hint; in get_extent_allocation_hint() 1179 u64 alloc_hint = 0; in cow_file_range() local [all …]
|
D | file.c | 3163 u64 alloc_hint = 0; in btrfs_zero_range() local 3208 alloc_hint = em->block_start + em->len; in btrfs_zero_range() 3311 offset + len, &alloc_hint); in btrfs_zero_range() 3343 u64 alloc_hint = 0; in btrfs_fallocate() local 3484 offset + len, &alloc_hint); in btrfs_fallocate()
|
D | block-group.c | 2729 u64 alloc_hint = 0; in cache_save_setup() local 2857 &alloc_hint); in cache_save_setup()
|
D | ctree.h | 3442 loff_t actual_len, u64 *alloc_hint); 3446 loff_t actual_len, u64 *alloc_hint);
|
D | relocation.c | 2787 u64 alloc_hint = 0; in prealloc_file_extent_cluster() local 2876 end + 1, &alloc_hint); in prealloc_file_extent_cluster()
|
/Linux-v6.1/include/linux/ceph/ |
D | rados.h | 534 } __attribute__ ((packed)) alloc_hint; member
|
D | osd_client.h | 140 } alloc_hint; member
|
/Linux-v6.1/net/ceph/ |
D | osd_client.c | 922 op->alloc_hint.expected_object_size = expected_object_size; in osd_req_op_alloc_hint_init() 923 op->alloc_hint.expected_write_size = expected_write_size; in osd_req_op_alloc_hint_init() 924 op->alloc_hint.flags = flags; in osd_req_op_alloc_hint_init() 996 dst->alloc_hint.expected_object_size = in osd_req_encode_op() 997 cpu_to_le64(src->alloc_hint.expected_object_size); in osd_req_encode_op() 998 dst->alloc_hint.expected_write_size = in osd_req_encode_op() 999 cpu_to_le64(src->alloc_hint.expected_write_size); in osd_req_encode_op() 1000 dst->alloc_hint.flags = cpu_to_le32(src->alloc_hint.flags); in osd_req_encode_op()
|