Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 18 of 18) sorted by relevance

/fs/ntfs/
Drunlist.c219 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_append() argument
228 if ((loc + 1) < dsize) in ntfs_rl_append()
229 right = ntfs_are_rl_mergeable(src + ssize - 1, dst + loc + 1); in ntfs_rl_append()
242 __ntfs_rl_merge(src + ssize - 1, dst + loc + 1); in ntfs_rl_append()
245 marker = loc + ssize + 1; in ntfs_rl_append()
248 ntfs_rl_mm(dst, marker, loc + 1 + right, dsize - (loc + 1 + right)); in ntfs_rl_append()
249 ntfs_rl_mc(dst, loc + 1, src, 0, ssize); in ntfs_rl_append()
252 dst[loc].length = dst[loc + 1].vcn - dst[loc].vcn; in ntfs_rl_append()
286 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_insert() argument
299 if (loc == 0) in ntfs_rl_insert()
[all …]
/fs/ocfs2/
Dxattr.c148 int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc,
150 void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc);
156 void *(*xlo_offset_pointer)(struct ocfs2_xa_loc *loc, int offset);
159 int (*xlo_can_reuse)(struct ocfs2_xa_loc *loc,
163 int (*xlo_check_space)(struct ocfs2_xa_loc *loc,
170 int (*xlo_get_free_start)(struct ocfs2_xa_loc *loc);
176 void (*xlo_wipe_namevalue)(struct ocfs2_xa_loc *loc);
179 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash);
182 void (*xlo_add_namevalue)(struct ocfs2_xa_loc *loc, int size);
188 void (*xlo_fill_value_buf)(struct ocfs2_xa_loc *loc,
[all …]
/fs/jfs/
Djfs_types.h113 pxd_t loc; /* 8: address and length in unit of fsblksize */ member
125 #define DXDlength(dxd, len) PXDlength(&(dxd)->loc, len)
126 #define DXDaddress(dxd, addr) PXDaddress(&(dxd)->loc, addr)
127 #define lengthDXD(dxd) lengthPXD(&(dxd)->loc)
128 #define addressDXD(dxd) addressPXD(&(dxd)->loc)
Djfs_xtree.h36 pxd_t loc; /* 8: length and address in unit of fsblksize */ member
50 #define XADaddress(xad, address64) PXDaddress(&(xad)->loc, address64)
51 #define XADlength(xad, length32) PXDlength(&(xad)->loc, length32)
56 #define addressXAD(xad) addressPXD(&(xad)->loc)
57 #define lengthXAD(xad) lengthPXD(&(xad)->loc)
/fs/udf/
Dmisc.c48 uint32_t type, uint8_t loc) in udf_add_extendedattr() argument
68 if (loc & 0x01 && offset >= size) { in udf_add_extendedattr()
144 if (loc & 0x02) in udf_add_extendedattr()
261 struct kernel_lb_addr *loc, in udf_read_ptagged() argument
264 return udf_read_tagged(sb, udf_get_lb_pblock(sb, loc, offset), in udf_read_ptagged()
265 loc->logicalBlockNum + offset, ident); in udf_read_ptagged()
279 uint32_t loc, int length) in udf_new_tag() argument
285 tptr->tagLocation = cpu_to_le32(loc); in udf_new_tag()
Dpartition.c52 uint32_t loc; in udf_get_pblock_virt15() local
68 loc = le32_to_cpu(((__le32 *)(iinfo->i_ext.i_data + in udf_get_pblock_virt15()
82 loc = udf_block_map(sbi->s_vat_inode, newblock); in udf_get_pblock_virt15()
84 bh = sb_bread(sb, loc); in udf_get_pblock_virt15()
87 sb, block, partition, loc, index); in udf_get_pblock_virt15()
91 loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); in udf_get_pblock_virt15()
101 return udf_get_pblock(sb, loc, in udf_get_pblock_virt15()
Dsuper.c1117 struct kernel_lb_addr loc = { in udf_fill_partdesc_info() local
1124 inode = udf_iget_special(sb, &loc); in udf_fill_partdesc_info()
1152 struct kernel_lb_addr loc = { in udf_fill_partdesc_info() local
1159 inode = udf_iget_special(sb, &loc); in udf_fill_partdesc_info()
1369 uint32_t loc; in udf_load_sparable_map() local
1392 loc = le32_to_cpu(spm->locSparingTable[i]); in udf_load_sparable_map()
1393 bh = udf_read_tagged(sb, loc, loc, &ident); in udf_load_sparable_map()
1557 static void udf_load_logicalvolint(struct super_block *sb, struct kernel_extent_ad loc) in udf_load_logicalvolint() argument
1567 while (loc.extLength > 0 && in udf_load_logicalvolint()
1568 (bh = udf_read_tagged(sb, loc.extLocation, in udf_load_logicalvolint()
[all …]
Dudfdecl.h203 udf_get_lb_pblock(struct super_block *sb, struct kernel_lb_addr *loc, in udf_get_lb_pblock() argument
206 return udf_get_pblock(sb, loc->logicalBlockNum, in udf_get_lb_pblock()
207 loc->partitionReferenceNum, offset); in udf_get_lb_pblock()
Dballoc.c40 struct kernel_lb_addr loc; in read_block_bitmap() local
42 loc.logicalBlockNum = bitmap->s_extPosition; in read_block_bitmap()
43 loc.partitionReferenceNum = UDF_SB(sb)->s_partition; in read_block_bitmap()
45 bh = udf_tread(sb, udf_get_lb_pblock(sb, &loc, block)); in read_block_bitmap()
Dnamei.c326 struct kernel_lb_addr loc; in udf_lookup() local
332 loc = lelb_to_cpu(cfi.icb.extLocation); in udf_lookup()
333 inode = udf_iget(dir->i_sb, &loc); in udf_lookup()
1269 struct kernel_lb_addr loc; in udf_nfs_get_inode() local
1274 loc.logicalBlockNum = block; in udf_nfs_get_inode()
1275 loc.partitionReferenceNum = partref; in udf_nfs_get_inode()
1276 inode = udf_iget(sb, &loc); in udf_nfs_get_inode()
Dinode.c1341 struct kernel_lb_addr loc; in udf_read_inode() local
1345 loc = lelb_to_cpu(ie->indirectICB.extLocation); in udf_read_inode()
1349 memcpy(&iinfo->i_location, &loc, in udf_read_inode()
/fs/nfs/
Dnfs4namespace.c306 int loc, error; in nfs_follow_referral() local
328 for (loc = 0; loc < locations->nlocations; loc++) { in nfs_follow_referral()
329 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral()
491 int loc, error; in nfs4_replace_transport() local
505 for (loc = 0; loc < locations->nlocations; loc++) { in nfs4_replace_transport()
507 &locations->locations[loc]; in nfs4_replace_transport()
Dnfs4xdr.c3640 struct nfs4_fs_location *loc; in decode_attr_fs_locations() local
3644 loc = &res->locations[res->nlocations]; in decode_attr_fs_locations()
3651 for (loc->nservers = 0; loc->nservers < m; loc->nservers++) { in decode_attr_fs_locations()
3654 if (loc->nservers == NFS4_FS_LOCATION_MAXSERVERS) { in decode_attr_fs_locations()
3661 for (i = loc->nservers; i < m; i++) { in decode_attr_fs_locations()
3670 server = &loc->servers[loc->nservers]; in decode_attr_fs_locations()
3676 status = decode_pathname(xdr, &loc->rootpath); in decode_attr_fs_locations()
/fs/
Dbinfmt_elf.c687 } *loc; in load_elf_binary() local
690 loc = kmalloc(sizeof(*loc), GFP_KERNEL); in load_elf_binary()
691 if (!loc) { in load_elf_binary()
697 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary()
701 if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
704 if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN) in load_elf_binary()
706 if (!elf_check_arch(&loc->elf_ex)) in load_elf_binary()
711 elf_phdata = load_elf_phdrs(&loc->elf_ex, bprm->file); in load_elf_binary()
724 for (i = 0; i < loc->elf_ex.e_phnum; i++) { in load_elf_binary()
768 (void *)&loc->interp_elf_ex, in load_elf_binary()
[all …]
/fs/ufs/
Dufs_fs.h254 #define ufs_blkoff(loc) ((loc) & uspi->s_qbmask) argument
255 #define ufs_fragoff(loc) ((loc) & uspi->s_qfmask) argument
257 #define ufs_lblkno(loc) ((loc) >> uspi->s_bshift) argument
258 #define ufs_numfrags(loc) ((loc) >> uspi->s_fshift) argument
Dballoc.c815 unsigned start, length, loc; in ufs_bitmap_search() local
828 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff + start, length, in ufs_bitmap_search()
831 if (loc == 0) { in ufs_bitmap_search()
833 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff, length, in ufs_bitmap_search()
837 if (loc == 0) { in ufs_bitmap_search()
847 result = (start + length - loc) << 3; in ufs_bitmap_search()
/fs/gfs2/
Dquota.c767 loff_t loc) in gfs2_write_disk_quota() argument
776 pg_beg = loc >> PAGE_SHIFT; in gfs2_write_disk_quota()
777 pg_off = loc % PAGE_SIZE; in gfs2_write_disk_quota()
810 static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, in gfs2_adjust_quota() argument
827 err = gfs2_internal_read(ip, (char *)&q, &loc, sizeof(q)); in gfs2_adjust_quota()
831 loc -= sizeof(q); /* gfs2_internal_read would've advanced the loc ptr */ in gfs2_adjust_quota()
852 err = gfs2_write_disk_quota(ip, &q, loc); in gfs2_adjust_quota()
854 size = loc + sizeof(struct gfs2_quota); in gfs2_adjust_quota()
/fs/btrfs/
Dsend.c2936 struct btrfs_key loc; in can_rmdir() local
2975 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &loc); in can_rmdir()
2977 dm = get_waiting_dir_move(sctx, loc.objectid); in can_rmdir()
2992 if (loc.objectid > send_progress) { in can_rmdir()