Home
last modified time | relevance | path

Searched refs:blen (Results 1 – 22 of 22) 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.c900 int err = 0, i, blen; in do_writepage() local
921 blen = min_t(int, len, UBIFS_BLOCK_SIZE); in do_writepage()
923 err = ubifs_jnl_write_data(c, inode, &key, addr, blen); in do_writepage()
929 addr += blen; in do_writepage()
930 len -= blen; in do_writepage()
/fs/gfs2/
Dxattr.c240 unsigned int blen = 0; in ea_dealloc_unstuffed() local
286 if (bstart + blen == bn) in ea_dealloc_unstuffed()
287 blen++; in ea_dealloc_unstuffed()
290 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
292 blen = 1; in ea_dealloc_unstuffed()
299 gfs2_free_meta(ip, rgd, bstart, blen); in ea_dealloc_unstuffed()
1271 unsigned int blen = 0; in ea_dealloc_indirect() local
1301 if (bstart + blen == bn) in ea_dealloc_indirect()
1302 blen++; in ea_dealloc_indirect()
1307 blen = 1; in ea_dealloc_indirect()
[all …]
Dmeta_io.c384 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe() argument
389 u64 end = bstart + blen; in gfs2_ail1_wipe()
442 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_journal_wipe() argument
454 gfs2_ail1_wipe(sdp, bstart, blen); in gfs2_journal_wipe()
455 while (blen) { in gfs2_journal_wipe()
474 blen--; in gfs2_journal_wipe()
Drgrp.h50 u64 bstart, u32 blen, int meta);
52 u64 bstart, u32 blen);
Dbmap.c1460 s64 blen; /* needs to be s64 or gfs2_add_inode_blocks breaks */ in sweep_bh_for_rgrps() local
1473 blen = 0; in sweep_bh_for_rgrps()
1556 if (bstart + blen == bn) { in sweep_bh_for_rgrps()
1557 blen++; in sweep_bh_for_rgrps()
1561 __gfs2_free_blocks(ip, rgd, bstart, (u32)blen, meta); in sweep_bh_for_rgrps()
1562 (*btotal) += blen; in sweep_bh_for_rgrps()
1563 gfs2_add_inode_blocks(&ip->i_inode, -blen); in sweep_bh_for_rgrps()
1566 blen = 1; in sweep_bh_for_rgrps()
1569 __gfs2_free_blocks(ip, rgd, bstart, (u32)blen, meta); in sweep_bh_for_rgrps()
1570 (*btotal) += blen; in sweep_bh_for_rgrps()
[all …]
Drgrp.c2263 u64 bstart, u32 blen, unsigned char new_state) in rgblk_free() argument
2271 while (blen--) { in rgblk_free()
2520 u64 bstart, u32 blen, int meta) in __gfs2_free_blocks() argument
2525 rgblk_free(sdp, rgd, bstart, blen, GFS2_BLKST_FREE); in __gfs2_free_blocks()
2526 trace_gfs2_block_alloc(ip, rgd, bstart, blen, GFS2_BLKST_FREE); in __gfs2_free_blocks()
2527 rgd->rd_free += blen; in __gfs2_free_blocks()
2535 gfs2_journal_wipe(ip, bstart, blen); in __gfs2_free_blocks()
2548 u64 bstart, u32 blen) in gfs2_free_meta() argument
2552 __gfs2_free_blocks(ip, rgd, bstart, blen, 1); in gfs2_free_meta()
2553 gfs2_statfs_change(sdp, 0, +blen, 0); in gfs2_free_meta()
[all …]
Dmeta_io.h65 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen);
/fs/nfsd/
Dnfs4idmap.c134 int *blen) in idtoname_request() argument
139 qword_add(bpp, blen, ent->authname); in idtoname_request()
141 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in idtoname_request()
142 qword_add(bpp, blen, idstr); in idtoname_request()
314 int *blen) in nametoid_request() argument
318 qword_add(bpp, blen, ent->authname); in nametoid_request()
319 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); in nametoid_request()
320 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()
373 char **bpp, int *blen) in svc_export_request() argument
379 qword_add(bpp, blen, exp->ex_client->name); in svc_export_request()
380 pth = d_path(&exp->ex_path, *bpp, *blen); in svc_export_request()
386 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/xfs/libxfs/
Dxfs_bmap.c3182 xfs_extlen_t *blen) in xfs_bmap_longest_free_extent() argument
3197 if (*blen < longest) in xfs_bmap_longest_free_extent()
3198 *blen = longest; in xfs_bmap_longest_free_extent()
3207 xfs_extlen_t blen) in xfs_bmap_select_minlen() argument
3214 if (blen < ap->minlen) in xfs_bmap_select_minlen()
3222 if (blen < args->maxlen) in xfs_bmap_select_minlen()
3223 return blen; in xfs_bmap_select_minlen()
3231 xfs_extlen_t *blen) in xfs_bmap_btalloc_select_lengths() argument
3249 *blen = 0; in xfs_bmap_btalloc_select_lengths()
3251 error = xfs_bmap_longest_free_extent(pag, args->tp, blen); in xfs_bmap_btalloc_select_lengths()
[all …]
Dxfs_bmap.h173 struct xfs_trans *tp, xfs_extlen_t *blen);
/fs/xfs/
Dxfs_filestream.h18 struct xfs_alloc_arg *args, xfs_extlen_t *blen);
/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/exfat/
Dnamei.c113 unsigned int blen = exfat_striptail_len(len, str, in exfat_d_cmp() local
118 if (alen != blen) in exfat_d_cmp()
125 if (charlen != t->char2uni(&str[i], blen - i, &c2)) in exfat_d_cmp()
173 unsigned int blen = exfat_striptail_len(len, str, in exfat_utf8_d_cmp() local
179 if (alen != blen) in exfat_utf8_d_cmp()
186 if (charlen != utf8_to_utf32(&str[i], blen - i, &u_b)) in exfat_utf8_d_cmp()
/fs/smb/server/
Dauth.h43 struct ntlmv2_resp *ntlmv2, int blen, char *domain_name,
Dauth.c221 struct ntlmv2_resp *ntlmv2, int blen, char *domain_name, in ksmbd_auth_ntlmv2() argument
256 len = CIFS_CRYPTO_KEY_SIZE + blen; in ksmbd_auth_ntlmv2()
264 memcpy(construct + CIFS_CRYPTO_KEY_SIZE, &ntlmv2->blob_signature, blen); in ksmbd_auth_ntlmv2()
/fs/nfs/
Ddns_resolve.c141 char **bpp, int *blen) in nfs_dns_request() argument
145 qword_add(bpp, blen, key->hostname); in nfs_dns_request()
/fs/udf/
Dinode.c937 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents() local
941 if (blen == 1) in udf_split_extents()
943 else if (!offset || blen == offset + 1) { in udf_split_extents()
978 if (blen != offset + 1) { in udf_split_extents()
983 ((blen - (offset + 1)) << blocksize_bits); in udf_split_extents()
/fs/ntfs3/
Dindex.c378 sector_t blen, block; in scan_nres_bitmap() local
414 blen = (sector_t)clen * sbi->blocks_per_cluster; in scan_nres_bitmap()
417 for (; blk < blen; blk++, from = 0) { in scan_nres_bitmap()
/fs/f2fs/
Dsegment.c308 pgoff_t off = 0, blen, index; in __f2fs_commit_atomic_write() local
314 blen = min_t(pgoff_t, ADDRS_PER_BLOCK(cow_inode), len); in __f2fs_commit_atomic_write()
327 blen = min((pgoff_t)ADDRS_PER_PAGE(dn.node_page, cow_inode), in __f2fs_commit_atomic_write()
330 for (i = 0; i < blen; i++, dn.ofs_in_node++, index++) { in __f2fs_commit_atomic_write()
359 off += blen; in __f2fs_commit_atomic_write()
360 len -= blen; in __f2fs_commit_atomic_write()