Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ubifs/
Dio.c697 int err, written, n, aligned_len = ALIGN(len, 8); in ubifs_wbuf_write_nolock() local
715 if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) { in ubifs_wbuf_write_nolock()
725 if (aligned_len <= wbuf->avail) { in ubifs_wbuf_write_nolock()
731 if (aligned_len > len) { in ubifs_wbuf_write_nolock()
732 ubifs_assert(c, aligned_len - len < 8); in ubifs_wbuf_write_nolock()
733 ubifs_pad(c, wbuf->buf + wbuf->used + len, aligned_len - len); in ubifs_wbuf_write_nolock()
736 if (aligned_len == wbuf->avail) { in ubifs_wbuf_write_nolock()
756 wbuf->avail -= aligned_len; in ubifs_wbuf_write_nolock()
757 wbuf->used += aligned_len; in ubifs_wbuf_write_nolock()
782 aligned_len -= wbuf->avail; in ubifs_wbuf_write_nolock()
[all …]
Djournal.c1608 int err, len1, len2, aligned_len, aligned_len1, lnum, offs; in ubifs_jnl_change_xattr() local
1622 aligned_len = aligned_len1 + ALIGN(len2, 8); in ubifs_jnl_change_xattr()
1624 ino = kzalloc(aligned_len, GFP_NOFS); in ubifs_jnl_change_xattr()
1629 err = make_reservation(c, BASEHD, aligned_len); in ubifs_jnl_change_xattr()
1636 err = write_head(c, BASEHD, ino, aligned_len, &lnum, &offs, 0); in ubifs_jnl_change_xattr()
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_dma.c362 size_t aligned_len; in scif_register_temp() local
364 aligned_len = ALIGN(len, PAGE_SIZE); in scif_register_temp()
367 aligned_len, &prot, 0, &pinned_pages); in scif_register_temp()
375 aligned_len >> PAGE_SHIFT, in scif_register_temp()
381 *out_window = scif_create_window(ep, aligned_len >> PAGE_SHIFT, in scif_register_temp()