Searched refs:aligned_len (Results 1 – 2 of 2) sorted by relevance
/fs/ubifs/ |
D | io.c | 733 int err, written, n, aligned_len = ALIGN(len, 8); in ubifs_wbuf_write_nolock() local 751 if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) { in ubifs_wbuf_write_nolock() 761 if (aligned_len <= wbuf->avail) { in ubifs_wbuf_write_nolock() 767 if (aligned_len > len) { in ubifs_wbuf_write_nolock() 768 ubifs_assert(c, aligned_len - len < 8); in ubifs_wbuf_write_nolock() 769 ubifs_pad(c, wbuf->buf + wbuf->used + len, aligned_len - len); in ubifs_wbuf_write_nolock() 772 if (aligned_len == wbuf->avail) { in ubifs_wbuf_write_nolock() 792 wbuf->avail -= aligned_len; in ubifs_wbuf_write_nolock() 793 wbuf->used += aligned_len; in ubifs_wbuf_write_nolock() 818 aligned_len -= wbuf->avail; in ubifs_wbuf_write_nolock() [all …]
|
D | journal.c | 1795 int err, len1, len2, aligned_len, aligned_len1, lnum, offs; in ubifs_jnl_change_xattr() local 1810 aligned_len = aligned_len1 + ALIGN(len2, 8); in ubifs_jnl_change_xattr() 1812 aligned_len += ubifs_auth_node_sz(c); in ubifs_jnl_change_xattr() 1814 ino = kzalloc(aligned_len, GFP_NOFS); in ubifs_jnl_change_xattr() 1819 err = make_reservation(c, BASEHD, aligned_len); in ubifs_jnl_change_xattr() 1832 err = write_head(c, BASEHD, ino, aligned_len, &lnum, &offs, 0); in ubifs_jnl_change_xattr()
|