Home
last modified time | relevance | path

Searched refs:buf_len (Results 1 – 10 of 10) sorted by relevance

/fs/jffs2/
Dscan.c449 uint32_t hdr_crc, buf_ofs, buf_len; in jffs2_scan_eraseblock() local
499 buf_len = c->wbuf_pagesize; in jffs2_scan_eraseblock()
501 buf_len = sizeof(*sm); in jffs2_scan_eraseblock()
504 err = jffs2_fill_scan_buf(c, buf + buf_size - buf_len, in jffs2_scan_eraseblock()
505 jeb->offset + c->sector_size - buf_len, in jffs2_scan_eraseblock()
506 buf_len); in jffs2_scan_eraseblock()
525 memcpy(sumptr + sumlen - buf_len, buf + buf_size - buf_len, buf_len); in jffs2_scan_eraseblock()
527 if (buf_len < sumlen) { in jffs2_scan_eraseblock()
531 sumlen - buf_len); in jffs2_scan_eraseblock()
561 buf_len = c->sector_size; in jffs2_scan_eraseblock()
[all …]
/fs/ubifs/
Dtnc_commit.c432 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; in layout_in_empty_space() local
442 buf_len = ubifs_idx_node_sz(c, c->fanout); in layout_in_empty_space()
443 buf_len = ALIGN(buf_len, c->min_io_size); in layout_in_empty_space()
445 avail = buf_len; in layout_in_empty_space()
466 avail = buf_len; in layout_in_empty_space()
521 blen = buf_len; in layout_in_empty_space()
539 avail = buf_len - used; in layout_in_empty_space()
828 int i, lnum, offs, len, next_len, buf_len, buf_offs, used; in write_index() local
843 buf_len = ALIGN(c->max_idx_node_sz, c->min_io_size); in write_index()
845 avail = buf_len; in write_index()
[all …]
Dfile.c751 bu->buf_len = bu->zbranch[bu->cnt - 1].offs + in ubifs_do_bulk_read()
754 ubifs_assert(c, bu->buf_len > 0); in ubifs_do_bulk_read()
755 ubifs_assert(c, bu->buf_len <= c->leb_size); in ubifs_do_bulk_read()
756 bu->buf = kmalloc(bu->buf_len, GFP_NOFS | __GFP_NOWARN); in ubifs_do_bulk_read()
873 bu->buf_len = c->max_bu_buf_len; in ubifs_bulk_read()
Dio.c952 int err, buf_len = ALIGN(len, c->min_io_size); in ubifs_write_node_hmac() local
956 buf_len); in ubifs_write_node_hmac()
969 err = ubifs_leb_write(c, lnum, buf, offs, buf_len); in ubifs_write_node_hmac()
Dtnc.c1572 if (len > bu->buf_len) { in ubifs_tnc_get_bu_keys()
1604 if (len > bu->buf_len) { in ubifs_tnc_get_bu_keys()
1618 if (len > bu->buf_len) in ubifs_tnc_get_bu_keys()
1797 if (len > bu->buf_len) { in ubifs_tnc_bulk_read()
1798 ubifs_err(c, "buffer too small %d vs %d", bu->buf_len, len); in ubifs_tnc_bulk_read()
Dubifs.h810 int buf_len; member
/fs/cifs/
Dlink.c80 parse_mf_symlink(const u8 *buf, unsigned int buf_len, unsigned int *_link_len, in parse_mf_symlink() argument
90 if (buf_len != CIFS_MF_SYMLINK_FILE_SIZE) in parse_mf_symlink()
127 format_mf_symlink(u8 *buf, unsigned int buf_len, const char *link_str) in format_mf_symlink() argument
134 if (buf_len != CIFS_MF_SYMLINK_FILE_SIZE) in format_mf_symlink()
148 scnprintf(buf, buf_len, in format_mf_symlink()
Dsmb2ops.c441 size_t buf_len, in parse_server_interfaces() argument
463 bytes_left = buf_len; in parse_server_interfaces()
498 bytes_left = buf_len; in parse_server_interfaces()
3986 char *buf, unsigned int buf_len, struct page **pages, in handle_read_data() argument
4025 min_t(unsigned int, buf_len, server->vals->read_rsp_size); in handle_read_data()
4072 if (buf_len <= data_offset) { in handle_read_data()
4110 } else if (buf_len >= data_offset + data_len) { in handle_read_data()
/fs/btrfs/
Dsend.c50 unsigned short buf_len:15; member
339 p->start = p->buf + p->buf_len - 1; in fs_path_reset()
358 p->buf_len = FS_PATH_INLINE_SIZE; in fs_path_alloc()
397 if (p->buf_len >= len) in fs_path_ensure_buf()
406 old_buf_len = p->buf_len; in fs_path_ensure_buf()
425 p->buf_len = ksize(p->buf); in fs_path_ensure_buf()
429 p->end = p->buf + p->buf_len - 1; in fs_path_ensure_buf()
957 p->buf, p->buf_len); in iterate_inode_ref()
965 p->buf_len + p->buf - start); in iterate_inode_ref()
971 p->buf, p->buf_len); in iterate_inode_ref()
[all …]
/fs/xfs/
Dxfs_trace.h431 __field(size_t, buf_len)
447 __entry->buf_len = BBTOB(bip->bli_buf->b_length);
459 __entry->buf_len,