Home
last modified time | relevance | path

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

/fs/nfs/
Dnfs4namespace.c241 const struct nfs4_fs_location *location) in try_location() argument
250 mnt_path = nfs4_pathname_string(&location->rootpath, page2, PAGE_SIZE); in try_location()
260 for (s = 0; s < location->nservers; s++) { in try_location()
261 const struct nfs4_string *buf = &location->servers[s]; in try_location()
329 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral() local
331 if (location == NULL || location->nservers <= 0 || in nfs_follow_referral()
332 location->rootpath.ncomponents == 0) in nfs_follow_referral()
335 mnt = try_location(&mountdata, page, page2, location); in nfs_follow_referral()
425 const struct nfs4_fs_location *location) in nfs4_try_replacing_one_location() argument
439 for (s = 0; s < location->nservers; s++) { in nfs4_try_replacing_one_location()
[all …]
/fs/btrfs/
Dbtrfs_inode.h43 struct btrfs_key location; member
226 u64 ino = inode->location.objectid; in btrfs_ino()
232 if (!ino || inode->location.type == BTRFS_ROOT_ITEM_KEY) in btrfs_ino()
250 if (inode->location.objectid == BTRFS_FREE_INO_OBJECTID) in btrfs_is_free_space_inode()
Dinode-item.c405 struct btrfs_key *location, int mod) in btrfs_lookup_inode() argument
414 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
415 if (ret > 0 && location->type == BTRFS_ROOT_ITEM_KEY && in btrfs_lookup_inode()
416 location->offset == (u64)-1 && path->slots[0] != 0) { in btrfs_lookup_inode()
420 if (found_key.objectid == location->objectid && in btrfs_lookup_inode()
421 found_key.type == location->type) { in btrfs_lookup_inode()
Ddir-item.c64 struct btrfs_key key, location; in btrfs_insert_xattr_item() local
81 memset(&location, 0, sizeof(location)); in btrfs_insert_xattr_item()
84 btrfs_cpu_key_to_disk(&disk_key, &location); in btrfs_insert_xattr_item()
110 struct btrfs_key *location, u8 type, u64 index) in btrfs_insert_dir_item() argument
132 btrfs_cpu_key_to_disk(&disk_key, location); in btrfs_insert_dir_item()
Ddisk-io.h62 struct btrfs_key *location);
75 struct btrfs_key *location) in btrfs_read_fs_root_no_name() argument
77 return btrfs_get_fs_root(fs_info, location, true); in btrfs_read_fs_root_no_name()
Ddisk-io.c1438 struct btrfs_key *location) in btrfs_read_fs_root() argument
1442 root = btrfs_read_tree_root(tree_root, location); in btrfs_read_fs_root()
1541 struct btrfs_key *location, in btrfs_get_fs_root() argument
1549 if (location->objectid == BTRFS_ROOT_TREE_OBJECTID) in btrfs_get_fs_root()
1551 if (location->objectid == BTRFS_EXTENT_TREE_OBJECTID) in btrfs_get_fs_root()
1553 if (location->objectid == BTRFS_CHUNK_TREE_OBJECTID) in btrfs_get_fs_root()
1555 if (location->objectid == BTRFS_DEV_TREE_OBJECTID) in btrfs_get_fs_root()
1557 if (location->objectid == BTRFS_CSUM_TREE_OBJECTID) in btrfs_get_fs_root()
1559 if (location->objectid == BTRFS_QUOTA_TREE_OBJECTID) in btrfs_get_fs_root()
1562 if (location->objectid == BTRFS_UUID_TREE_OBJECTID) in btrfs_get_fs_root()
[all …]
Dinode.c55 struct btrfs_key *location; member
3897 struct btrfs_key location; in btrfs_read_locked_inode() local
3915 memcpy(&location, &BTRFS_I(inode)->location, sizeof(location)); in btrfs_read_locked_inode()
3917 ret = btrfs_lookup_inode(NULL, root, path, &location, 0); in btrfs_read_locked_inode()
4012 btrfs_item_key_to_cpu(leaf, &location, path->slots[0]); in btrfs_read_locked_inode()
4013 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
4017 if (location.type == BTRFS_INODE_REF_KEY) { in btrfs_read_locked_inode()
4022 } else if (location.type == BTRFS_INODE_EXTREF_KEY) { in btrfs_read_locked_inode()
4144 ret = btrfs_lookup_inode(trans, root, path, &BTRFS_I(inode)->location, in btrfs_update_inode_item()
4404 objectid = inode->location.objectid; in btrfs_unlink_subvol()
[all …]
Dtree-log.c866 struct btrfs_key location; in drop_one_dir_item() local
871 btrfs_dir_item_key_to_cpu(leaf, di, &location); in drop_one_dir_item()
880 inode = read_one_inode(root, location.objectid); in drop_one_dir_item()
886 ret = link_to_fixup_dir(trans, root, path, location.objectid); in drop_one_dir_item()
915 struct btrfs_key location; in inode_in_dir() local
924 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location); in inode_in_dir()
925 if (location.objectid != objectid) in inode_in_dir()
937 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location); in inode_in_dir()
938 if (location.objectid == objectid) in inode_in_dir()
1901 struct btrfs_key *location) in insert_one_name() argument
[all …]
Ddelayed-inode.c1481 dir_item->location = *disk_key; in btrfs_insert_delayed_dir_index()
1707 struct btrfs_key location; in btrfs_readdir_delayed_dir_index() local
1737 btrfs_disk_key_to_cpu(&location, &di->location); in btrfs_readdir_delayed_dir_index()
1740 location.objectid, d_type); in btrfs_readdir_delayed_dir_index()
Dctree.h1805 read_eb_member(eb, item, struct btrfs_dir_item, location, key); in btrfs_dir_item_key()
1812 write_eb_member(eb, item, struct btrfs_dir_item, location, key); in btrfs_set_dir_item_key()
1826 read_eb_member(eb, h, struct btrfs_free_space_header, location, key); in btrfs_free_space_key()
1833 write_eb_member(eb, h, struct btrfs_free_space_header, location, key); in btrfs_set_free_space_key()
2718 struct btrfs_key *location, u8 type, u64 index);
2774 struct btrfs_key *location, int mod);
2877 struct inode *btrfs_iget_path(struct super_block *s, struct btrfs_key *location,
2880 struct inode *btrfs_iget(struct super_block *s, struct btrfs_key *location,
Dexport.c42 fid->parent_objectid = BTRFS_I(parent)->location.objectid; in btrfs_encode_fh()
Dsuper.c1154 struct btrfs_key location; in get_default_subvol_objectid() local
1184 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location); in get_default_subvol_objectid()
1186 *objectid = location.objectid; in get_default_subvol_objectid()
Dioctl.c2483 struct btrfs_key upper_limit = BTRFS_I(inode)->location; in btrfs_search_path_in_tree_user()
2708 BTRFS_I(inode)->location.objectid != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_ino_lookup_user()
4058 struct btrfs_key location; in btrfs_ioctl_default_subvol() local
4079 location.objectid = objectid; in btrfs_ioctl_default_subvol()
4080 location.type = BTRFS_ROOT_ITEM_KEY; in btrfs_ioctl_default_subvol()
4081 location.offset = (u64)-1; in btrfs_ioctl_default_subvol()
4083 new_root = btrfs_read_fs_root_no_name(fs_info, &location); in btrfs_ioctl_default_subvol()
Dfree-space-cache.c49 struct btrfs_key location; in __lookup_free_space_inode() local
73 btrfs_disk_key_to_cpu(&location, &disk_key); in __lookup_free_space_inode()
81 inode = btrfs_iget_path(fs_info->sb, &location, root, NULL, path); in __lookup_free_space_inode()
/fs/udf/
Dmisc.c209 uint32_t location, uint16_t *ident) in udf_read_tagged() argument
222 block, location); in udf_read_tagged()
230 if (location != le32_to_cpu(tag_p->tagLocation)) { in udf_read_tagged()
232 block, le32_to_cpu(tag_p->tagLocation), location); in udf_read_tagged()
Dnamei.c1293 struct kernel_lb_addr location = UDF_I(inode)->i_location; in udf_encode_fh() local
1306 fid->udf.block = location.logicalBlockNum; in udf_encode_fh()
1307 fid->udf.partref = location.partitionReferenceNum; in udf_encode_fh()
1312 location = UDF_I(parent)->i_location; in udf_encode_fh()
1313 fid->udf.parent_block = location.logicalBlockNum; in udf_encode_fh()
1314 fid->udf.parent_partref = location.partitionReferenceNum; in udf_encode_fh()
/fs/isofs/
Drock.h61 __u8 location[8]; member
65 __u8 location[8]; member
Drock.c515 reloc_block = isonum_733(rr->u.CL.location); in parse_rock_ridge_inode_internal()
/fs/btrfs/tests/
Dinode-tests.c238 BTRFS_I(inode)->location.type = BTRFS_INODE_ITEM_KEY; in test_btrfs_get_extent()
239 BTRFS_I(inode)->location.objectid = BTRFS_FIRST_FREE_OBJECTID; in test_btrfs_get_extent()
240 BTRFS_I(inode)->location.offset = 0; in test_btrfs_get_extent()
841 BTRFS_I(inode)->location.type = BTRFS_INODE_ITEM_KEY; in test_hole_first()
842 BTRFS_I(inode)->location.objectid = BTRFS_FIRST_FREE_OBJECTID; in test_hole_first()
843 BTRFS_I(inode)->location.offset = 0; in test_hole_first()
/fs/proc/
DKconfig21 meaning it has to be given a location in the directory hierarchy.
22 That location should be /proc. A command such as "mount -t proc proc
/fs/reiserfs/
Dlbalance.c317 int last_loc, last_inserted_loc, location; in leaf_copy_items_entirely() local
364 j = location = (dest_before == 0) ? dest->b_size : ih_location(ih - 1); in leaf_copy_items_entirely()
366 location -= ih_item_len(ih + i - dest_before); in leaf_copy_items_entirely()
367 put_ih_location(ih + i - dest_before, location); in leaf_copy_items_entirely()
/fs/cramfs/
DKconfig46 The location of the CramFs image is determined by a
/fs/ocfs2/
Docfs2_trace.h1761 unsigned int hash, unsigned long long location,
1763 TP_ARGS(ino, name, name_index, hash, location, xe_index),
1769 __field(unsigned long long, location)
1777 __entry->location = location;
1781 __entry->name_index, __entry->hash, __entry->location,
/fs/
DKconfig.binfmt28 ld.so (check the file <file:Documentation/Changes> for location and
/fs/nfsd/
Dnfs4xdr.c2127 struct nfsd4_fs_location *location) in nfsd4_encode_fs_location4() argument
2131 status = nfsd4_encode_components_esc(xdr, ':', location->hosts, in nfsd4_encode_fs_location4()
2135 status = nfsd4_encode_components(xdr, '/', location->path); in nfsd4_encode_fs_location4()