/fs/ntfs/ |
D | runlist.c | 219 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/udf/ |
D | misc.c | 49 uint32_t type, uint8_t loc) in udf_add_extendedattr() argument 69 if (loc & 0x01 && offset >= size) { in udf_add_extendedattr() 145 if (loc & 0x02) in udf_add_extendedattr() 258 struct buffer_head *udf_read_ptagged(struct super_block *sb, kernel_lb_addr loc, in udf_read_ptagged() argument 261 return udf_read_tagged(sb, udf_get_lb_pblock(sb, loc, offset), in udf_read_ptagged() 262 loc.logicalBlockNum + offset, ident); in udf_read_ptagged() 276 uint32_t loc, int length) in udf_new_tag() argument 282 tptr->tagLocation = cpu_to_le32(loc); in udf_new_tag()
|
D | partition.c | 53 uint32_t loc; in udf_get_pblock_virt15() local 69 loc = le32_to_cpu(((__le32 *)(iinfo->i_ext.i_data + in udf_get_pblock_virt15() 83 loc = udf_block_map(sbi->s_vat_inode, newblock); in udf_get_pblock_virt15() 85 bh = sb_bread(sb, loc); in udf_get_pblock_virt15() 88 sb, block, partition, loc, index); in udf_get_pblock_virt15() 92 loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); in udf_get_pblock_virt15() 102 return udf_get_pblock(sb, loc, in udf_get_pblock_virt15()
|
D | super.c | 1122 kernel_lb_addr loc = { in udf_fill_partdesc_info() local 1128 map->s_uspace.s_table = udf_iget(sb, loc); in udf_fill_partdesc_info() 1157 kernel_lb_addr loc = { in udf_fill_partdesc_info() local 1163 map->s_fspace.s_table = udf_iget(sb, loc); in udf_fill_partdesc_info() 1384 uint32_t loc; in udf_load_logicalvol() local 1395 loc = le32_to_cpu( in udf_load_logicalvol() 1397 bh2 = udf_read_tagged(sb, loc, loc, in udf_load_logicalvol() 1493 static void udf_load_logicalvolint(struct super_block *sb, kernel_extent_ad loc) in udf_load_logicalvolint() argument 1500 while (loc.extLength > 0 && in udf_load_logicalvolint() 1501 (bh = udf_read_tagged(sb, loc.extLocation, in udf_load_logicalvolint() [all …]
|
D | udfdecl.h | 65 #define udf_get_lb_pblock(sb,loc,offset) udf_get_pblock((sb), (loc).logicalBlockNum, (loc).partitio… argument
|
D | balloc.c | 90 kernel_lb_addr loc; in read_block_bitmap() local 92 loc.logicalBlockNum = bitmap->s_extPosition; in read_block_bitmap() 93 loc.partitionReferenceNum = UDF_SB(sb)->s_partition; in read_block_bitmap() 95 bh = udf_tread(sb, udf_get_lb_pblock(sb, loc, block)); in read_block_bitmap()
|
D | namei.c | 1275 kernel_lb_addr loc; in udf_nfs_get_inode() local 1280 loc.logicalBlockNum = block; in udf_nfs_get_inode() 1281 loc.partitionReferenceNum = partref; in udf_nfs_get_inode() 1282 inode = udf_iget(sb, loc); in udf_nfs_get_inode()
|
D | inode.c | 1105 kernel_lb_addr loc; in __udf_read_inode() local 1109 loc = lelb_to_cpu(ie->indirectICB.extLocation); in __udf_read_inode() 1112 (nbh = udf_read_ptagged(inode->i_sb, loc, 0, in __udf_read_inode() 1117 &loc, in __udf_read_inode()
|
/fs/ |
D | binfmt_elf.c | 591 } *loc; in load_elf_binary() local 593 loc = kmalloc(sizeof(*loc), GFP_KERNEL); in load_elf_binary() 594 if (!loc) { in load_elf_binary() 600 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary() 604 if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary() 607 if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN) in load_elf_binary() 609 if (!elf_check_arch(&loc->elf_ex)) in load_elf_binary() 615 if (loc->elf_ex.e_phentsize != sizeof(struct elf_phdr)) in load_elf_binary() 617 if (loc->elf_ex.e_phnum < 1 || in load_elf_binary() 618 loc->elf_ex.e_phnum > 65536U / sizeof(struct elf_phdr)) in load_elf_binary() [all …]
|
/fs/nfs/ |
D | nfs4namespace.c | 163 int loc, error; in nfs_follow_referral() local 186 for (loc = 0; loc < locations->nlocations; loc++) { in nfs_follow_referral() 187 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral()
|
D | nfs4xdr.c | 2445 struct nfs4_fs_location *loc = &res->locations[res->nlocations]; in decode_attr_fs_locations() local 2450 loc->nservers = 0; in decode_attr_fs_locations() 2452 while (loc->nservers < m) { in decode_attr_fs_locations() 2453 struct nfs4_string *server = &loc->servers[loc->nservers]; in decode_attr_fs_locations() 2458 if (loc->nservers < NFS4_FS_LOCATION_MAXSERVERS) in decode_attr_fs_locations() 2459 loc->nservers++; in decode_attr_fs_locations() 2467 for (i = loc->nservers; i < m; i++) { in decode_attr_fs_locations() 2476 status = decode_pathname(xdr, &loc->rootpath); in decode_attr_fs_locations()
|
/fs/ufs/ |
D | ufs_fs.h | 241 #define ufs_blkoff(loc) ((loc) & uspi->s_qbmask) argument 242 #define ufs_fragoff(loc) ((loc) & uspi->s_qfmask) argument 244 #define ufs_lblkno(loc) ((loc) >> uspi->s_bshift) argument 245 #define ufs_numfrags(loc) ((loc) >> uspi->s_fshift) argument
|
D | balloc.c | 824 unsigned start, length, loc; in ufs_bitmap_search() local 840 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff + start, length, in ufs_bitmap_search() 843 if (loc == 0) { in ufs_bitmap_search() 845 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff, length, in ufs_bitmap_search() 849 if (loc == 0) { in ufs_bitmap_search() 859 result = (start + length - loc) << 3; in ufs_bitmap_search()
|
/fs/gfs2/ |
D | quota.c | 605 static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, in gfs2_adjust_quota() argument 610 unsigned long index = loc >> PAGE_CACHE_SHIFT; in gfs2_adjust_quota() 611 unsigned offset = loc & (PAGE_CACHE_SIZE - 1); in gfs2_adjust_quota()
|