Searched refs:buf_len (Results 1 – 10 of 10) sorted by relevance
/fs/jffs2/ |
D | scan.c | 447 uint32_t hdr_crc, buf_ofs, buf_len; in jffs2_scan_eraseblock() local 497 buf_len = c->wbuf_pagesize; in jffs2_scan_eraseblock() 499 buf_len = sizeof(*sm); in jffs2_scan_eraseblock() 502 err = jffs2_fill_scan_buf(c, buf + buf_size - buf_len, in jffs2_scan_eraseblock() 503 jeb->offset + c->sector_size - buf_len, in jffs2_scan_eraseblock() 504 buf_len); in jffs2_scan_eraseblock() 523 memcpy(sumptr + sumlen - buf_len, buf + buf_size - buf_len, buf_len); in jffs2_scan_eraseblock() 525 if (buf_len < sumlen) { in jffs2_scan_eraseblock() 529 sumlen - buf_len); in jffs2_scan_eraseblock() 556 buf_len = c->sector_size; in jffs2_scan_eraseblock() [all …]
|
/fs/ubifs/ |
D | tnc_commit.c | 416 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; in layout_in_empty_space() local 426 buf_len = ubifs_idx_node_sz(c, c->fanout); in layout_in_empty_space() 427 buf_len = ALIGN(buf_len, c->min_io_size); in layout_in_empty_space() 429 avail = buf_len; in layout_in_empty_space() 450 avail = buf_len; in layout_in_empty_space() 505 blen = buf_len; in layout_in_empty_space() 523 avail = buf_len - used; in layout_in_empty_space() 810 int i, lnum, offs, len, next_len, buf_len, buf_offs, used; in write_index() local 825 buf_len = ALIGN(c->max_idx_node_sz, c->min_io_size); in write_index() 827 avail = buf_len; in write_index() [all …]
|
D | file.c | 752 bu->buf_len = bu->zbranch[bu->cnt - 1].offs + in ubifs_do_bulk_read() 755 ubifs_assert(bu->buf_len > 0); in ubifs_do_bulk_read() 756 ubifs_assert(bu->buf_len <= c->leb_size); in ubifs_do_bulk_read() 757 bu->buf = kmalloc(bu->buf_len, GFP_NOFS | __GFP_NOWARN); in ubifs_do_bulk_read() 874 bu->buf_len = c->max_bu_buf_len; in ubifs_bulk_read()
|
D | io.c | 882 int err, buf_len = ALIGN(len, c->min_io_size); in ubifs_write_node() local 886 buf_len); in ubifs_write_node() 896 err = ubifs_leb_write(c, lnum, buf, offs, buf_len); in ubifs_write_node()
|
D | tnc.c | 1540 if (len > bu->buf_len) { in ubifs_tnc_get_bu_keys() 1572 if (len > bu->buf_len) { in ubifs_tnc_get_bu_keys() 1586 if (len > bu->buf_len) in ubifs_tnc_get_bu_keys() 1759 if (len > bu->buf_len) { in ubifs_tnc_bulk_read() 1760 ubifs_err(c, "buffer too small %d vs %d", bu->buf_len, len); in ubifs_tnc_bulk_read()
|
D | ubifs.h | 807 int buf_len; member
|
/fs/cifs/ |
D | link.c | 102 parse_mf_symlink(const u8 *buf, unsigned int buf_len, unsigned int *_link_len, in parse_mf_symlink() argument 112 if (buf_len != CIFS_MF_SYMLINK_FILE_SIZE) in parse_mf_symlink() 146 format_mf_symlink(u8 *buf, unsigned int buf_len, const char *link_str) in format_mf_symlink() argument 153 if (buf_len != CIFS_MF_SYMLINK_FILE_SIZE) in format_mf_symlink() 167 snprintf(buf, buf_len, in format_mf_symlink()
|
/fs/btrfs/ |
D | send.c | 57 unsigned short buf_len:15; member 294 p->start = p->buf + p->buf_len - 1; in fs_path_reset() 313 p->buf_len = FS_PATH_INLINE_SIZE; in fs_path_alloc() 352 if (p->buf_len >= len) in fs_path_ensure_buf() 361 old_buf_len = p->buf_len; in fs_path_ensure_buf() 380 p->buf_len = ksize(p->buf); in fs_path_ensure_buf() 384 p->end = p->buf + p->buf_len - 1; in fs_path_ensure_buf() 918 p->buf, p->buf_len); in iterate_inode_ref() 926 p->buf_len + p->buf - start); in iterate_inode_ref() 932 p->buf, p->buf_len); in iterate_inode_ref() [all …]
|
/fs/logfs/ |
D | journal.c | 651 size_t buf_len) in logfs_write_je_buf() argument 660 len = __logfs_write_je(sb, buf, type, buf_len); in logfs_write_je_buf()
|
/fs/xfs/ |
D | xfs_trace.h | 468 __field(size_t, buf_len) 485 __entry->buf_len = BBTOB(bip->bli_buf->b_length); 498 __entry->buf_len,
|