Searched refs:pad_len (Results 1 – 8 of 8) sorted by relevance
/fs/ubifs/ |
D | scan.c | 42 int pad_len = 0, max_pad_len = min_t(int, UBIFS_PAD_NODE_SZ, len); in scan_padding_bytes() local 47 while (pad_len < max_pad_len && *p++ == UBIFS_PADDING_BYTE) in scan_padding_bytes() 48 pad_len += 1; in scan_padding_bytes() 50 if (!pad_len || (pad_len & 7)) in scan_padding_bytes() 53 dbg_scan("%d padding bytes", pad_len); in scan_padding_bytes() 55 return pad_len; in scan_padding_bytes() 96 int pad_len = le32_to_cpu(pad->pad_len); in ubifs_scan_a_node() local 100 if (pad_len < 0 || in ubifs_scan_a_node() 101 offs + node_len + pad_len > c->leb_size) { in ubifs_scan_a_node() 111 if ((node_len + pad_len) & 7) { in ubifs_scan_a_node() [all …]
|
D | recovery.c | 443 int empty_offs, pad_len; in clean_buf() local 450 pad_len = empty_offs - *offs; in clean_buf() 451 ubifs_pad(c, *buf, pad_len); in clean_buf() 452 *offs += pad_len; in clean_buf() 453 *buf += pad_len; in clean_buf() 454 *len -= pad_len; in clean_buf() 550 int pad_len = len - ALIGN(endpt, 8); in fix_unclean_leb() local 552 if (pad_len > 0) { in fix_unclean_leb() 553 void *buf = sleb->buf + len - pad_len; in fix_unclean_leb() 555 ubifs_pad(c, buf, pad_len); in fix_unclean_leb() [all …]
|
D | lpt_commit.c | 1077 int offs, pad_len; in get_pad_len() local 1082 pad_len = ALIGN(offs, c->min_io_size) - offs; in get_pad_len() 1083 return pad_len; in get_pad_len() 1160 int pad_len; in lpt_gc_lnum() local 1162 pad_len = get_pad_len(c, buf, len); in lpt_gc_lnum() 1163 if (pad_len) { in lpt_gc_lnum() 1164 buf += pad_len; in lpt_gc_lnum() 1165 len -= pad_len; in lpt_gc_lnum() 1651 int i, pad_len; in dbg_check_ltab_lnum() local 1653 pad_len = get_pad_len(c, p, len); in dbg_check_ltab_lnum() [all …]
|
D | tnc_commit.c | 114 int len, gap_remains, gap_pos, written, pad_len; in fill_gap() local 149 pad_len = c->ileb_len - gap_pos; in fill_gap() 152 pad_len = gap_remains; in fill_gap() 154 lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len); in fill_gap() 155 ubifs_pad(c, c->ileb_buf + gap_pos, pad_len); in fill_gap() 156 *dirt += pad_len; in fill_gap()
|
D | ubifs-media.h | 590 __le32 pad_len; member
|
D | io.c | 335 pad_node->pad_len = cpu_to_le32(pad); in ubifs_pad()
|
D | debug.c | 324 pr_err("\tpad_len %u\n", le32_to_cpu(pad->pad_len)); in ubifs_dump_node()
|
/fs/logfs/ |
D | journal.c | 609 ssize_t compr_len, pad_len; in __logfs_write_je() local 622 pad_len = ALIGN(compr_len, 16); in __logfs_write_je() 623 memset(data + compr_len, 0, pad_len - compr_len); in __logfs_write_je()
|