Home
last modified time | relevance | path

Searched refs:rootid (Results 1 – 5 of 5) sorted by relevance

/linux/security/
H A Dcommoncap.c454 root = le32_to_cpu(nscap->rootid); in cap_inode_getsecurity()
488 nscap->rootid = cpu_to_le32(mappedroot); in cap_inode_getsecurity()
537 uid_t rootid = 0; in rootid_from_xattr() local
540 rootid = le32_to_cpu(nscap->rootid); in rootid_from_xattr()
542 return VFSUIDT_INIT(make_kuid(task_ns, rootid)); in rootid_from_xattr()
559 * xattr to change from v2 to v3, or to fixup the v3 rootid.
579 kuid_t rootid; in cap_convert_nscap() local
598 rootid = from_vfsuid(idmap, fs_ns, vfsrootid); in cap_convert_nscap()
599 if (!uid_valid(rootid)) in cap_convert_nscap()
[all...]
/linux/fs/btrfs/
H A Dctree.h727 static inline bool btrfs_is_fstree(u64 rootid) in btrfs_is_fstree() argument
729 if (rootid == BTRFS_FS_TREE_OBJECTID) in btrfs_is_fstree()
732 if ((s64)rootid < (s64)BTRFS_FIRST_FREE_OBJECTID) in btrfs_is_fstree()
735 if (btrfs_qgroup_level(rootid) != 0) in btrfs_is_fstree()
H A Dtree-checker.c1464 static bool is_valid_dref_root(u64 rootid) in is_valid_dref_root() argument
1473 return btrfs_is_fstree(rootid) || rootid == BTRFS_DATA_RELOC_TREE_OBJECTID || in is_valid_dref_root()
1474 rootid == BTRFS_ROOT_TREE_OBJECTID; in is_valid_dref_root()
H A Dextent-tree.c6270 const u64 rootid = btrfs_root_id(root); in btrfs_drop_snapshot() local
6500 ret = btrfs_qgroup_cleanup_dropped_subvolume(fs_info, rootid); in btrfs_drop_snapshot()
6504 rootid, ERR_PTR(ret)); in btrfs_drop_snapshot()
/linux/include/trace/events/
H A Dbtrfs.h2568 __field( u64, rootid )
2577 __entry->rootid = btrfs_root_id(BTRFS_I(inode)->root);
2586 __entry->rootid, __entry->ino, __entry->start, __entry->len,
2972 __field( u64, rootid )
2983 __entry->rootid = inode ? btrfs_root_id(inode->root) : 0;
2992 __entry->rootid, __entry->start, __entry->len,
3005 __field( u64, rootid )
3016 __entry->rootid = inode ? btrfs_root_id(inode->root) : 0;
3025 __entry->rootid, __entry->start, __entry->len,
3038 __field( u64, rootid )
[all …]