Searched refs:empty_offs (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/fs/ubifs/ |
H A D | recovery.c | 409 int empty_offs, check_len; in is_last_write() local 416 empty_offs = ALIGN(offs + 1, c->max_write_size); in is_last_write() 417 check_len = c->leb_size - empty_offs; in is_last_write() 418 p = buf + empty_offs - offs; in is_last_write() 437 int empty_offs, pad_len; in clean_buf() local 443 empty_offs = ALIGN(*offs, c->min_io_size); in clean_buf() 444 pad_len = empty_offs - *offs; in clean_buf() 449 memset(*buf, 0xff, c->leb_size - empty_offs); in clean_buf()
|
/openbmc/linux/fs/ubifs/ |
H A D | recovery.c | 404 int empty_offs, check_len; in is_last_write() local 411 empty_offs = ALIGN(offs + 1, c->max_write_size); in is_last_write() 412 check_len = c->leb_size - empty_offs; in is_last_write() 413 p = buf + empty_offs - offs; in is_last_write() 432 int empty_offs, pad_len; in clean_buf() local 437 empty_offs = ALIGN(*offs, c->min_io_size); in clean_buf() 438 pad_len = empty_offs - *offs; in clean_buf() 443 memset(*buf, 0xff, c->leb_size - empty_offs); in clean_buf()
|