Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 15 of 15) 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/udf/
Dmisc.c49 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()
262 struct kernel_lb_addr *loc, in udf_read_ptagged() argument
265 return udf_read_tagged(sb, udf_get_lb_pblock(sb, loc, offset), in udf_read_ptagged()
266 loc->logicalBlockNum + offset, ident); in udf_read_ptagged()
280 uint32_t loc, int length) in udf_new_tag() argument
286 tptr->tagLocation = cpu_to_le32(loc); in udf_new_tag()
Dpartition.c53 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()
Dsuper.c993 struct kernel_lb_addr loc = { in udf_fill_partdesc_info() local
999 map->s_uspace.s_table = udf_iget(sb, &loc); in udf_fill_partdesc_info()
1028 struct kernel_lb_addr loc = { in udf_fill_partdesc_info() local
1034 map->s_fspace.s_table = udf_iget(sb, &loc); in udf_fill_partdesc_info()
1223 uint32_t loc; in udf_load_sparable_map() local
1246 loc = le32_to_cpu(spm->locSparingTable[i]); in udf_load_sparable_map()
1247 bh = udf_read_tagged(sb, loc, loc, &ident); in udf_load_sparable_map()
1413 static void udf_load_logicalvolint(struct super_block *sb, struct kernel_extent_ad loc) in udf_load_logicalvolint() argument
1420 while (loc.extLength > 0 && in udf_load_logicalvolint()
1421 (bh = udf_read_tagged(sb, loc.extLocation, in udf_load_logicalvolint()
[all …]
Dudfdecl.h202 udf_get_lb_pblock(struct super_block *sb, struct kernel_lb_addr *loc, in udf_get_lb_pblock() argument
205 return udf_get_pblock(sb, loc->logicalBlockNum, in udf_get_lb_pblock()
206 loc->partitionReferenceNum, offset); in udf_get_lb_pblock()
Dballoc.c41 struct kernel_lb_addr loc; in read_block_bitmap() local
43 loc.logicalBlockNum = bitmap->s_extPosition; in read_block_bitmap()
44 loc.partitionReferenceNum = UDF_SB(sb)->s_partition; in read_block_bitmap()
46 bh = udf_tread(sb, udf_get_lb_pblock(sb, &loc, block)); in read_block_bitmap()
Dnamei.c280 struct kernel_lb_addr loc; in udf_lookup() local
286 loc = lelb_to_cpu(cfi.icb.extLocation); in udf_lookup()
287 inode = udf_iget(dir->i_sb, &loc); in udf_lookup()
1222 struct kernel_lb_addr loc; in udf_nfs_get_inode() local
1227 loc.logicalBlockNum = block; in udf_nfs_get_inode()
1228 loc.partitionReferenceNum = partref; in udf_nfs_get_inode()
1229 inode = udf_iget(sb, &loc); in udf_nfs_get_inode()
Dinode.c1217 struct kernel_lb_addr loc; in __udf_read_inode() local
1221 loc = lelb_to_cpu(ie->indirectICB.extLocation); in __udf_read_inode()
1224 (nbh = udf_read_ptagged(inode->i_sb, &loc, 0, in __udf_read_inode()
1229 &loc, in __udf_read_inode()
/fs/
Dbinfmt_elf.c576 } *loc; in load_elf_binary() local
578 loc = kmalloc(sizeof(*loc), GFP_KERNEL); in load_elf_binary()
579 if (!loc) { in load_elf_binary()
585 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary()
589 if (memcmp(loc->elf_ex.e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
592 if (loc->elf_ex.e_type != ET_EXEC && loc->elf_ex.e_type != ET_DYN) in load_elf_binary()
594 if (!elf_check_arch(&loc->elf_ex)) in load_elf_binary()
600 if (loc->elf_ex.e_phentsize != sizeof(struct elf_phdr)) in load_elf_binary()
602 if (loc->elf_ex.e_phnum < 1 || in load_elf_binary()
603 loc->elf_ex.e_phnum > 65536U / sizeof(struct elf_phdr)) in load_elf_binary()
[all …]
/fs/nfs/
Dnfs4namespace.c257 int loc, error; in nfs_follow_referral() local
280 for (loc = 0; loc < locations->nlocations; loc++) { in nfs_follow_referral()
281 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral()
Dnfs4xdr.c3501 struct nfs4_fs_location *loc = &res->locations[res->nlocations]; in decode_attr_fs_locations() local
3508 loc->nservers = 0; in decode_attr_fs_locations()
3510 while (loc->nservers < m) { in decode_attr_fs_locations()
3511 struct nfs4_string *server = &loc->servers[loc->nservers]; in decode_attr_fs_locations()
3516 if (loc->nservers < NFS4_FS_LOCATION_MAXSERVERS) in decode_attr_fs_locations()
3517 loc->nservers++; in decode_attr_fs_locations()
3525 for (i = loc->nservers; i < m; i++) { in decode_attr_fs_locations()
3534 status = decode_pathname(xdr, &loc->rootpath); in decode_attr_fs_locations()
/fs/ufs/
Dufs_fs.h253 #define ufs_blkoff(loc) ((loc) & uspi->s_qbmask) argument
254 #define ufs_fragoff(loc) ((loc) & uspi->s_qfmask) argument
256 #define ufs_lblkno(loc) ((loc) >> uspi->s_bshift) argument
257 #define ufs_numfrags(loc) ((loc) >> uspi->s_fshift) argument
Dballoc.c799 unsigned start, length, loc; in ufs_bitmap_search() local
815 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff + start, length, in ufs_bitmap_search()
818 if (loc == 0) { in ufs_bitmap_search()
820 loc = ubh_scanc(uspi, UCPI_UBH(ucpi), ucpi->c_freeoff, length, in ufs_bitmap_search()
824 if (loc == 0) { in ufs_bitmap_search()
834 result = (start + length - loc) << 3; in ufs_bitmap_search()
/fs/gfs2/
Dquota.c631 static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, in gfs2_adjust_quota() argument
638 unsigned long index = loc >> PAGE_CACHE_SHIFT; in gfs2_adjust_quota()
639 unsigned offset = loc & (PAGE_CACHE_SIZE - 1); in gfs2_adjust_quota()
655 err = gfs2_internal_read(ip, NULL, (char *)&q, &loc, sizeof(q)); in gfs2_adjust_quota()
742 size = loc + sizeof(struct gfs2_quota); in gfs2_adjust_quota()