Home
last modified time | relevance | path

Searched refs:BLOCK_SZ (Results 1 – 14 of 14) sorted by relevance

/third_party/f2fs-tools/fsck/
Dsegment.c110 memset(block, 0, BLOCK_SZ); in new_data_block()
134 inode = (struct f2fs_node *) calloc(BLOCK_SZ, 1); in f2fs_quota_size()
165 blk_buffer = calloc(BLOCK_SZ, 2); in f2fs_read()
167 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_read()
202 off_in_blk = offset % BLOCK_SZ; in f2fs_read()
203 len_in_blk = BLOCK_SZ - off_in_blk; in f2fs_read()
208 if (len_in_blk < BLOCK_SZ) { in f2fs_read()
248 blk_buffer = calloc(BLOCK_SZ, 2); in f2fs_write()
250 inode = (struct f2fs_node*)(blk_buffer + BLOCK_SZ); in f2fs_write()
286 off_in_blk = offset % BLOCK_SZ; in f2fs_write()
[all …]
Dresize.c168 void *raw = calloc(BLOCK_SZ, 1); in migrate_main()
244 void *zero_block = calloc(BLOCK_SZ, 1); in migrate_ssa()
288 nat_block = malloc(BLOCK_SZ); in shrink_nats()
290 zero_block = calloc(BLOCK_SZ, 1); in shrink_nats()
310 if (memcmp(zero_block, nat_block, BLOCK_SZ)) { in shrink_nats()
337 nat_block = malloc(BLOCK_SZ); in migrate_nat()
365 memset(nat_block, 0, BLOCK_SZ); in migrate_nat()
396 struct f2fs_sit_block *sit_blk = calloc(BLOCK_SZ, 1); in migrate_sit()
430 memset(sit_blk, 0, BLOCK_SZ); in migrate_sit()
464 new_cp = calloc(new_cp_blks * BLOCK_SZ, 1); in rebuild_checkpoint()
[all …]
Dxattr.c32 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in read_all_xattrs()
42 txattr_addr = calloc(inline_size + BLOCK_SZ, 1); in read_all_xattrs()
114 xattr_node = calloc(BLOCK_SZ, 1); in write_all_xattrs()
164 inode = calloc(BLOCK_SZ, 1); in f2fs_setxattr()
Ddump.c43 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in nat_dump()
45 node_block = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in nat_dump()
260 node_blk = calloc(BLOCK_SZ, 1); in dump_node_blk()
482 node_blk = calloc(BLOCK_SZ, 1); in dump_node()
524 node_blk = calloc(BLOCK_SZ, 1); in dump_node_from_blkaddr()
567 node_blk = calloc(BLOCK_SZ, 1); in dump_data_offset()
589 node_blk = calloc(BLOCK_SZ, 1); in dump_node_offset()
604 node_blk = calloc(BLOCK_SZ, 1); in has_dirent()
629 blk = calloc(BLOCK_SZ, 1); in dump_dirent()
Ddir.c132 dentry_blk = calloc(BLOCK_SZ, 1); in find_in_level()
245 dentry_blk = calloc(BLOCK_SZ, 1); in f2fs_add_link()
347 dent_blk = calloc(BLOCK_SZ, 1); in make_empty_dir()
396 data_blk = calloc(BLOCK_SZ, 1); in page_symlink()
568 dentry_blk = calloc(BLOCK_SZ, 1); in convert_inline_dentry()
652 parent = calloc(BLOCK_SZ, 1); in f2fs_create()
674 child = calloc(BLOCK_SZ, 1); in f2fs_create()
740 parent = calloc(BLOCK_SZ, 1); in f2fs_find_path()
Dnode.c75 node_blk = calloc(BLOCK_SZ, 1); in new_node_block()
236 dn->node_blk = calloc(BLOCK_SZ, 1); in get_dnode_of_data()
Dfsck.h119 #define BLOCK_SZ 4096 macro
121 unsigned char buf[BLOCK_SZ];
Ddefrag.c14 void *raw = calloc(BLOCK_SZ, 1); in migrate_block()
Dnode.h38 inode_blk = calloc(BLOCK_SZ, 2); in ADDRS_PER_PAGE()
Dmount.c674 buf = calloc(BLOCK_SZ, 1); in update_superblock()
2137 sum_blk = calloc(BLOCK_SZ, 1); in get_sum_block()
2181 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in get_nat_entry()
2203 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in update_data_blkaddr()
2255 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in update_nat_blkaddr()
2303 sit_blk = calloc(BLOCK_SZ, 1); in build_sit_entries()
2458 sit_blk = calloc(BLOCK_SZ, 1); in rewrite_sit_area_bitmap()
2508 sit_blk = calloc(BLOCK_SZ, 1); in flush_sit_journal_entries()
2544 nat_block = (struct f2fs_nat_block *)calloc(BLOCK_SZ, 1); in flush_nat_journal_entries()
2585 sit_blk = calloc(BLOCK_SZ, 1); in flush_sit_entries()
[all …]
Dfsck.c227 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in is_valid_summary()
508 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_xattr_blk()
533 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fsck_chk_node_blk()
1662 de_blk = (struct f2fs_dentry_block *)calloc(BLOCK_SZ, 1); in fsck_chk_dentry_blk()
1750 orphan_blk = calloc(BLOCK_SZ, 1); in fsck_chk_orphan_node()
1753 new_blk = calloc(BLOCK_SZ, 1); in fsck_chk_orphan_node()
1795 memset(orphan_blk, 0, BLOCK_SZ); in fsck_chk_orphan_node()
1796 memset(new_blk, 0, BLOCK_SZ); in fsck_chk_orphan_node()
2055 node_blk = (struct f2fs_node *)calloc(BLOCK_SZ, 1); in fix_hard_links()
2095 sit_blk = calloc(BLOCK_SZ, 1); in flush_curseg_sit_entries()
Dmkquota.c305 qsize_t space = (inode->i_blocks - 1) * BLOCK_SZ; in quota_add_inode_usage()
/third_party/ltp/testcases/kernel/syscalls/io_uring/
Dio_uring01.c25 #define BLOCK_SZ 1024 macro
158 if (cqe->res == BLOCK_SZ) in drain_uring_cq()
161 tst_res(TFAIL, "CQE result %i expected %i", cqe->res, BLOCK_SZ); in drain_uring_cq()
207 sqe->len = BLOCK_SZ; in submit_to_uring_sq()
265 {&iov, .iov_sizes = (int[]){BLOCK_SZ, -1}},
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/
Dgstmpegdemux.c58 #define BLOCK_SZ 32768 macro
2726 guint cursor, to_read = BLOCK_SZ; in gst_ps_demux_scan_forward_ts()
2781 guint cursor, to_read = BLOCK_SZ; in gst_ps_demux_scan_backward_ts()
2792 if (offset > BLOCK_SZ) in gst_ps_demux_scan_backward_ts()
2793 offset -= BLOCK_SZ; in gst_ps_demux_scan_backward_ts()
2977 guint size = BLOCK_SZ; in gst_ps_demux_loop()
3006 guint64 size = MIN (offset, BLOCK_SZ); in gst_ps_demux_loop()