• Home
  • Raw
  • Download

Lines Matching refs:flag

1228 	int flag;  in f2fs_preallocate_blocks()  local
1259 flag = f2fs_force_buffered_io(inode, iocb, from) ? in f2fs_preallocate_blocks()
1272 flag = F2FS_GET_BLOCK_PRE_AIO; in f2fs_preallocate_blocks()
1275 err = f2fs_map_blocks(inode, &map, 1, flag); in f2fs_preallocate_blocks()
1284 void __do_map_lock(struct f2fs_sb_info *sbi, int flag, bool lock) in __do_map_lock() argument
1286 if (flag == F2FS_GET_BLOCK_PRE_AIO) { in __do_map_lock()
1309 int create, int flag) in f2fs_map_blocks() argument
1334 if (test_opt(sbi, LFS) && flag == F2FS_GET_BLOCK_DIO && in f2fs_map_blocks()
1345 if (flag == F2FS_GET_BLOCK_DIO) in f2fs_map_blocks()
1353 __do_map_lock(sbi, flag, true); in f2fs_map_blocks()
1359 if (flag == F2FS_GET_BLOCK_BMAP) in f2fs_map_blocks()
1389 if (test_opt(sbi, LFS) && flag == F2FS_GET_BLOCK_DIO && in f2fs_map_blocks()
1403 if (flag == F2FS_GET_BLOCK_PRE_AIO) { in f2fs_map_blocks()
1409 WARN_ON(flag != F2FS_GET_BLOCK_PRE_DIO && in f2fs_map_blocks()
1410 flag != F2FS_GET_BLOCK_DIO); in f2fs_map_blocks()
1421 if (flag == F2FS_GET_BLOCK_BMAP) { in f2fs_map_blocks()
1425 if (flag == F2FS_GET_BLOCK_PRECACHE) in f2fs_map_blocks()
1427 if (flag == F2FS_GET_BLOCK_FIEMAP && in f2fs_map_blocks()
1433 if (flag != F2FS_GET_BLOCK_FIEMAP) { in f2fs_map_blocks()
1442 if (flag == F2FS_GET_BLOCK_PRE_AIO) in f2fs_map_blocks()
1456 flag == F2FS_GET_BLOCK_PRE_DIO) { in f2fs_map_blocks()
1468 if (flag == F2FS_GET_BLOCK_PRE_AIO && in f2fs_map_blocks()
1489 if (flag == F2FS_GET_BLOCK_PRECACHE) { in f2fs_map_blocks()
1502 __do_map_lock(sbi, flag, false); in f2fs_map_blocks()
1510 if (flag == F2FS_GET_BLOCK_DIO && map->m_flags & F2FS_MAP_MAPPED) in f2fs_map_blocks()
1514 if (flag == F2FS_GET_BLOCK_PRECACHE) { in f2fs_map_blocks()
1528 __do_map_lock(sbi, flag, false); in f2fs_map_blocks()
1563 struct buffer_head *bh, int create, int flag, in __get_data_block() argument
1576 err = f2fs_map_blocks(inode, &map, create, flag); in __get_data_block()
1586 struct buffer_head *bh_result, int create, int flag, in get_data_block() argument
1590 flag, next_pgofs, in get_data_block()
2694 int flag; in prepare_write_begin() local
2707 flag = F2FS_GET_BLOCK_DEFAULT; in prepare_write_begin()
2709 flag = F2FS_GET_BLOCK_PRE_AIO; in prepare_write_begin()
2713 __do_map_lock(sbi, flag, true); in prepare_write_begin()
2751 WARN_ON(flag != F2FS_GET_BLOCK_PRE_AIO); in prepare_write_begin()
2765 __do_map_lock(sbi, flag, false); in prepare_write_begin()