Home
last modified time | relevance | path

Searched refs:new_bucket (Results 1 – 4 of 4) sorted by relevance

/linux/kernel/bpf/
H A Dstackmap.c253 struct stack_map_bucket *bucket, *new_bucket, *old_bucket; in __bpf_get_stackid() local
281 new_bucket = (struct stack_map_bucket *) in __bpf_get_stackid()
283 if (unlikely(!new_bucket)) in __bpf_get_stackid()
285 new_bucket->nr = trace_nr; in __bpf_get_stackid()
286 id_offs = (struct bpf_stack_build_id *)new_bucket->data; in __bpf_get_stackid()
292 memcmp(bucket->data, new_bucket->data, trace_len) == 0) { in __bpf_get_stackid()
293 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in __bpf_get_stackid()
297 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in __bpf_get_stackid()
307 new_bucket = (struct stack_map_bucket *) in __bpf_get_stackid()
309 if (unlikely(!new_bucket)) in __bpf_get_stackid()
[all …]
/linux/drivers/md/dm-vdo/
H A Dint-map.c260 static void insert_in_hop_list(struct bucket *neighborhood, struct bucket *new_bucket) in insert_in_hop_list() argument
263 int hop_offset = 1 + (new_bucket - neighborhood); in insert_in_hop_list()
269 new_bucket->next_hop = next_hop; in insert_in_hop_list()
281 new_bucket->next_hop = next_hop; in insert_in_hop_list()
/linux/fs/ocfs2/
H A Dxattr.c5227 u16 new_bucket = le16_to_cpu(bucket_xh(first)->xh_num_buckets); in ocfs2_extend_xattr_bucket() local
5231 num_clusters, new_bucket); in ocfs2_extend_xattr_bucket()
5234 BUG_ON(new_bucket >= in ocfs2_extend_xattr_bucket()
5238 end_blk = bucket_blkno(first) + ((new_bucket - 1) * blk_per_bucket); in ocfs2_extend_xattr_bucket()
6692 struct ocfs2_xattr_bucket *new_bucket; member
6716 bucket = args->new_bucket; in ocfs2_get_reflink_xattr_value_root()
6873 ret = ocfs2_init_xattr_bucket(args->new_bucket, new_blkno, 1); in ocfs2_reflink_xattr_bucket()
6880 args->new_bucket, in ocfs2_reflink_xattr_bucket()
6888 memcpy(bucket_block(args->new_bucket, j), in ocfs2_reflink_xattr_bucket()
6898 *cpos = le32_to_cpu(bucket_xh(args->new_bucket)-> in ocfs2_reflink_xattr_bucket()
[all …]
/linux/fs/fuse/
H A Dinode.c698 struct fuse_sync_bucket *bucket, *new_bucket; in fuse_sync_fs_writes() local
701 new_bucket = fuse_sync_bucket_alloc(); in fuse_sync_fs_writes()
709 kfree(new_bucket); in fuse_sync_fs_writes()
717 atomic_inc(&new_bucket->count); in fuse_sync_fs_writes()
718 rcu_assign_pointer(fc->curr_bucket, new_bucket); in fuse_sync_fs_writes()
730 fuse_sync_bucket_dec(new_bucket); in fuse_sync_fs_writes()