Home
last modified time | relevance | path

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

/fs/ubifs/
Dlpt_commit.c191 int lnum, offs, len, alen, done_lsave, done_ltab, err; in layout_cnodes() local
230 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
231 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
232 dbg_chk_lpt_sz(c, 2, alen - offs); in layout_cnodes()
273 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
274 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
275 dbg_chk_lpt_sz(c, 2, alen - offs); in layout_cnodes()
293 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
294 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
295 dbg_chk_lpt_sz(c, 2, alen - offs); in layout_cnodes()
[all …]
Dlpt.c610 int lnum, err = 0, node_sz, iopos, i, j, cnt, len, alen, row; in ubifs_create_dflt_lpt() local
700 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt()
701 set_ltab(c, lnum, c->leb_size - alen, alen - len); in ubifs_create_dflt_lpt()
702 memset(p, 0xff, alen - len); in ubifs_create_dflt_lpt()
703 err = ubi_leb_change(c->ubi, lnum++, buf, alen, in ubifs_create_dflt_lpt()
730 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt()
731 set_ltab(c, lnum, c->leb_size - alen, in ubifs_create_dflt_lpt()
732 alen - len); in ubifs_create_dflt_lpt()
733 memset(p, 0xff, alen - len); in ubifs_create_dflt_lpt()
734 err = ubi_leb_change(c->ubi, lnum++, buf, alen, in ubifs_create_dflt_lpt()
[all …]
Dtnc_commit.c126 const int alen = ALIGN(len, 8); in fill_gap() local
129 ubifs_assert(alen <= gap_remains); in fill_gap()
134 gap_remains -= alen; in fill_gap()
135 gap_pos += alen; in fill_gap()
/fs/isofs/
Dinode.c214 int alen, blen; in isofs_dentry_cmpi_common() local
217 alen = a->len; in isofs_dentry_cmpi_common()
220 while (alen && a->name[alen-1] == '.') in isofs_dentry_cmpi_common()
221 alen--; in isofs_dentry_cmpi_common()
225 if (alen == blen) { in isofs_dentry_cmpi_common()
226 if (strnicmp(a->name, b->name, alen) == 0) in isofs_dentry_cmpi_common()
238 int alen, blen; in isofs_dentry_cmp_common() local
241 alen = a->len; in isofs_dentry_cmp_common()
244 while (alen && a->name[alen-1] == '.') in isofs_dentry_cmp_common()
245 alen--; in isofs_dentry_cmp_common()
[all …]
/fs/fat/
Dnamei_vfat.c140 unsigned int alen, blen; in vfat_cmpi() local
143 alen = vfat_striptail_len(a); in vfat_cmpi()
145 if (alen == blen) { in vfat_cmpi()
146 if (nls_strnicmp(t, a->name, b->name, alen) == 0) in vfat_cmpi()
157 unsigned int alen, blen; in vfat_cmp() local
160 alen = vfat_striptail_len(a); in vfat_cmp()
162 if (alen == blen) { in vfat_cmp()
163 if (strncmp(a->name, b->name, alen) == 0) in vfat_cmp()
/fs/xfs/
Dxfs_bmap.c2532 if (prevdiff <= XFS_ALLOC_GAP_UNITS * ap->alen && in xfs_bmap_adjacent()
2572 if (gotdiff <= XFS_ALLOC_GAP_UNITS * ap->alen && in xfs_bmap_adjacent()
2575 else if (ISVALID(gotbno - ap->alen, gotbno)) { in xfs_bmap_adjacent()
2576 gotbno -= ap->alen; in xfs_bmap_adjacent()
2577 gotdiff += adjust - ap->alen; in xfs_bmap_adjacent()
2624 ap->conv, &ap->off, &ap->alen); in xfs_bmap_rtalloc()
2627 ASSERT(ap->alen); in xfs_bmap_rtalloc()
2628 ASSERT(ap->alen % mp->m_sb.sb_rextsize == 0); in xfs_bmap_rtalloc()
2634 if (do_mod(ap->off, align) || ap->alen % align) in xfs_bmap_rtalloc()
2639 ralen = ap->alen / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()
[all …]
Dxfs_bmap.h126 xfs_extlen_t alen; /* i/o length asked/allocated */ member
Dxfs_filestream.c640 minlen = ap->alen; in xfs_filestream_new_ag()
/fs/udf/
Dinode.c1850 int alen; in udf_current_aext() local
1863 alen = udf_file_entry_alloc_offset(inode) + in udf_current_aext()
1869 alen = sizeof(struct allocExtDesc) + in udf_current_aext()
1876 sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); in udf_current_aext()
1886 lad = udf_get_filelongad(ptr, alen, &epos->offset, inc); in udf_current_aext()