/fs/ubifs/ |
D | tnc_commit.c | 433 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 …]
|
D | file.c | 902 int err = 0, i, blen; in do_writepage() local 923 blen = min_t(int, len, UBIFS_BLOCK_SIZE); in do_writepage() 925 err = ubifs_jnl_write_data(c, inode, &key, addr, blen); in do_writepage() 931 addr += blen; in do_writepage() 932 len -= blen; in do_writepage()
|
/fs/ |
D | d_path.c | 85 int blen; in prepend_path() local 94 blen = *buflen; in prepend_path() 108 blen = *buflen; in prepend_path() 127 error = prepend_name(&bptr, &blen, &dentry->d_name); in prepend_path() 150 if (--blen < 0) in prepend_path() 156 *buflen = blen; in prepend_path()
|
/fs/gfs2/ |
D | xattr.c | 234 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() 1256 unsigned int blen = 0; in ea_dealloc_indirect() local 1286 if (bstart + blen == bn) in ea_dealloc_indirect() 1287 blen++; in ea_dealloc_indirect() 1292 blen = 1; in ea_dealloc_indirect() [all …]
|
D | rgrp.h | 52 u64 bstart, u32 blen, int meta); 54 u64 bstart, u32 blen);
|
D | meta_io.c | 371 void gfs2_meta_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_meta_wipe() argument 376 while (blen) { in gfs2_meta_wipe() 388 blen--; in gfs2_meta_wipe()
|
D | bmap.c | 1502 s64 blen; /* needs to be s64 or gfs2_add_inode_blocks breaks */ in sweep_bh_for_rgrps() local 1515 blen = 0; in sweep_bh_for_rgrps() 1598 if (bstart + blen == bn) { in sweep_bh_for_rgrps() 1599 blen++; in sweep_bh_for_rgrps() 1603 __gfs2_free_blocks(ip, rgd, bstart, (u32)blen, meta); in sweep_bh_for_rgrps() 1604 (*btotal) += blen; in sweep_bh_for_rgrps() 1605 gfs2_add_inode_blocks(&ip->i_inode, -blen); in sweep_bh_for_rgrps() 1608 blen = 1; in sweep_bh_for_rgrps() 1611 __gfs2_free_blocks(ip, rgd, bstart, (u32)blen, meta); in sweep_bh_for_rgrps() 1612 (*btotal) += blen; in sweep_bh_for_rgrps() [all …]
|
D | rgrp.c | 2221 u64 bstart, u32 blen, unsigned char new_state) in rgblk_free() argument 2229 while (blen--) { in rgblk_free() 2474 u64 bstart, u32 blen, int meta) in __gfs2_free_blocks() argument 2478 rgblk_free(sdp, rgd, bstart, blen, GFS2_BLKST_FREE); in __gfs2_free_blocks() 2479 trace_gfs2_block_alloc(ip, rgd, bstart, blen, GFS2_BLKST_FREE); in __gfs2_free_blocks() 2480 rgd->rd_free += blen; in __gfs2_free_blocks() 2487 gfs2_meta_wipe(ip, bstart, blen); in __gfs2_free_blocks() 2500 u64 bstart, u32 blen) in gfs2_free_meta() argument 2504 __gfs2_free_blocks(ip, rgd, bstart, blen, 1); in gfs2_free_meta() 2505 gfs2_statfs_change(sdp, 0, +blen, 0); in gfs2_free_meta() [all …]
|
D | meta_io.h | 63 extern void gfs2_meta_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen);
|
/fs/nfsd/ |
D | nfs4idmap.c | 127 int *blen) in idtoname_request() argument 132 qword_add(bpp, blen, ent->authname); in idtoname_request() 134 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in idtoname_request() 135 qword_add(bpp, blen, idstr); in idtoname_request() 300 int *blen) in nametoid_request() argument 304 qword_add(bpp, blen, ent->authname); in nametoid_request() 305 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in nametoid_request() 306 qword_add(bpp, blen, ent->name); in nametoid_request()
|
D | export.c | 55 char **bpp, int *blen) in expkey_request() argument 61 qword_add(bpp, blen, ek->ek_client->name); in expkey_request() 63 qword_add(bpp, blen, type); in expkey_request() 64 qword_addhex(bpp, blen, (char*)ek->ek_fsid, key_len(ek->ek_fsidtype)); in expkey_request() 335 char **bpp, int *blen) in svc_export_request() argument 341 qword_add(bpp, blen, exp->ex_client->name); in svc_export_request() 342 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request() 348 qword_add(bpp, blen, pth); in svc_export_request()
|
/fs/fat/ |
D | namei_vfat.c | 159 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/xfs/libxfs/ |
D | xfs_bmap.c | 3195 xfs_extlen_t *blen, in xfs_bmap_longest_free_extent() argument 3218 if (*blen < longest) in xfs_bmap_longest_free_extent() 3219 *blen = longest; in xfs_bmap_longest_free_extent() 3230 xfs_extlen_t *blen, in xfs_bmap_select_minlen() argument 3233 if (notinit || *blen < ap->minlen) { in xfs_bmap_select_minlen() 3239 } else if (*blen < args->maxlen) { in xfs_bmap_select_minlen() 3244 args->minlen = *blen; in xfs_bmap_select_minlen() 3258 xfs_extlen_t *blen) in xfs_bmap_btalloc_nullfb() argument 3272 while (*blen < args->maxlen) { in xfs_bmap_btalloc_nullfb() 3273 error = xfs_bmap_longest_free_extent(args->tp, ag, blen, in xfs_bmap_btalloc_nullfb() [all …]
|
D | xfs_alloc.c | 1181 xfs_extlen_t blen=0; in xfs_alloc_ag_vextent_near() local 1211 for (j = 1, blen = 0, bdiff = 0; in xfs_alloc_ag_vextent_near() 1212 !error && j && (blen < args->maxlen || bdiff > 0); in xfs_alloc_ag_vextent_near() 1230 if (args->len < blen) in xfs_alloc_ag_vextent_near() 1236 (args->len > blen || ltdiff < bdiff)) { in xfs_alloc_ag_vextent_near() 1239 blen = args->len; in xfs_alloc_ag_vextent_near() 1247 if (blen == 0) in xfs_alloc_ag_vextent_near() 1257 args->len = blen; in xfs_alloc_ag_vextent_near() 1264 ASSERT(bnew + blen <= ltbno + ltlen); in xfs_alloc_ag_vextent_near() 1274 ltlen, bnew, blen, XFSA_FIXUP_CNT_OK))) in xfs_alloc_ag_vextent_near()
|
/fs/isofs/ |
D | inode.c | 207 int alen, blen; in isofs_dentry_cmp_common() local 211 blen = len; in isofs_dentry_cmp_common() 215 while (blen && str[blen-1] == '.') in isofs_dentry_cmp_common() 216 blen--; in isofs_dentry_cmp_common() 218 if (alen == blen) { in isofs_dentry_cmp_common()
|
/fs/nfs/ |
D | dns_resolve.c | 143 char **bpp, int *blen) in nfs_dns_request() argument 147 qword_add(bpp, blen, key->hostname); in nfs_dns_request()
|
/fs/udf/ |
D | inode.c | 926 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents() local 930 if (blen == 1) in udf_split_extents() 932 else if (!offset || blen == offset + 1) { in udf_split_extents() 967 if (blen != offset + 1) { in udf_split_extents() 972 ((blen - (offset + 1)) << blocksize_bits); in udf_split_extents()
|