Home
last modified time | relevance | path

Searched refs:wlen (Results 1 – 3 of 3) sorted by relevance

/fs/ubifs/
Dtnc_commit.c433 int wlen, blen, err; in layout_in_empty_space() local
510 wlen = used + len; in layout_in_empty_space()
523 blen = ALIGN(wlen, c->min_io_size); in layout_in_empty_space()
829 int avail, wlen, err, lnum_pos = 0, blen, nxt_offs; in write_index() local
966 wlen = used + len; in write_index()
986 wlen = ALIGN(wlen, 8); in write_index()
987 blen = ALIGN(wlen, c->min_io_size); in write_index()
988 ubifs_pad(c, c->cbuf + wlen, blen - wlen); in write_index()
Dlpt_commit.c362 int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; in write_cnodes() local
402 wlen = offs - from; in write_cnodes()
403 if (wlen) { in write_cnodes()
404 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
405 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
462 wlen = offs - from; in write_cnodes()
463 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
464 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
488 wlen = offs - from; in write_cnodes()
489 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
[all …]
/fs/orangefs/
Dinode.c25 size_t len, wlen; in orangefs_writepage_locked() local
37 wlen = len - off; in orangefs_writepage_locked()
39 wlen = wr->len; in orangefs_writepage_locked()
44 wlen = len - off; in orangefs_writepage_locked()
46 wlen = PAGE_SIZE; in orangefs_writepage_locked()
49 WARN_ON(off == len || off + wlen > len); in orangefs_writepage_locked()
52 bv.bv_len = wlen; in orangefs_writepage_locked()
54 WARN_ON(wlen == 0); in orangefs_writepage_locked()
55 iov_iter_bvec(&iter, WRITE, &bv, 1, wlen); in orangefs_writepage_locked()
57 ret = wait_for_direct_io(ORANGEFS_IO_WRITE, inode, &off, &iter, wlen, in orangefs_writepage_locked()