Home
last modified time | relevance | path

Searched refs:root_id (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/tools/testing/selftests/filesystems/statmount/
Dstatmount_test.c108 static uint64_t root_id, parent_id; variable
185 root_id = get_mnt_id("root", "/", STATX_MNT_ID_UNIQUE); in setup_namespace()
226 if (list[0] != root_id) { in test_listmount_empty_root()
229 (unsigned long long) root_id); in test_listmount_empty_root()
241 ret = statmount(root_id, 0, 0, &sm, sizeof(sm), 0); in test_statmount_zero_mask()
267 ret = statmount(root_id, 0, mask, &sm, sizeof(sm), 0); in test_statmount_mnt_basic()
283 if (sm.mnt_id != root_id) { in test_statmount_mnt_basic()
286 (unsigned long long) root_id); in test_statmount_mnt_basic()
327 ret = statmount(root_id, 0, mask, &sm, sizeof(sm), 0); in test_statmount_sb_basic()
379 sm = statmount_alloc(root_id, STATMOUNT_MNT_POINT, 0); in test_statmount_mnt_point()
[all …]
Dstatmount_test_ns.c170 uint64_t root_id; in _test_statmount_mnt_ns_id() local
177 ret = get_mnt_id("/", &root_id); in _test_statmount_mnt_ns_id()
181 ret = statmount(root_id, 0, STATMOUNT_MNT_NS_ID, &sm, sizeof(sm), 0); in _test_statmount_mnt_ns_id()
/linux-6.12.1/lib/
Dobjagg.c29 unsigned int root_id; member
64 unsigned int root_id; member
229 int root_id; in objagg_obj_root_id_alloc() local
233 objagg_obj->root_id = OBJAGG_OBJ_ROOT_ID_INVALID; in objagg_obj_root_id_alloc()
238 min = hnode->root_id; in objagg_obj_root_id_alloc()
239 max = hnode->root_id; in objagg_obj_root_id_alloc()
248 root_id = ida_alloc_range(&objagg->root_ida, min, max, GFP_KERNEL); in objagg_obj_root_id_alloc()
250 if (root_id < 0) in objagg_obj_root_id_alloc()
251 return root_id; in objagg_obj_root_id_alloc()
252 objagg_obj->root_id = root_id; in objagg_obj_root_id_alloc()
[all …]
/linux-6.12.1/drivers/firewire/
Dpacket-serdes-test.c252 unsigned int root_id, bool has_force_root_node, in serialize_phy_packet_phy_config() argument
256 phy_packet_phy_config_set_root_id(quadlet, root_id); in serialize_phy_packet_phy_config()
263 unsigned int *root_id, bool *has_force_root_node, in deserialize_phy_packet_phy_config() argument
268 *root_id = phy_packet_phy_config_get_root_id(quadlet); in deserialize_phy_packet_phy_config()
843 unsigned int root_id; in test_phy_packet_phy_config_force_root_node() local
848 deserialize_phy_packet_phy_config(expected, &packet_identifier, &root_id, in test_phy_packet_phy_config_force_root_node()
853 KUNIT_EXPECT_EQ(test, 0x02, root_id); in test_phy_packet_phy_config_force_root_node()
858 serialize_phy_packet_phy_config(&quadlet, packet_identifier, root_id, has_force_root_node, in test_phy_packet_phy_config_force_root_node()
870 unsigned int root_id; in test_phy_packet_phy_config_gap_count_optimization() local
875 deserialize_phy_packet_phy_config(expected, &packet_identifier, &root_id, in test_phy_packet_phy_config_gap_count_optimization()
[all …]
Dcore-card.c292 int root_id, new_root_id, irm_id, bm_id, local_id; in bm_work() local
325 root_id = root_node->node_id; in bm_work()
466 new_root_id = root_id; in bm_work()
494 (card->gap_count != gap_count || new_root_id != root_id)) in bm_work()
526 root_id, generation, SCODE_100, in bm_work()
Dphy-packet-definitions.h40 static inline void phy_packet_phy_config_set_root_id(u32 *quadlet, unsigned int root_id) in phy_packet_phy_config_set_root_id() argument
43 *quadlet |= (root_id << PHY_CONFIG_ROOT_ID_SHIFT) & PHY_CONFIG_ROOT_ID_MASK; in phy_packet_phy_config_set_root_id()
/linux-6.12.1/fs/btrfs/
Droot-tree.h21 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
24 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id,
Droot-tree.c343 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_del_root_ref() argument
359 key.objectid = root_id; in btrfs_del_root_ref()
391 key.offset = root_id; in btrfs_del_root_ref()
415 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_add_root_ref() argument
431 key.objectid = root_id; in btrfs_add_root_ref()
456 key.offset = root_id; in btrfs_add_root_ref()
Dbackref.c229 if (ref1->root_id < ref2->root_id) in prelim_ref_compare()
231 if (ref1->root_id > ref2->root_id) in prelim_ref_compare()
264 if (newref->root_id == btrfs_root_id(sc->root) && in update_share_count()
389 struct preftree *preftree, u64 root_id, in add_prelim_ref() argument
396 if (root_id == BTRFS_DATA_RELOC_TREE_OBJECTID) in add_prelim_ref()
403 ref->root_id = root_id; in add_prelim_ref()
430 struct preftrees *preftrees, u64 root_id, in add_indirect_ref() argument
439 return add_prelim_ref(fs_info, tree, root_id, key, level, 0, in add_indirect_ref()
508 ref->root_id != btrfs_header_owner(eb)) { in add_all_parents()
532 ref->root_id != btrfs_header_owner(eb))) { in add_all_parents()
[all …]
Dextent-tree.h131 u64 root_id,
Dbackref.h260 u64 root_id; member
Daccessors.h368 root_id, 64);
Dextent-tree.c3427 u64 root_id, in btrfs_free_tree_block() argument
3435 if (root_id != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block()
3442 .ref_root = root_id, in btrfs_free_tree_block()
3466 if (root_id != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block()
Dsend.c1343 static int iterate_backrefs(u64 ino, u64 offset, u64 num_bytes, u64 root_id, in iterate_backrefs() argument
1350 clone_root = bsearch((void *)(uintptr_t)root_id, bctx->sctx->clone_roots, in iterate_backrefs()
1478 const u64 root_id = node->val; in store_backref_cache() local
1481 root = bsearch((void *)(uintptr_t)root_id, sctx->clone_roots, in store_backref_cache()
1493 new_entry->root_ids[new_entry->num_roots] = root_id; in store_backref_cache()
Ddisk-io.c1155 u64 root_id) in btrfs_lookup_fs_root() argument
1161 (unsigned long)root_id); in btrfs_lookup_fs_root()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c456 u32 root_id; member
490 err = mlx5_qos_create_root_node(mdev, &rl->root_id); in mlx5e_mqprio_rl_init()
494 qos_dbg(mdev, "Root created, id %#x\n", rl->root_id); in mlx5e_mqprio_rl_init()
500 err = mlx5_qos_create_leaf_node(mdev, rl->root_id, 0, max_average_bw, in mlx5e_mqprio_rl_init()
513 mlx5_qos_destroy_node(mdev, rl->root_id); in mlx5e_mqprio_rl_init()
525 mlx5_qos_destroy_node(rl->mdev, rl->root_id); in mlx5e_mqprio_rl_cleanup()
/linux-6.12.1/fs/bcachefs/
Dsnapshot.c78 u32 root_id, u32 subvol_id, u32 *tree_id) in bch2_snapshot_tree_create() argument
87 n_tree->v.root_snapshot = cpu_to_le32(root_id); in bch2_snapshot_tree_create()
539 u32 root_id; in check_snapshot_tree() local
546 root_id = le32_to_cpu(st.v->root_snapshot); in check_snapshot_tree()
548 ret = bch2_snapshot_lookup(trans, root_id, &s); in check_snapshot_tree()
553 root_id != bch2_snapshot_root(c, root_id) || in check_snapshot_tree()
574 root_id), in check_snapshot_tree()
587 ret = bch2_snapshot_tree_master_subvol(trans, root_id, &subvol_id); in check_snapshot_tree()
696 u32 root_id = bch2_snapshot_root(c, k.k->p.offset), tree_id; in snapshot_tree_ptr_repair() local
700 BTREE_ID_snapshots, POS(0, root_id), in snapshot_tree_ptr_repair()
[all …]
/linux-6.12.1/include/linux/
Dobjagg.h13 void * (*root_create)(void *priv, void *obj, unsigned int root_id);
/linux-6.12.1/tools/firewire/
Dnosy-dump.h28 uint32_t root_id:6; member
Dnosy-dump.c768 printf("ext phy config: phy_id=%02x", pp->phy_config.root_id); in print_packet()
772 printf(" set_root_id=%02x", pp->phy_config.root_id); in print_packet()
/linux-6.12.1/Documentation/crypto/
Dasymmetric-keys.rst379 root_id=`keyctl add keyring root-certs "" @s`
380 keyctl padd asymmetric "" $root_id < root1.cert
381 keyctl padd asymmetric "" $root_id < root2.cert
385 keyctl restrict_keyring $chain_id asymmetric key_or_keyring:$root_id:chain
/linux-6.12.1/include/trace/events/
Dbtrfs.h1930 __field( u64, root_id )
1943 __entry->root_id = oldref->root_id;
1956 __entry->root_id,
2614 __field( u64, root_id )
2622 __entry->root_id = inode->root->root_key.objectid;
2629 __entry->ino, show_root_type(__entry->root_id),
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c1275 unsigned int root_id) in mlxsw_sp_acl_erp_root_create() argument
1282 root_id != OBJAGG_OBJ_ROOT_ID_INVALID && in mlxsw_sp_acl_erp_root_create()
1283 root_id >= MLXSW_SP_ACL_ERP_MAX_PER_REGION) in mlxsw_sp_acl_erp_root_create()
/linux-6.12.1/include/uapi/linux/
Dbtrfs_tree.h832 __le64 root_id; member
/linux-6.12.1/net/bridge/
Dbr_sysfs_br.c226 static DEVICE_ATTR_RO(root_id);