Home
last modified time | relevance | path

Searched refs:KEY_SIZE (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/drivers/md/bcache/
Dextents.c57 if (KEY_SIZE(k) + r > c->cache->sb.bucket_size || in __ptr_invalid()
78 if (KEY_SIZE(k) + r > c->cache->sb.bucket_size) in bch_ptr_status()
92 if (!KEY_SIZE(k)) in bch_ptr_status()
104 p("%llu:%llu len %llu -> [", KEY_INODE(k), KEY_START(k), KEY_SIZE(k)); in bch_extent_to_text()
153 if (!KEY_PTRS(k) || !KEY_SIZE(k) || KEY_DIRTY(k)) in __bch_btree_ptr_invalid()
279 if (!KEY_SIZE(i->k)) { in bch_extent_sort_fixup()
334 BUG_ON(!KEY_SIZE(insert)); in bch_extent_insert_fixup()
343 if (KEY_SIZE(k)) in bch_extent_insert_fixup()
353 old_size = KEY_SIZE(k); in bch_extent_insert_fixup()
363 if (replace_key && KEY_SIZE(k)) { in bch_extent_insert_fixup()
[all …]
Ddebug.c26 (void *) i < (void *) (start) + (KEY_SIZE(&b->key) << 9) &&\
55 bio->bi_iter.bi_size = KEY_SIZE(&v->key) << 9; in bch_btree_verify()
62 memcpy(ondisk, sorted, KEY_SIZE(&v->key) << 9); in bch_btree_verify()
Dmovinggc.c83 DIV_ROUND_UP(KEY_SIZE(&io->w->key), PAGE_SECTORS), 0); in moving_init()
87 bio->bi_iter.bi_size = KEY_SIZE(&io->w->key) << 9; in moving_init()
149 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_moving()
Dwriteback.c335 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS), 0); in dirty_init()
339 bio->bi_iter.bi_size = KEY_SIZE(&w->key) << 9; in dirty_init()
531 size += KEY_SIZE(&next->key); in read_dirty()
540 DIV_ROUND_UP(KEY_SIZE(&w->key), PAGE_SECTORS)), in read_dirty()
863 KEY_START(k), KEY_SIZE(k)); in sectors_dirty_init_fn()
Dbcache_ondisk.h51 KEY_FIELD(KEY_SIZE, high, 20, KEY_SIZE_BITS)
83 #define KEY_START(k) (KEY_OFFSET(k) - KEY_SIZE(k))
Dbset.c62 ret += KEY_SIZE(k); in __bch_count_data()
210 SET_PTR_OFFSET(k, i, PTR_OFFSET(k, i) + KEY_SIZE(k) - len); in __bch_cut_front()
212 BUG_ON(len > KEY_SIZE(k)); in __bch_cut_front()
231 BUG_ON(len > KEY_SIZE(k)); in __bch_cut_back()
886 BUG_ON(b->ops->is_extents && !KEY_SIZE(k)); in bch_btree_insert_key()
919 KEY_PTRS(m) == KEY_PTRS(k) && !KEY_SIZE(m)) in bch_btree_insert_key()
Dbtree.c209 bset_sector_offset(&b->keys, i) < KEY_SIZE(&b->key); in bch_btree_node_read_done()
254 bio->bi_iter.bi_size = KEY_SIZE(&b->key) << 9; in bch_btree_node_read()
545 return ilog2(KEY_SIZE(k) / PAGE_SECTORS ?: 1); in btree_order()
1236 GC_SECTORS_USED(g) + KEY_SIZE(k), in __bch_btree_mark_key()
1293 gc->data += KEY_SIZE(k); in btree_gc_mark_node()
2603 if (!KEY_SIZE(k)) /* end key */ in refill_keybuf_fn()
Dbcache.h759 ((unsigned int) (KEY_SIZE(&b->key) >> (b)->c->block_bits))
Drequest.c227 n = bio_next_split(bio, KEY_SIZE(k), GFP_NOIO, split); in bch_data_insert_start()
539 if (!KEY_SIZE(k)) in cache_lookup_fn()
Dsuper.c433 bio->bi_iter.bi_size = KEY_SIZE(k) << 9; in uuid_io()
/linux-6.1.9/fs/reiserfs/
Dibalance.c146 RFALSE(B_FREE_SPACE(cur) < count * (KEY_SIZE + DC_SIZE), in internal_insert_childs()
148 B_FREE_SPACE(cur), count * (KEY_SIZE + DC_SIZE)); in internal_insert_childs()
167 (nr - to) * KEY_SIZE + (nr + 1 + count) * DC_SIZE); in internal_insert_childs()
170 memcpy(ih, inserted, KEY_SIZE); in internal_insert_childs()
172 memcpy(ih + 1, inserted + 1, KEY_SIZE); in internal_insert_childs()
178 KEY_SIZE)); in internal_insert_childs()
190 dc_size(t_dc) + (count * (DC_SIZE + KEY_SIZE))); in internal_insert_childs()
248 (nr - first_i - del_num) * KEY_SIZE + (nr + 1 - in internal_delete_pointers_items()
255 (del_num * (KEY_SIZE + DC_SIZE))); in internal_delete_pointers_items()
266 dc_size(t_dc) - (del_num * (KEY_SIZE + DC_SIZE))); in internal_delete_pointers_items()
[all …]
Dfix_node.c66 vn->vn_nr_item = (vn->vn_size - DC_SIZE) / (DC_SIZE + KEY_SIZE); in create_virtual_node()
205 tb->lnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_left()
291 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_right()
431 i = ((to - from) * (KEY_SIZE + DC_SIZE) + DC_SIZE); in get_num_ver()
1293 + ((h) ? KEY_SIZE : 0)) { in can_node_be_removed()
1796 (DC_SIZE + KEY_SIZE); in dc_check_balance_internal()
1813 (DC_SIZE + KEY_SIZE); in dc_check_balance_internal()
1858 KEY_SIZE); in dc_check_balance_internal()
1873 KEY_SIZE); in dc_check_balance_internal()
2691 KEY_SIZE) * (tb->blknum[h] - 1) + in fix_nodes()
[all …]
Dstree.c509 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) { in is_internal()
515 used_space = BLKH_SIZE + KEY_SIZE * nr + DC_SIZE * (nr + 1); in is_internal()
774 KEY_SIZE, in search_by_key()
Ddo_balan.c1249 memcpy(insert_key + i, leaf_key(tb->S_new[i], 0), KEY_SIZE); in balance_leaf_new_nodes()
1571 KEY_SIZE); in replace_key()
1574 KEY_SIZE); in replace_key()
Dlbalance.c73 memcpy(&new_ih.ih_key, &ih->ih_key, KEY_SIZE); in leaf_copy_dir_entries()
478 memcpy(&n_ih.ih_key, &ih->ih_key, KEY_SIZE); in leaf_item_bottle()
Dreiserfs.h1329 #define KEY_SIZE (sizeof(struct reiserfs_key)) macro
2049 ((bh)->b_data + BLKH_SIZE + B_NR_ITEMS(bh) * KEY_SIZE + DC_SIZE * (n_pos)))
2064 #define MAX_NR_KEY(bh) ( (MAX_CHILD_SIZE(bh)-DC_SIZE)/(KEY_SIZE+DC_SIZE) )
2996 memcpy(to, from, KEY_SIZE); in copy_key()
Dprints.c756 bh->b_size - BLKH_SIZE - KEY_SIZE * B_NR_ITEMS(bh) - in check_internal_block_head()
Dinode.c1512 memset(INODE_PKEY(inode), 0, KEY_SIZE); in reiserfs_make_bad_inode()
1956 memcpy(INODE_PKEY(inode), &ih.ih_key, KEY_SIZE); in reiserfs_new_inode()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfirmware.c73 #define KEY_SIZE 256 macro
86 u8 modulus[KEY_SIZE];
88 u8 signature[KEY_SIZE];
94 u8 modulus[KEY_SIZE];
96 u8 signature[KEY_SIZE];
97 u8 r2[KEY_SIZE];
375 invalid_header(dd, "key_size", css->key_size, KEY_SIZE / 4) || in verify_css_header()
377 KEY_SIZE / 4) || in verify_css_header()
784 write_rsa_data(dd, MISC_CFG_RSA_SIGNATURE, signature, KEY_SIZE); in run_rsa()
892 write_rsa_data(dd, MISC_CFG_RSA_MODULUS, fdet->modulus, KEY_SIZE); in load_security_variables()
[all …]
/linux-6.1.9/include/trace/events/
Dbcache.h55 __entry->size = KEY_SIZE(k);
352 __entry->size = KEY_SIZE(k);
/linux-6.1.9/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst29 | **bpftool** **map create** *FILE* **type** *TYPE* **key** *KEY_SIZE* **value** *VALUE_SIZE* \
76 …**bpftool map create** *FILE* **type** *TYPE* **key** *KEY_SIZE* **value** *VALUE_SIZE* **entries…
/linux-6.1.9/drivers/crypto/ccree/
Dcc_hw_queue_defs.h53 #define WORD4_KEY_SIZE CC_HWQ_GENMASK(4, KEY_SIZE)