Home
last modified time | relevance | path

Searched refs:dkeys (Results 1 – 3 of 3) sorted by relevance

/fs/xfs/
Dxfs_fsmap.c822 struct xfs_fsmap dkeys[2]; /* per-dev keys */ in xfs_getfsmap() local
878 dkeys[0] = head->fmh_keys[0]; in xfs_getfsmap()
879 if (dkeys[0].fmr_flags & (FMR_OF_SPECIAL_OWNER | FMR_OF_EXTENT_MAP)) { in xfs_getfsmap()
880 dkeys[0].fmr_physical += dkeys[0].fmr_length; in xfs_getfsmap()
881 dkeys[0].fmr_owner = 0; in xfs_getfsmap()
882 if (dkeys[0].fmr_offset) in xfs_getfsmap()
885 dkeys[0].fmr_offset += dkeys[0].fmr_length; in xfs_getfsmap()
886 dkeys[0].fmr_length = 0; in xfs_getfsmap()
887 memset(&dkeys[1], 0xFF, sizeof(struct xfs_fsmap)); in xfs_getfsmap()
889 if (!xfs_getfsmap_check_keys(dkeys, &head->fmh_keys[1])) in xfs_getfsmap()
[all …]
/fs/ext4/
Dfsmap.c627 struct ext4_fsmap dkeys[2]; /* per-dev keys */ in ext4_getfsmap() local
665 dkeys[0] = head->fmh_keys[0]; in ext4_getfsmap()
666 dkeys[0].fmr_physical += dkeys[0].fmr_length; in ext4_getfsmap()
667 dkeys[0].fmr_owner = 0; in ext4_getfsmap()
668 dkeys[0].fmr_length = 0; in ext4_getfsmap()
669 memset(&dkeys[1], 0xFF, sizeof(struct ext4_fsmap)); in ext4_getfsmap()
671 if (!ext4_getfsmap_check_keys(dkeys, &head->fmh_keys[1])) in ext4_getfsmap()
698 dkeys[1] = head->fmh_keys[1]; in ext4_getfsmap()
700 memset(&dkeys[0], 0, sizeof(struct ext4_fsmap)); in ext4_getfsmap()
705 error = handlers[i].gfd_fn(sb, dkeys, &info); in ext4_getfsmap()
/fs/nilfs2/
Dbtree.c165 __le64 *dkeys; in nilfs_btree_node_init() local
173 dkeys = nilfs_btree_node_dkeys(node); in nilfs_btree_node_init()
176 dkeys[i] = cpu_to_le64(keys[i]); in nilfs_btree_node_init()
241 __le64 *dkeys; in nilfs_btree_node_insert() local
245 dkeys = nilfs_btree_node_dkeys(node); in nilfs_btree_node_insert()
249 memmove(dkeys + index + 1, dkeys + index, in nilfs_btree_node_insert()
250 (nchildren - index) * sizeof(*dkeys)); in nilfs_btree_node_insert()
254 dkeys[index] = cpu_to_le64(key); in nilfs_btree_node_insert()
266 __le64 *dkeys; in nilfs_btree_node_delete() local
270 dkeys = nilfs_btree_node_dkeys(node); in nilfs_btree_node_delete()
[all …]