Home
last modified time | relevance | path

Searched refs:blen (Results 1 – 17 of 17) sorted by relevance

/fs/ubifs/
Dtnc_commit.c433 int wlen, blen, err; in layout_in_empty_space() local
521 blen = buf_len; in layout_in_empty_space()
523 blen = ALIGN(wlen, c->min_io_size); in layout_in_empty_space()
526 buf_offs += blen; in layout_in_empty_space()
530 c->leb_size - buf_offs, blen - used, in layout_in_empty_space()
536 used -= blen; in layout_in_empty_space()
543 blen - used, 0, 0); in layout_in_empty_space()
829 int avail, wlen, err, lnum_pos = 0, blen, nxt_offs; in write_index() local
984 blen = buf_len; in write_index()
987 blen = ALIGN(wlen, c->min_io_size); in write_index()
[all …]
Dfile.c904 int err = 0, i, blen; in do_writepage() local
925 blen = min_t(int, len, UBIFS_BLOCK_SIZE); in do_writepage()
927 err = ubifs_jnl_write_data(c, inode, &key, addr, blen); in do_writepage()
933 addr += blen; in do_writepage()
934 len -= blen; in do_writepage()
/fs/
Dd_path.c85 int blen; in prepend_path() local
94 blen = *buflen; in prepend_path()
110 blen = *buflen; in prepend_path()
131 error = prepend_name(&bptr, &blen, &dentry->d_name); in prepend_path()
154 if (--blen < 0) in prepend_path()
160 *buflen = blen; in prepend_path()
/fs/gfs2/
Dxattr.c234 unsigned int blen = 0; in ea_dealloc_unstuffed() local
279 if (bstart + blen == bn) in ea_dealloc_unstuffed()
280 blen++; in ea_dealloc_unstuffed()
283 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
285 blen = 1; in ea_dealloc_unstuffed()
292 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
1260 unsigned int blen = 0; in ea_dealloc_indirect() local
1290 if (bstart + blen == bn) in ea_dealloc_indirect()
1291 blen++; in ea_dealloc_indirect()
1296 blen = 1; in ea_dealloc_indirect()
[all …]
Dmeta_io.c376 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe() argument
381 u64 end = bstart + blen; in gfs2_ail1_wipe()
434 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_journal_wipe() argument
440 gfs2_ail1_wipe(sdp, bstart, blen); in gfs2_journal_wipe()
441 while (blen) { in gfs2_journal_wipe()
460 blen--; in gfs2_journal_wipe()
Drgrp.h50 u64 bstart, u32 blen, int meta);
52 u64 bstart, u32 blen);
Dbmap.c1505 s64 blen; /* needs to be s64 or gfs2_add_inode_blocks breaks */ in sweep_bh_for_rgrps() local
1518 blen = 0; in sweep_bh_for_rgrps()
1601 if (bstart + blen == bn) { in sweep_bh_for_rgrps()
1602 blen++; in sweep_bh_for_rgrps()
1606 __gfs2_free_blocks(ip, rgd, bstart, (u32)blen, meta); in sweep_bh_for_rgrps()
1607 (*btotal) += blen; in sweep_bh_for_rgrps()
1608 gfs2_add_inode_blocks(&ip->i_inode, -blen); in sweep_bh_for_rgrps()
1611 blen = 1; in sweep_bh_for_rgrps()
1614 __gfs2_free_blocks(ip, rgd, bstart, (u32)blen, meta); in sweep_bh_for_rgrps()
1615 (*btotal) += blen; in sweep_bh_for_rgrps()
[all …]
Drgrp.c2189 u64 bstart, u32 blen, unsigned char new_state) in rgblk_free() argument
2197 while (blen--) { in rgblk_free()
2440 u64 bstart, u32 blen, int meta) in __gfs2_free_blocks() argument
2444 rgblk_free(sdp, rgd, bstart, blen, GFS2_BLKST_FREE); in __gfs2_free_blocks()
2445 trace_gfs2_block_alloc(ip, rgd, bstart, blen, GFS2_BLKST_FREE); in __gfs2_free_blocks()
2446 rgd->rd_free += blen; in __gfs2_free_blocks()
2453 gfs2_journal_wipe(ip, bstart, blen); in __gfs2_free_blocks()
2466 u64 bstart, u32 blen) in gfs2_free_meta() argument
2470 __gfs2_free_blocks(ip, rgd, bstart, blen, 1); in gfs2_free_meta()
2471 gfs2_statfs_change(sdp, 0, +blen, 0); in gfs2_free_meta()
[all …]
Dmeta_io.h63 extern void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen);
/fs/nfsd/
Dnfs4idmap.c133 int *blen) in idtoname_request() argument
138 qword_add(bpp, blen, ent->authname); in idtoname_request()
140 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in idtoname_request()
141 qword_add(bpp, blen, idstr); in idtoname_request()
313 int *blen) in nametoid_request() argument
317 qword_add(bpp, blen, ent->authname); in nametoid_request()
318 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in nametoid_request()
319 qword_add(bpp, blen, ent->name); in nametoid_request()
Dexport.c61 char **bpp, int *blen) in expkey_request() argument
67 qword_add(bpp, blen, ek->ek_client->name); in expkey_request()
69 qword_add(bpp, blen, type); in expkey_request()
70 qword_addhex(bpp, blen, (char*)ek->ek_fsid, key_len(ek->ek_fsidtype)); in expkey_request()
351 char **bpp, int *blen) in svc_export_request() argument
357 qword_add(bpp, blen, exp->ex_client->name); in svc_export_request()
358 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
364 qword_add(bpp, blen, pth); in svc_export_request()
/fs/fat/
Dnamei_vfat.c159 unsigned int alen, blen; in vfat_cmpi() local
163 blen = __vfat_striptail_len(len, str); in vfat_cmpi()
164 if (alen == blen) { in vfat_cmpi()
177 unsigned int alen, blen; in vfat_cmp() local
181 blen = __vfat_striptail_len(len, str); in vfat_cmp()
182 if (alen == blen) { in vfat_cmp()
/fs/isofs/
Dinode.c206 int alen, blen; in isofs_dentry_cmp_common() local
210 blen = len; in isofs_dentry_cmp_common()
214 while (blen && str[blen-1] == '.') in isofs_dentry_cmp_common()
215 blen--; in isofs_dentry_cmp_common()
217 if (alen == blen) { in isofs_dentry_cmp_common()
/fs/xfs/libxfs/
Dxfs_bmap.c3281 xfs_extlen_t *blen, in xfs_bmap_longest_free_extent() argument
3305 if (*blen < longest) in xfs_bmap_longest_free_extent()
3306 *blen = longest; in xfs_bmap_longest_free_extent()
3317 xfs_extlen_t *blen, in xfs_bmap_select_minlen() argument
3320 if (notinit || *blen < ap->minlen) { in xfs_bmap_select_minlen()
3326 } else if (*blen < args->maxlen) { in xfs_bmap_select_minlen()
3331 args->minlen = *blen; in xfs_bmap_select_minlen()
3345 xfs_extlen_t *blen) in xfs_bmap_btalloc_nullfb() argument
3359 while (*blen < args->maxlen) { in xfs_bmap_btalloc_nullfb()
3360 error = xfs_bmap_longest_free_extent(args->tp, ag, blen, in xfs_bmap_btalloc_nullfb()
[all …]
/fs/exfat/
Dnamei.c108 unsigned int blen = exfat_striptail_len(len, str); in exfat_d_cmp() local
112 if (alen != blen) in exfat_d_cmp()
119 if (charlen != t->char2uni(&str[i], blen - i, &c2)) in exfat_d_cmp()
165 unsigned int blen = exfat_striptail_len(len, str); in exfat_utf8_d_cmp() local
169 if (alen != blen) in exfat_utf8_d_cmp()
176 if (charlen != utf8_to_utf32(&str[i], blen - i, &u_b)) in exfat_utf8_d_cmp()
/fs/nfs/
Ddns_resolve.c142 char **bpp, int *blen) in nfs_dns_request() argument
146 qword_add(bpp, blen, key->hostname); in nfs_dns_request()
/fs/udf/
Dinode.c925 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents() local
929 if (blen == 1) in udf_split_extents()
931 else if (!offset || blen == offset + 1) { in udf_split_extents()
966 if (blen != offset + 1) { in udf_split_extents()
971 ((blen - (offset + 1)) << blocksize_bits); in udf_split_extents()