Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c107 static uint64_t root_id, parent_id; variable
225 if (list[0] != root_id) { in test_listmount_empty_root()
228 (unsigned long long) root_id); in test_listmount_empty_root()
240 ret = statmount(root_id, 0, 0, &sm, sizeof(sm), 0); in test_statmount_zero_mask()
282 if (sm.mnt_id != root_id) { in test_statmount_mnt_basic()
285 (unsigned long long) root_id); in test_statmount_mnt_basic()
408 sm = statmount_alloc(root_id, STATMOUNT_MNT_ROOT, 0); in test_statmount_mnt_root()
441 sm = statmount_alloc(root_id, STATMOUNT_FS_TYPE, 0); in test_statmount_fs_type()
560 sm = statmount_alloc(root_id, mask, 0); in test_statmount_string()
589 ret = statmount(root_id, 0, mask, sm, exactsize, 0); in test_statmount_string()
[all …]
H A 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.15/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c67 uint64_t root_id; in FIXTURE() local
97 self->root_id = get_mnt_id(_metadata, "/"); in FIXTURE_SETUP()
98 ASSERT_NE(self->root_id, 0); in FIXTURE_SETUP()
278 uint64_t mnts[2] = { self->root_id }; in TEST_F()
302 uint64_t mnts[2] = { self->root_id }; in TEST_F()
336 mnts[0] = self->root_id; in TEST_F()
348 mnts2[0] = self->root_id; in TEST_F()
358 uint64_t mnts[2] = { self->root_id }; in TEST_F()
394 uint64_t mnts[6] = { self->root_id }; in TEST_F()
470 uint64_t mnts[3] = { self->root_id }; in TEST_F()
[all …]
/linux-6.15/lib/
H A Dobjagg.c29 unsigned int root_id; member
64 unsigned int root_id; member
229 int root_id; in objagg_obj_root_id_alloc() local
238 min = hnode->root_id; in objagg_obj_root_id_alloc()
239 max = hnode->root_id; 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()
261 ida_free(&objagg->root_ida, objagg_obj->root_id); in objagg_obj_root_id_free()
275 objagg_obj->root_id); in objagg_obj_root_create()
[all …]
/linux-6.15/fs/btrfs/
H A 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,
H A Droot-tree.c342 int btrfs_del_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_del_root_ref() argument
358 key.objectid = root_id; in btrfs_del_root_ref()
390 key.offset = root_id; in btrfs_del_root_ref()
414 int btrfs_add_root_ref(struct btrfs_trans_handle *trans, u64 root_id, in btrfs_add_root_ref() argument
430 key.objectid = root_id; in btrfs_add_root_ref()
454 key.offset = root_id; in btrfs_add_root_ref()
H A 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()
279 if (newref->root_id == btrfs_root_id(sc->root) && in update_share_count()
388 struct preftree *preftree, u64 root_id, in add_prelim_ref() argument
395 if (root_id == BTRFS_DATA_RELOC_TREE_OBJECTID) in add_prelim_ref()
402 ref->root_id = root_id; in add_prelim_ref()
429 struct preftrees *preftrees, u64 root_id, in add_indirect_ref() argument
507 ref->root_id != btrfs_header_owner(eb)) { in add_all_parents()
531 ref->root_id != btrfs_header_owner(eb))) { in add_all_parents()
670 ref->root_id, level, ref->count, ret, in resolve_indirect_ref()
[all …]
H A Dextent-tree.h129 u64 root_id,
H A Dbackref.h260 u64 root_id; member
/linux-6.15/drivers/firewire/
H A 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 …]
H A 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()
H A 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.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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.15/fs/bcachefs/
H A Dsnapshot.c79 u32 root_id, u32 subvol_id, u32 *tree_id) in bch2_snapshot_tree_create() argument
88 n_tree->v.root_snapshot = cpu_to_le32(root_id); in bch2_snapshot_tree_create()
465 u32 root_id; in check_snapshot_tree() local
472 root_id = le32_to_cpu(st.v->root_snapshot); in check_snapshot_tree()
476 POS(0, root_id), 0, snapshot); in check_snapshot_tree()
485 root_id != bch2_snapshot_root(c, root_id) || in check_snapshot_tree()
513 root_id), in check_snapshot_tree()
641 BTREE_ID_snapshots, POS(0, root_id), in snapshot_tree_ptr_repair()
656 bch2_snapshot_tree_create(trans, root_id, in snapshot_tree_ptr_repair()
663 if (k.k->p.offset == root_id) in snapshot_tree_ptr_repair()
[all …]
/linux-6.15/include/linux/
H A Dobjagg.h13 void * (*root_create)(void *priv, void *obj, unsigned int root_id);
/linux-6.15/tools/bpf/bpftool/Documentation/
H A Dbpftool-btf.rst27 | **bpftool** **btf dump** *BTF_SRC* [**format** *FORMAT*] [**root_id** *ROOT_ID*]
46 bpftool btf dump *BTF_SRC* [format *FORMAT*] [root_id *ROOT_ID*]
70 **root_id** option can be used to filter a dump to a single type and all
/linux-6.15/tools/firewire/
H A Dnosy-dump.h28 uint32_t root_id:6; member
H A 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.15/tools/bpf/bpftool/
H A Dbtf.c1002 __u32 root_id; in do_dump() local
1016 root_id = strtoul(*argv, &end, 0); in do_dump()
1023 if (root_type_ids[i] == root_id) { in do_dump()
1025 p_err("duplicate root_id %u supplied", root_id); in do_dump()
1029 root_type_ids[root_type_cnt++] = root_id; in do_dump()
/linux-6.15/Documentation/crypto/
H A 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.15/tools/bpf/bpftool/bash-completion/
H A Dbpftool933 root_id)
937 COMPREPLY=( $( compgen -W "unsorted root_id" -- "$cur" ) )
943 COMPREPLY=( $( compgen -W "root_id" -- "$cur" ) )
950 COMPREPLY=( $( compgen -W "root_id" -- "$cur" ) )
/linux-6.15/include/trace/events/
H A Dbtrfs.h1934 __field( u64, root_id )
1947 __entry->root_id = oldref->root_id;
1960 __entry->root_id,
2616 __field( u64, root_id )
2624 __entry->root_id = inode->root->root_key.objectid;
2631 __entry->ino, show_root_type(__entry->root_id),
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A 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.15/include/uapi/linux/
H A Dbtrfs_tree.h832 __le64 root_id; member
/linux-6.15/net/bridge/
H A Dbr_sysfs_br.c226 static DEVICE_ATTR_RO(root_id);

12