Home
last modified time | relevance | path

Searched refs:NULL_ADDR (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/fs/f2fs/
Dnode.c472 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr()
480 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NULL_ADDR && in set_node_addr()
481 new_blkaddr == NULL_ADDR); in set_node_addr()
488 if (nat_get_blkaddr(e) != NEW_ADDR && new_blkaddr == NULL_ADDR) { in set_node_addr()
899 set_node_addr(sbi, &ni, NULL_ADDR, false); in truncate_node()
1296 if (unlikely(new_ni.blk_addr != NULL_ADDR)) { in f2fs_new_node_page()
1305 new_ni.blk_addr = NULL_ADDR; in f2fs_new_node_page()
1363 if (unlikely(ni.blk_addr == NULL_ADDR || ni.blk_addr == NEW_ADDR)) { in read_node_page()
1623 if (unlikely(ni.blk_addr == NULL_ADDR)) { in __write_node_page()
2316 nat_get_blkaddr(ne) != NULL_ADDR)) in add_free_nid()
[all …]
Ddata.c1156 if (blkaddr == NULL_ADDR) { in f2fs_reserve_new_blocks()
1188 if (dn->data_blkaddr == NULL_ADDR) in f2fs_reserve_block()
1239 if (unlikely(dn.data_blkaddr == NULL_ADDR)) { in f2fs_get_read_data_page()
1413 if (dn->data_blkaddr != NULL_ADDR) in __allocate_data_block()
1584 if (blkaddr == NULL_ADDR) { in f2fs_map_blocks()
1620 blkaddr == NULL_ADDR) { in f2fs_map_blocks()
2659 if (fio->old_blkaddr == NULL_ADDR) { in f2fs_do_write_data_page()
2763 .old_blkaddr = NULL_ADDR, in f2fs_write_single_data_page()
3351 if (dn.data_blkaddr == NULL_ADDR) in prepare_write_begin()
3362 if (err || dn.data_blkaddr == NULL_ADDR) { in prepare_write_begin()
[all …]
Drecovery.c670 if (dest == NULL_ADDR) { in do_recover_data()
693 if (src == NULL_ADDR) { in do_recover_data()
Dfile.c408 if (blkaddr == NULL_ADDR) in __found_offset()
587 if (blkaddr == NULL_ADDR) in f2fs_truncate_data_blocks_range()
590 dn->data_blkaddr = NULL_ADDR; in f2fs_truncate_data_blocks_range()
1217 f2fs_update_data_blkaddr(&dn, NULL_ADDR); in __read_out_blkaddrs()
1263 if (blkaddr[i] == NULL_ADDR && !full) { in __clone_blkaddrs()
1268 if (do_replace[i] || blkaddr[i] == NULL_ADDR) { in __clone_blkaddrs()
1307 } while (--ilen && (do_replace[i] || blkaddr[i] == NULL_ADDR)); in __clone_blkaddrs()
1463 if (f2fs_data_blkaddr(dn) == NULL_ADDR) in f2fs_do_zero_range()
1479 if (dn->data_blkaddr == NULL_ADDR) { in f2fs_do_zero_range()
3401 dn->data_blkaddr = NULL_ADDR; in release_compress_blocks()
Dcompress.c971 if (blkaddr != NULL_ADDR) in __f2fs_cluster_blocks()
1259 dn.ofs_in_node + i) == NULL_ADDR) in f2fs_write_compressed_pages()
1337 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
Dextent_cache.c872 blkaddr = NULL_ADDR; in f2fs_update_extent_cache()
Dsegment.c233 if (new_addr == NULL_ADDR) in __replace_atomic_write_block()
327 f2fs_update_data_blkaddr(&dn, NULL_ADDR); in __f2fs_commit_atomic_write()
2268 f2fs_bug_on(sbi, addr == NULL_ADDR); in f2fs_invalidate_blocks()
3411 f2fs_bug_on(sbi, dn->data_blkaddr == NULL_ADDR); in f2fs_outplace_write_data()
3508 if (old_blkaddr == NULL_ADDR) in f2fs_do_replace_block()
Dgc.c1275 if (unlikely(dn.data_blkaddr == NULL_ADDR)) { in move_data_block()
1428 .old_blkaddr = NULL_ADDR, in move_data_page()
Dinode.c926 if (ni.blk_addr != NULL_ADDR) { in f2fs_handle_failed_inode()
Dcheckpoint.c688 if (ni.blk_addr != NULL_ADDR) { in recover_orphan_inode()
Df2fs.h3443 if (blkaddr == NEW_ADDR || blkaddr == NULL_ADDR || in __is_valid_data_blkaddr()
/linux-6.1.9/include/linux/
Df2fs_fs.h24 #define NULL_ADDR ((block_t)0) /* used as block_t addresses */ macro