Home
last modified time | relevance | path

Searched refs:alen (Results 1 – 16 of 16) sorted by relevance

/fs/ubifs/
Dlpt_commit.c184 int lnum, offs, len, alen, done_lsave, done_ltab, err; in layout_cnodes() local
223 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
224 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
266 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
267 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
286 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
287 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
302 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
303 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
304 dbg_chk_lpt_sz(c, 4, alen - offs); in layout_cnodes()
[all …]
Dlpt.c602 int lnum, err = 0, node_sz, iopos, i, j, cnt, len, alen, row; in ubifs_create_dflt_lpt() local
702 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt()
703 set_ltab(c, lnum, c->leb_size - alen, alen - len); in ubifs_create_dflt_lpt()
704 memset(p, 0xff, alen - len); in ubifs_create_dflt_lpt()
705 err = ubifs_leb_change(c, lnum++, buf, alen); in ubifs_create_dflt_lpt()
735 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt()
736 set_ltab(c, lnum, c->leb_size - alen, in ubifs_create_dflt_lpt()
737 alen - len); in ubifs_create_dflt_lpt()
738 memset(p, 0xff, alen - len); in ubifs_create_dflt_lpt()
739 err = ubifs_leb_change(c, lnum++, buf, alen); in ubifs_create_dflt_lpt()
[all …]
Dtnc_commit.c124 const int alen = ALIGN(len, 8); in fill_gap() local
127 ubifs_assert(c, alen <= gap_remains); in fill_gap()
132 gap_remains -= alen; in fill_gap()
133 gap_pos += alen; in fill_gap()
/fs/ntfs3/
Dattrib.c151 enum ALLOCATE_OPT opt, CLST *alen, const size_t fr, in attr_allocate_clusters() argument
203 *alen = vcn - vcn0; in attr_allocate_clusters()
236 CLST len, alen; in attr_make_nonresident() local
274 alen = 0; in attr_make_nonresident()
279 ALLOCATE_DEF, &alen, 0, NULL, in attr_make_nonresident()
319 attr_s->name_len, run, 0, alen, in attr_make_nonresident()
417 CLST alen, vcn, lcn, new_alen, old_alen, svcn, evcn; in attr_set_size() local
425 alen = 0; in attr_set_size()
572 alen = to_allocate; in attr_set_size()
577 is_mft ? ALLOCATE_MFT : ALLOCATE_DEF, &alen, in attr_set_size()
[all …]
Dfsntfs.c357 CLST alen; in ntfs_look_for_free_space() local
381 alen = min_t(CLST, len, zlen); in ntfs_look_for_free_space()
383 wnd_zone_set(wnd, lcn + alen, zlen - alen); in ntfs_look_for_free_space()
385 err = wnd_set_used(wnd, lcn, alen); in ntfs_look_for_free_space()
402 alen = wnd_find(wnd, len, lcn, BITMAP_FIND_MARK_AS_USED, &alcn); in ntfs_look_for_free_space()
403 if (alen) in ntfs_look_for_free_space()
425 alen = wnd_find(wnd, len, 0, in ntfs_look_for_free_space()
427 if (!alen) { in ntfs_look_for_free_space()
434 *new_len = alen; in ntfs_look_for_free_space()
437 ntfs_unmap_meta(sb, alcn, alen); in ntfs_look_for_free_space()
[all …]
Dfslog.c4946 u32 alen, voff; in log_replay() local
4964 alen = (i - 1) << sbi->cluster_bits; in log_replay()
4970 if (voff >= alen) in log_replay()
4972 else if (voff + dlen > alen) in log_replay()
4973 dlen = alen - voff; in log_replay()
Dinode.c1555 CLST alen; in ntfs_create_inode() local
1572 &alen, 0, NULL, NULL); in ntfs_create_inode()
Dindex.c1442 CLST alen; in indx_create_allocate() local
1448 &alen, 0, NULL, NULL); in indx_create_allocate()
Dntfs_fs.h426 enum ALLOCATE_OPT opt, CLST *alen, const size_t fr,
/fs/fat/
Dnamei_vfat.c159 unsigned int alen, blen; in vfat_cmpi() local
162 alen = vfat_striptail_len(name); in vfat_cmpi()
164 if (alen == blen) { in vfat_cmpi()
165 if (nls_strnicmp(t, name->name, str, alen) == 0) in vfat_cmpi()
177 unsigned int alen, blen; in vfat_cmp() local
180 alen = vfat_striptail_len(name); in vfat_cmp()
182 if (alen == blen) { in vfat_cmp()
183 if (strncmp(name->name, str, alen) == 0) in vfat_cmp()
/fs/isofs/
Dinode.c206 int alen, blen; in isofs_dentry_cmp_common() local
209 alen = name->len; in isofs_dentry_cmp_common()
212 while (alen && name->name[alen-1] == '.') in isofs_dentry_cmp_common()
213 alen--; in isofs_dentry_cmp_common()
217 if (alen == blen) { in isofs_dentry_cmp_common()
219 if (strncasecmp(name->name, str, alen) == 0) in isofs_dentry_cmp_common()
222 if (strncmp(name->name, str, alen) == 0) in isofs_dentry_cmp_common()
/fs/exfat/
Dnamei.c111 unsigned int alen = exfat_striptail_len(name->len, name->name, in exfat_d_cmp() local
118 if (alen != blen) in exfat_d_cmp()
122 charlen = t->char2uni(&name->name[i], alen - i, &c1); in exfat_d_cmp()
171 unsigned int alen = exfat_striptail_len(name->len, name->name, in exfat_utf8_d_cmp() local
179 if (alen != blen) in exfat_utf8_d_cmp()
182 for (i = 0; i < alen; i += charlen) { in exfat_utf8_d_cmp()
183 charlen = utf8_to_utf32(&name->name[i], alen - i, &u_a); in exfat_utf8_d_cmp()
/fs/smb/client/
Dnetmisc.c153 int rc, alen, slen; in cifs_convert_address() local
167 alen = pct ? pct - src : len; in cifs_convert_address()
169 rc = cifs_inet_pton(AF_INET6, src, alen, &s6->sin6_addr.s6_addr); in cifs_convert_address()
176 slen = len - (alen + 1); in cifs_convert_address()
/fs/xfs/libxfs/
Dxfs_bmap.c3969 xfs_extlen_t alen; in xfs_bmapi_reserve_delalloc() local
3978 alen = XFS_FILBLKS_MIN(len + prealloc, XFS_MAX_BMBT_EXTLEN); in xfs_bmapi_reserve_delalloc()
3980 alen = XFS_FILBLKS_MIN(alen, got->br_startoff - aoff); in xfs_bmapi_reserve_delalloc()
3981 if (prealloc && alen >= len) in xfs_bmapi_reserve_delalloc()
3982 prealloc = alen - len; in xfs_bmapi_reserve_delalloc()
3993 1, 0, &aoff, &alen); in xfs_bmapi_reserve_delalloc()
4002 error = xfs_quota_reserve_blkres(ip, alen); in xfs_bmapi_reserve_delalloc()
4010 indlen = (xfs_extlen_t)xfs_bmap_worst_indlen(ip, alen); in xfs_bmapi_reserve_delalloc()
4013 error = xfs_mod_fdblocks(mp, -((int64_t)alen), false); in xfs_bmapi_reserve_delalloc()
4022 ip->i_delayed_blks += alen; in xfs_bmapi_reserve_delalloc()
[all …]
/fs/udf/
Dinode.c2197 int alen; in udf_current_aext() local
2210 alen = udf_file_entry_alloc_offset(inode) + in udf_current_aext()
2216 alen = sizeof(struct allocExtDesc) + in udf_current_aext()
2223 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); in udf_current_aext()
2233 lad = udf_get_filelongad(ptr, alen, &epos->offset, inc); in udf_current_aext()
/fs/ceph/
Dmds_client.c189 u32 alen; in parse_reply_info_in() local
191 ceph_decode_32_safe(p, end, alen, bad); in parse_reply_info_in()
193 while (alen--) { in parse_reply_info_in()