Home
last modified time | relevance | path

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

12

/fs/nfs/
Dnfs4namespace.c289 const struct nfs4_fs_location *location) in try_location() argument
301 for (s = 0; s < location->nservers; s++) { in try_location()
302 const struct nfs4_string *buf = &location->servers[s]; in try_location()
312 export_path = nfs4_pathname_string(&location->rootpath, in try_location()
327 for (s = 0; s < location->nservers; s++) { in try_location()
328 const struct nfs4_string *buf = &location->servers[s]; in try_location()
386 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral() local
388 if (location == NULL || location->nservers <= 0 || in nfs_follow_referral()
389 location->rootpath.ncomponents == 0) in nfs_follow_referral()
392 error = try_location(fc, location); in nfs_follow_referral()
[all …]
/fs/btrfs/
Ddir-item.c65 struct btrfs_key key, location; in btrfs_insert_xattr_item() local
82 memset(&location, 0, sizeof(location)); in btrfs_insert_xattr_item()
85 btrfs_cpu_key_to_disk(&disk_key, &location); in btrfs_insert_xattr_item()
111 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()
Dinode-item.c403 struct btrfs_key *location, int mod) in btrfs_lookup_inode() argument
412 ret = btrfs_search_slot(trans, root, location, path, ins_len, cow); in btrfs_lookup_inode()
413 if (ret > 0 && location->type == BTRFS_ROOT_ITEM_KEY && in btrfs_lookup_inode()
414 location->offset == (u64)-1 && path->slots[0] != 0) { in btrfs_lookup_inode()
418 if (found_key.objectid == location->objectid && in btrfs_lookup_inode()
419 found_key.type == location->type) { in btrfs_lookup_inode()
Dbtrfs_inode.h80 struct btrfs_key location; member
294 u64 ino = inode->location.objectid; in btrfs_ino()
297 if (inode->location.type == BTRFS_ROOT_ITEM_KEY) in btrfs_ino()
Dinode.c3732 struct btrfs_key location; in btrfs_read_locked_inode() local
3750 memcpy(&location, &BTRFS_I(inode)->location, sizeof(location)); in btrfs_read_locked_inode()
3752 ret = btrfs_lookup_inode(NULL, root, path, &location, 0); in btrfs_read_locked_inode()
3858 btrfs_item_key_to_cpu(leaf, &location, path->slots[0]); in btrfs_read_locked_inode()
3859 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
3863 if (location.type == BTRFS_INODE_REF_KEY) { in btrfs_read_locked_inode()
3868 } else if (location.type == BTRFS_INODE_EXTREF_KEY) { in btrfs_read_locked_inode()
3989 ret = btrfs_lookup_inode(trans, root, path, &inode->location, 1); in btrfs_update_inode_item()
4254 objectid = inode->location.objectid; in btrfs_unlink_subvol()
5357 struct btrfs_key *location, u8 *type) in btrfs_inode_by_name() argument
[all …]
Ddir-item.h10 struct btrfs_key *location, u8 type, u64 index);
Dinode-item.h93 struct btrfs_key *location, int mod);
Ddisk-io.c1916 BTRFS_I(inode)->location.objectid = BTRFS_BTREE_INODE_OBJECTID; in btrfs_init_btree_inode()
1917 BTRFS_I(inode)->location.type = 0; in btrfs_init_btree_inode()
1918 BTRFS_I(inode)->location.offset = 0; in btrfs_init_btree_inode()
2212 struct btrfs_key location; in btrfs_read_roots() local
2221 location.type = BTRFS_ROOT_ITEM_KEY; in btrfs_read_roots()
2222 location.offset = 0; in btrfs_read_roots()
2225 location.objectid = BTRFS_BLOCK_GROUP_TREE_OBJECTID; in btrfs_read_roots()
2226 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
2238 location.objectid = BTRFS_DEV_TREE_OBJECTID; in btrfs_read_roots()
2239 root = btrfs_read_tree_root(tree_root, &location); in btrfs_read_roots()
[all …]
Dtree-log.c954 struct btrfs_key location; in drop_one_dir_item() local
959 btrfs_dir_item_key_to_cpu(leaf, di, &location); in drop_one_dir_item()
966 inode = read_one_inode(root, location.objectid); in drop_one_dir_item()
972 ret = link_to_fixup_dir(trans, root, path, location.objectid); in drop_one_dir_item()
996 struct btrfs_key location; in inode_in_dir() local
1005 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location); in inode_in_dir()
1006 if (location.objectid != objectid) in inode_in_dir()
1018 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location); in inode_in_dir()
1019 if (location.objectid == objectid) in inode_in_dir()
1772 struct btrfs_key *location) in insert_one_name() argument
[all …]
Daccessors.h534 read_eb_member(eb, item, struct btrfs_dir_item, location, key); in btrfs_dir_item_key()
541 write_eb_member(eb, item, struct btrfs_dir_item, location, key); in btrfs_set_dir_item_key()
555 read_eb_member(eb, h, struct btrfs_free_space_header, location, key); in btrfs_free_space_key()
562 write_eb_member(eb, h, struct btrfs_free_space_header, location, key); in btrfs_set_free_space_key()
Ddelayed-inode.c1487 dir_item->location = *disk_key; in btrfs_insert_delayed_dir_index()
1772 struct btrfs_key location; in btrfs_readdir_delayed_dir_index() local
1799 btrfs_disk_key_to_cpu(&location, &di->location); in btrfs_readdir_delayed_dir_index()
1802 location.objectid, d_type); in btrfs_readdir_delayed_dir_index()
Dexport.c44 fid->parent_objectid = BTRFS_I(parent)->location.objectid; in btrfs_encode_fh()
Dsuper.c1098 struct btrfs_key location; in get_default_subvol_objectid() local
1128 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location); in get_default_subvol_objectid()
1130 *objectid = location.objectid; in get_default_subvol_objectid()
Dfree-space-cache.c84 struct btrfs_key location; in __lookup_free_space_inode() local
108 btrfs_disk_key_to_cpu(&location, &disk_key); in __lookup_free_space_inode()
116 inode = btrfs_iget_path(fs_info->sb, location.objectid, root, path); in __lookup_free_space_inode()
/fs/udf/
Dmisc.c189 uint32_t location, uint16_t *ident) in udf_read_tagged() argument
202 block, location); in udf_read_tagged()
210 if (location != le32_to_cpu(tag_p->tagLocation)) { in udf_read_tagged()
212 block, le32_to_cpu(tag_p->tagLocation), location); in udf_read_tagged()
Dnamei.c967 struct kernel_lb_addr location = UDF_I(inode)->i_location; in udf_encode_fh() local
980 fid->udf.block = location.logicalBlockNum; in udf_encode_fh()
981 fid->udf.partref = location.partitionReferenceNum; in udf_encode_fh()
986 location = UDF_I(parent)->i_location; in udf_encode_fh()
987 fid->udf.parent_block = location.logicalBlockNum; in udf_encode_fh()
988 fid->udf.parent_partref = location.partitionReferenceNum; in udf_encode_fh()
/fs/isofs/
Drock.h61 __u8 location[8]; member
65 __u8 location[8]; member
Drock.c513 reloc_block = isonum_733(rr->u.CL.location); in parse_rock_ridge_inode_internal()
/fs/btrfs/tests/
Dbtrfs-tests.c64 BTRFS_I(inode)->location.type = BTRFS_INODE_ITEM_KEY; in btrfs_new_test_inode()
65 BTRFS_I(inode)->location.objectid = BTRFS_FIRST_FREE_OBJECTID; in btrfs_new_test_inode()
66 BTRFS_I(inode)->location.offset = 0; in btrfs_new_test_inode()
/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.h1762 unsigned int hash, unsigned long long location,
1764 TP_ARGS(ino, name, name_index, hash, location, xe_index),
1770 __field(unsigned long long, location)
1778 __entry->location = location;
1782 __entry->name_index, __entry->hash, __entry->location,
/fs/
DKconfig.binfmt28 ld.so (check the file <file:Documentation/Changes> for location and
/fs/nfsd/
Dnfs4xdr.c2668 struct nfsd4_fs_location *location) in nfsd4_encode_fs_location4() argument
2672 status = nfsd4_encode_components_esc(xdr, ':', location->hosts, in nfsd4_encode_fs_location4()
2676 status = nfsd4_encode_components(xdr, '/', location->path); in nfsd4_encode_fs_location4()

12