Home
last modified time | relevance | path

Searched refs:alloc_hint (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/lib/
A Dsbitmap.c17 if (!sb->alloc_hint) in init_alloc_hint()
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()
115 free_percpu(sb->alloc_hint); in sbitmap_init_node()
179 alloc_hint, wrap); in sbitmap_find_bit_in_word()
203 alloc_hint, wrap); in sbitmap_find_bit()
211 alloc_hint = 0; in sbitmap_find_bit()
231 alloc_hint = SB_NR_TO_BIT(sb, alloc_hint); in __sbitmap_get()
233 alloc_hint = 0; in __sbitmap_get()
[all …]
/linux-6.3-rc2/io_uring/
A Dfiletable.h30 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()
A Dfiletable.c23 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-6.3-rc2/include/linux/
A Dsbitmap.h79 unsigned int __percpu *alloc_hint; member
166 gfp_t flags, int node, bool round_robin, bool alloc_hint);
182 free_percpu(sb->alloc_hint); in sbitmap_free()
344 if (likely(sb->alloc_hint && !sb->round_robin && bitnr < sb->depth)) in sbitmap_put()
345 *raw_cpu_ptr(sb->alloc_hint) = bitnr; in sbitmap_put()
A Dio_uring_types.h34 unsigned int alloc_hint; member
/linux-6.3-rc2/fs/btrfs/
A Dbtrfs_inode.h493 loff_t actual_len, u64 *alloc_hint);
497 loff_t actual_len, u64 *alloc_hint);
A Dinode.c978 u64 *alloc_hint) in submit_one_async_extent() argument
1010 0, *alloc_hint, &ins, 1, 1); in submit_one_async_extent()
1103 u64 alloc_hint = 0; in submit_compressed_extents() local
1117 &alloc_hint); in submit_compressed_extents()
1130 u64 alloc_hint = 0; in get_extent_allocation_hint() local
1144 alloc_hint = em->block_start; in get_extent_allocation_hint()
1148 alloc_hint = em->block_start; in get_extent_allocation_hint()
1154 return alloc_hint; in get_extent_allocation_hint()
1200 u64 alloc_hint = 0; in cow_file_range() local
7024 u64 alloc_hint; in btrfs_new_extent_direct() local
[all …]
A Dfile.c2859 u64 alloc_hint = 0; in btrfs_zero_range() local
2904 alloc_hint = em->block_start + em->len; in btrfs_zero_range()
3007 offset + len, &alloc_hint); in btrfs_zero_range()
3039 u64 alloc_hint = 0; in btrfs_fallocate() local
3180 offset + len, &alloc_hint); in btrfs_fallocate()
A Dblock-group.c2972 u64 alloc_hint = 0; in cache_save_setup() local
3100 &alloc_hint); in cache_save_setup()
A Drelocation.c2805 u64 alloc_hint = 0; in prealloc_file_extent_cluster() local
2896 end + 1, &alloc_hint); in prealloc_file_extent_cluster()
/linux-6.3-rc2/include/linux/ceph/
A Drados.h534 } __attribute__ ((packed)) alloc_hint; member
A Dosd_client.h140 } alloc_hint; member
/linux-6.3-rc2/net/ceph/
A Dosd_client.c922 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()

Completed in 79 milliseconds