Home
last modified time | relevance | path

Searched refs:keys (Results 1 – 15 of 15) sorted by relevance

/fs/xfs/
Dxfs_fsmap.c173 struct xfs_fsmap *keys,
406 struct xfs_fsmap *keys, in xfs_getfsmap_logdev() argument
414 info->low.rm_startblock = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical); in xfs_getfsmap_logdev()
415 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in xfs_getfsmap_logdev()
416 error = xfs_fsmap_owner_to_rmap(&info->low, keys); in xfs_getfsmap_logdev()
420 xfs_getfsmap_set_irec_flags(&info->low, &keys[0]); in xfs_getfsmap_logdev()
422 error = xfs_fsmap_owner_to_rmap(&info->high, keys + 1); in xfs_getfsmap_logdev()
435 if (keys[0].fmr_physical > 0) in xfs_getfsmap_logdev()
475 struct xfs_fsmap *keys, in __xfs_getfsmap_rtdev() argument
487 if (keys[0].fmr_physical >= eofs) in __xfs_getfsmap_rtdev()
[all …]
/fs/xfs/libxfs/
Dxfs_iext_tree.c117 uint64_t keys[KEYS_PER_NODE]; member
281 if (node->keys[n] > offset) in xfs_iext_key_cmp()
283 if (node->keys[n] < offset) in xfs_iext_key_cmp()
366 if (node->keys[i] == XFS_IEXT_KEY_INVALID) in xfs_iext_node_nr_entries()
407 node->keys[0] = xfs_iext_leaf_key(prev, 0); in xfs_iext_grow()
414 node->keys[0] = prev->keys[0]; in xfs_iext_grow()
419 node->keys[i] = XFS_IEXT_KEY_INVALID; in xfs_iext_grow()
440 if (node->keys[i] == old_offset) in xfs_iext_update_node()
441 node->keys[i] = new_offset; in xfs_iext_update_node()
472 new->keys[i] = node->keys[nr_keep + i]; in xfs_iext_split_node()
[all …]
Dxfs_rtbitmap.c1071 struct xfs_rtalloc_rec keys[2]; in xfs_rtalloc_query_all() local
1073 keys[0].ar_startext = 0; in xfs_rtalloc_query_all()
1074 keys[1].ar_startext = tp->t_mountp->m_sb.sb_rextents - 1; in xfs_rtalloc_query_all()
1075 keys[0].ar_extcount = keys[1].ar_extcount = 0; in xfs_rtalloc_query_all()
1077 return xfs_rtalloc_query_range(tp, &keys[0], &keys[1], fn, priv); in xfs_rtalloc_query_all()
/fs/ext4/
Dfsmap.c59 struct ext4_fsmap *keys,
256 static int ext4_getfsmap_logdev(struct super_block *sb, struct ext4_fsmap *keys, in ext4_getfsmap_logdev() argument
263 info->gfi_low = keys[0]; in ext4_getfsmap_logdev()
278 if (keys[0].fmr_physical > 0) in ext4_getfsmap_logdev()
467 struct ext4_fsmap *keys, in ext4_getfsmap_datadev() argument
483 if (keys[0].fmr_physical >= eofs) in ext4_getfsmap_datadev()
485 else if (keys[0].fmr_physical < bofs) in ext4_getfsmap_datadev()
486 keys[0].fmr_physical = bofs; in ext4_getfsmap_datadev()
487 if (keys[1].fmr_physical >= eofs) in ext4_getfsmap_datadev()
488 keys[1].fmr_physical = eofs - 1; in ext4_getfsmap_datadev()
[all …]
/fs/nilfs2/
Dbmap.c108 __u64 keys[NILFS_BMAP_SMALL_HIGH + 1]; in nilfs_bmap_do_insert() local
116 bmap, keys, ptrs, NILFS_BMAP_SMALL_HIGH + 1); in nilfs_bmap_do_insert()
120 bmap, key, ptr, keys, ptrs, n); in nilfs_bmap_do_insert()
163 __u64 keys[NILFS_BMAP_LARGE_LOW + 1]; in nilfs_bmap_do_delete() local
171 bmap, keys, ptrs, NILFS_BMAP_LARGE_LOW + 1); in nilfs_bmap_do_delete()
175 bmap, key, keys, ptrs, n); in nilfs_bmap_do_delete()
Ddirect.c208 __u64 *keys, __u64 *ptrs, int nitems) in nilfs_direct_gather_data() argument
220 keys[n] = key; in nilfs_direct_gather_data()
229 __u64 key, __u64 *keys, __u64 *ptrs, int n) in nilfs_direct_delete_and_convert() argument
248 if ((j < n) && (i == keys[j])) { in nilfs_direct_delete_and_convert()
Dbtree.c164 const __u64 *keys, const __u64 *ptrs) in nilfs_btree_node_init() argument
177 dkeys[i] = cpu_to_le64(keys[i]); in nilfs_btree_node_init()
1693 __u64 *keys, __u64 *ptrs, int nitems) in nilfs_btree_gather_data() argument
1731 keys[i] = le64_to_cpu(dkeys[i]); in nilfs_btree_gather_data()
1801 const __u64 *keys, const __u64 *ptrs, in nilfs_btree_commit_convert_and_insert() argument
1829 nilfs_btree_node_init(node, 0, 1, n, ncblk, keys, ptrs); in nilfs_btree_commit_convert_and_insert()
1843 &keys[0], &tmpptr); in nilfs_btree_commit_convert_and_insert()
1851 keys, ptrs); in nilfs_btree_commit_convert_and_insert()
1873 const __u64 *keys, const __u64 *ptrs, int n) in nilfs_btree_convert_and_insert() argument
1897 nilfs_btree_commit_convert_and_insert(btree, key, ptr, keys, ptrs, n, in nilfs_btree_convert_and_insert()
/fs/crypto/
Dkeysetup.c165 struct fscrypt_prepared_key *keys, in setup_per_mode_enc_key() argument
181 prep_key = &keys[mode_num]; in setup_per_mode_enc_key()
202 if (fscrypt_is_key_prepared(&keys[i], ci)) { in setup_per_mode_enc_key()
Dkeyring.c968 if (mk->mk_users && mk->mk_users->keys.nr_leaves_on_tree != 0) { in do_remove_key()
977 if (mk->mk_users->keys.nr_leaves_on_tree != 0) { in do_remove_key()
1108 arg.user_count = mk->mk_users->keys.nr_leaves_on_tree; in fscrypt_ioctl_get_key_status()
/fs/ecryptfs/
DKconfig22 for userspace to wrap/unwrap file encryption keys by other
/fs/verity/
Dsignature.c64 if (fsverity_keyring->keys.nr_leaves_on_tree == 0) { in fsverity_verify_signature()
/fs/btrfs/
Ddelayed-inode.c704 struct btrfs_key *keys; in btrfs_batch_insert_items() local
752 keys = kmalloc_array(nitems, sizeof(struct btrfs_key), GFP_NOFS); in btrfs_batch_insert_items()
753 if (!keys) { in btrfs_batch_insert_items()
767 keys[i] = next->key; in btrfs_batch_insert_items()
773 setup_items_for_insert(root, path, keys, data_size, in btrfs_batch_insert_items()
793 kfree(keys); in btrfs_batch_insert_items()
Ddisk-io.c151 struct lock_class_key keys[BTRFS_MAX_LEVEL + 1]; member
187 BUG_ON(level >= ARRAY_SIZE(ks->keys)); in btrfs_set_buffer_lockdep_class()
195 &ks->keys[level], ks->names[level]); in btrfs_set_buffer_lockdep_class()
/fs/cifs/
DKconfig170 bool "Dump encryption keys for offline decryption (Unsafe)"
173 Enabling this will dump the encryption and decryption keys
/fs/befs/
DChangeLog38 keys within btree nodes, rather than the linear search we were using