/fs/ntfs/ |
D | runlist.c | 205 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_append() argument 214 if ((loc + 1) < dsize) in ntfs_rl_append() 215 right = ntfs_are_rl_mergeable(src + ssize - 1, dst + loc + 1); in ntfs_rl_append() 228 __ntfs_rl_merge(src + ssize - 1, dst + loc + 1); in ntfs_rl_append() 231 marker = loc + ssize + 1; in ntfs_rl_append() 234 ntfs_rl_mm(dst, marker, loc + 1 + right, dsize - (loc + 1 + right)); in ntfs_rl_append() 235 ntfs_rl_mc(dst, loc + 1, src, 0, ssize); in ntfs_rl_append() 238 dst[loc].length = dst[loc + 1].vcn - dst[loc].vcn; in ntfs_rl_append() 272 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_insert() argument 285 if (loc == 0) in ntfs_rl_insert() [all …]
|
/fs/ocfs2/ |
D | xattr.c | 140 int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc, 142 void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc); 148 void *(*xlo_offset_pointer)(struct ocfs2_xa_loc *loc, int offset); 151 int (*xlo_can_reuse)(struct ocfs2_xa_loc *loc, 155 int (*xlo_check_space)(struct ocfs2_xa_loc *loc, 162 int (*xlo_get_free_start)(struct ocfs2_xa_loc *loc); 168 void (*xlo_wipe_namevalue)(struct ocfs2_xa_loc *loc); 171 void (*xlo_add_entry)(struct ocfs2_xa_loc *loc, u32 name_hash); 174 void (*xlo_add_namevalue)(struct ocfs2_xa_loc *loc, int size); 180 void (*xlo_fill_value_buf)(struct ocfs2_xa_loc *loc, [all …]
|
/fs/ |
D | binfmt_elf.c | 691 } *loc; in load_elf_binary() local 695 loc = kmalloc(sizeof(*loc), GFP_KERNEL); in load_elf_binary() 696 if (!loc) { in load_elf_binary() 702 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary() 706 if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary() 709 if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN) in load_elf_binary() 711 if (!elf_check_arch(&loc->elf_ex)) in load_elf_binary() 713 if (elf_check_fdpic(&loc->elf_ex)) in load_elf_binary() 718 elf_phdata = load_elf_phdrs(&loc->elf_ex, bprm->file); in load_elf_binary() 723 for (i = 0; i < loc->elf_ex.e_phnum; i++, elf_ppnt++) { in load_elf_binary() [all …]
|
/fs/jfs/ |
D | jfs_types.h | 100 pxd_t loc; /* 8: address and length in unit of fsblksize */ member 112 #define DXDlength(dxd, len) PXDlength(&(dxd)->loc, len) 113 #define DXDaddress(dxd, addr) PXDaddress(&(dxd)->loc, addr) 114 #define lengthDXD(dxd) lengthPXD(&(dxd)->loc) 115 #define addressDXD(dxd) addressPXD(&(dxd)->loc)
|
D | jfs_xtree.h | 23 pxd_t loc; /* 8: length and address in unit of fsblksize */ member 37 #define XADaddress(xad, address64) PXDaddress(&(xad)->loc, address64) 38 #define XADlength(xad, length32) PXDlength(&(xad)->loc, length32) 43 #define addressXAD(xad) addressPXD(&(xad)->loc) 44 #define lengthXAD(xad) lengthPXD(&(xad)->loc)
|
/fs/nfs/ |
D | nfs4namespace.c | 306 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() 486 int loc, error; in nfs4_replace_transport() local 500 for (loc = 0; loc < locations->nlocations; loc++) { in nfs4_replace_transport() 502 &locations->locations[loc]; in nfs4_replace_transport()
|
D | nfs4xdr.c | 3686 struct nfs4_fs_location *loc; in decode_attr_fs_locations() local 3690 loc = &res->locations[res->nlocations]; in decode_attr_fs_locations() 3697 for (loc->nservers = 0; loc->nservers < m; loc->nservers++) { in decode_attr_fs_locations() 3700 if (loc->nservers == NFS4_FS_LOCATION_MAXSERVERS) { in decode_attr_fs_locations() 3707 for (i = loc->nservers; i < m; i++) { in decode_attr_fs_locations() 3716 server = &loc->servers[loc->nservers]; in decode_attr_fs_locations() 3722 status = decode_pathname(xdr, &loc->rootpath); in decode_attr_fs_locations()
|
/fs/udf/ |
D | misc.c | 48 uint32_t type, uint8_t loc) in udf_add_extendedattr() argument 68 if (loc & 0x01 && offset >= size) { in udf_add_extendedattr() 259 struct kernel_lb_addr *loc, in udf_read_ptagged() argument 262 return udf_read_tagged(sb, udf_get_lb_pblock(sb, loc, offset), in udf_read_ptagged() 263 loc->logicalBlockNum + offset, ident); in udf_read_ptagged() 277 uint32_t loc, int length) in udf_new_tag() argument 283 tptr->tagLocation = cpu_to_le32(loc); in udf_new_tag()
|
D | partition.c | 52 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()
|
D | super.c | 1117 struct kernel_lb_addr loc = { in udf_fill_partdesc_info() local 1124 inode = udf_iget_special(sb, &loc); in udf_fill_partdesc_info() 1335 uint32_t loc; in udf_load_sparable_map() local 1358 loc = le32_to_cpu(spm->locSparingTable[i]); in udf_load_sparable_map() 1359 bh = udf_read_tagged(sb, loc, loc, &ident); in udf_load_sparable_map() 1538 static void udf_load_logicalvolint(struct super_block *sb, struct kernel_extent_ad loc) in udf_load_logicalvolint() argument 1548 while (loc.extLength > 0 && in udf_load_logicalvolint() 1549 (bh = udf_read_tagged(sb, loc.extLocation, in udf_load_logicalvolint() 1550 loc.extLocation, &ident))) { in udf_load_logicalvolint() 1559 loc.extLength -= sb->s_blocksize; in udf_load_logicalvolint() [all …]
|
D | udfdecl.h | 209 udf_get_lb_pblock(struct super_block *sb, struct kernel_lb_addr *loc, in udf_get_lb_pblock() argument 212 return udf_get_pblock(sb, loc->logicalBlockNum, in udf_get_lb_pblock() 213 loc->partitionReferenceNum, offset); in udf_get_lb_pblock()
|
D | balloc.c | 40 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()
|
D | namei.c | 312 struct kernel_lb_addr loc; in udf_lookup() local 318 loc = lelb_to_cpu(cfi.icb.extLocation); in udf_lookup() 319 inode = udf_iget(dir->i_sb, &loc); in udf_lookup() 1241 struct kernel_lb_addr loc; in udf_nfs_get_inode() local 1246 loc.logicalBlockNum = block; in udf_nfs_get_inode() 1247 loc.partitionReferenceNum = partref; in udf_nfs_get_inode() 1248 inode = udf_iget(sb, &loc); in udf_nfs_get_inode()
|
D | inode.c | 1362 struct kernel_lb_addr loc; in udf_read_inode() local 1366 loc = lelb_to_cpu(ie->indirectICB.extLocation); in udf_read_inode() 1370 memcpy(&iinfo->i_location, &loc, in udf_read_inode()
|
/fs/ufs/ |
D | ufs_fs.h | 255 #define ufs_blkoff(loc) ((loc) & uspi->s_qbmask) argument 256 #define ufs_fragoff(loc) ((loc) & uspi->s_qfmask) argument 258 #define ufs_lblkno(loc) ((loc) >> uspi->s_bshift) argument 259 #define ufs_numfrags(loc) ((loc) >> uspi->s_fshift) argument
|
D | balloc.c | 810 unsigned start, length, loc; in ufs_bitmap_search() local 823 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff + start, length, in ufs_bitmap_search() 826 if (loc == 0) { in ufs_bitmap_search() 828 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff, length, in ufs_bitmap_search() 832 if (loc == 0) { in ufs_bitmap_search() 842 result = (start + length - loc) << 3; in ufs_bitmap_search()
|
/fs/gfs2/ |
D | quota.c | 767 loff_t loc) in gfs2_write_disk_quota() argument 776 pg_beg = loc >> PAGE_SHIFT; in gfs2_write_disk_quota() 777 pg_off = offset_in_page(loc); 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/ |
D | send.c | 2936 struct btrfs_key loc; in can_rmdir() local 2981 btrfs_dir_item_key_to_cpu(path->nodes[0], di, &loc); in can_rmdir() 2983 dm = get_waiting_dir_move(sctx, loc.objectid); in can_rmdir() 2997 if (loc.objectid > send_progress) { in can_rmdir()
|