Home
last modified time | relevance | path

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

/Linux-v6.6/fs/f2fs/
Dnode.c476 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr()
484 f2fs_bug_on(sbi, nat_get_blkaddr(e) == NULL_ADDR && in set_node_addr()
485 new_blkaddr == NULL_ADDR); in set_node_addr()
492 if (nat_get_blkaddr(e) != NEW_ADDR && new_blkaddr == NULL_ADDR) { in set_node_addr()
903 set_node_addr(sbi, &ni, NULL_ADDR, false); in truncate_node()
1312 if (unlikely(new_ni.blk_addr != NULL_ADDR)) { in f2fs_new_node_page()
1321 new_ni.blk_addr = NULL_ADDR; in f2fs_new_node_page()
1379 if (unlikely(ni.blk_addr == NULL_ADDR || ni.blk_addr == NEW_ADDR)) { in read_node_page()
1643 if (unlikely(ni.blk_addr == NULL_ADDR)) { in __write_node_page()
2328 nat_get_blkaddr(ne) != NULL_ADDR)) in add_free_nid()
[all …]
Ddata.c1239 if (blkaddr == NULL_ADDR) { in f2fs_reserve_new_blocks()
1271 if (dn->data_blkaddr == NULL_ADDR) in f2fs_reserve_block()
1312 if (unlikely(dn.data_blkaddr == NULL_ADDR)) { in f2fs_get_read_data_page()
1485 if (dn->data_blkaddr == NULL_ADDR) { in __allocate_data_block()
1668 if (blkaddr == NULL_ADDR) { in f2fs_map_blocks()
1709 if (blkaddr == NULL_ADDR) { in f2fs_map_blocks()
2739 if (fio->old_blkaddr == NULL_ADDR) { in f2fs_do_write_data_page()
2842 .old_blkaddr = NULL_ADDR, in f2fs_write_single_data_page()
3461 if (err || dn.data_blkaddr != NULL_ADDR) in prepare_write_begin()
3474 if (!err && dn.data_blkaddr != NULL_ADDR) in prepare_write_begin()
[all …]
Dfile.c404 if (blkaddr == NULL_ADDR) in __found_offset()
588 if (blkaddr == NULL_ADDR) in f2fs_truncate_data_blocks_range()
591 dn->data_blkaddr = NULL_ADDR; in f2fs_truncate_data_blocks_range()
1212 f2fs_update_data_blkaddr(&dn, NULL_ADDR); in __read_out_blkaddrs()
1258 if (blkaddr[i] == NULL_ADDR && !full) { in __clone_blkaddrs()
1263 if (do_replace[i] || blkaddr[i] == NULL_ADDR) { in __clone_blkaddrs()
1302 } while (--ilen && (do_replace[i] || blkaddr[i] == NULL_ADDR)); in __clone_blkaddrs()
1458 if (f2fs_data_blkaddr(dn) == NULL_ADDR) in f2fs_do_zero_range()
1474 if (dn->data_blkaddr == NULL_ADDR) { in f2fs_do_zero_range()
3465 dn->data_blkaddr = NULL_ADDR; in release_compress_blocks()
Drecovery.c699 if (dest == NULL_ADDR) { in do_recover_data()
722 if (src == NULL_ADDR) { in do_recover_data()
Dextent_cache.c863 f2fs_bug_on(sbi, blkaddr == NULL_ADDR); in __get_new_block_age()
897 ei.blk = NULL_ADDR; in __update_extent_cache()
Dcompress.c976 if (blkaddr != NULL_ADDR) in __f2fs_cluster_blocks()
1266 dn.ofs_in_node + i) == NULL_ADDR) in f2fs_write_compressed_pages()
1344 f2fs_bug_on(fio.sbi, blkaddr == NULL_ADDR); in f2fs_write_compressed_pages()
Dsegment.c240 if (new_addr == NULL_ADDR) in __replace_atomic_write_block()
353 f2fs_update_data_blkaddr(&dn, NULL_ADDR); in __f2fs_commit_atomic_write()
2494 f2fs_bug_on(sbi, addr == NULL_ADDR); in f2fs_invalidate_blocks()
3621 f2fs_bug_on(sbi, dn->data_blkaddr == NULL_ADDR); in f2fs_outplace_write_data()
3720 if (old_blkaddr == NULL_ADDR) in f2fs_do_replace_block()
Dinode.c1001 if (ni.blk_addr != NULL_ADDR) { in f2fs_handle_failed_inode()
Dgc.c1308 if (unlikely(dn.data_blkaddr == NULL_ADDR)) { in move_data_block()
1460 .old_blkaddr = NULL_ADDR, in move_data_page()
Dcheckpoint.c708 if (ni.blk_addr != NULL_ADDR) { in recover_orphan_inode()
Df2fs.h3466 if (blkaddr == NEW_ADDR || blkaddr == NULL_ADDR || in __is_valid_data_blkaddr()
/Linux-v6.6/include/linux/
Df2fs_fs.h24 #define NULL_ADDR ((block_t)0) /* used as block_t addresses */ macro