Lines Matching defs:flag
563 * data/node io flag bits per temp:
1439 int flag;
1457 flag = f2fs_force_buffered_io(inode, iocb, from) ?
1470 flag = F2FS_GET_BLOCK_PRE_AIO;
1473 err = f2fs_map_blocks(inode, &map, 1, flag);
1482 void f2fs_do_map_lock(struct f2fs_sb_info *sbi, int flag, bool lock)
1484 if (flag == F2FS_GET_BLOCK_PRE_AIO) {
1503 int create, int flag)
1532 if (f2fs_lfs_mode(sbi) && flag == F2FS_GET_BLOCK_DIO &&
1543 if (flag == F2FS_GET_BLOCK_DIO)
1551 f2fs_do_map_lock(sbi, flag, true);
1557 if (flag == F2FS_GET_BLOCK_BMAP)
1601 if (f2fs_lfs_mode(sbi) && flag == F2FS_GET_BLOCK_DIO &&
1615 if (flag == F2FS_GET_BLOCK_PRE_AIO) {
1621 WARN_ON(flag != F2FS_GET_BLOCK_PRE_DIO &&
1622 flag != F2FS_GET_BLOCK_DIO);
1633 if (flag == F2FS_GET_BLOCK_BMAP) {
1637 if (flag == F2FS_GET_BLOCK_PRECACHE)
1639 if (flag == F2FS_GET_BLOCK_FIEMAP &&
1645 if (flag != F2FS_GET_BLOCK_FIEMAP) {
1654 if (flag == F2FS_GET_BLOCK_PRE_AIO)
1668 flag == F2FS_GET_BLOCK_PRE_DIO) {
1680 if (flag == F2FS_GET_BLOCK_PRE_AIO &&
1701 if (flag == F2FS_GET_BLOCK_PRECACHE) {
1714 f2fs_do_map_lock(sbi, flag, false);
1722 if (flag == F2FS_GET_BLOCK_DIO && map->m_flags & F2FS_MAP_MAPPED)
1726 if (flag == F2FS_GET_BLOCK_PRECACHE) {
1740 f2fs_do_map_lock(sbi, flag, false);
1775 struct buffer_head *bh, int create, int flag,
1788 err = f2fs_map_blocks(inode, &map, create, flag);
1798 struct buffer_head *bh_result, int create, int flag,
1802 flag, next_pgofs,
3352 int flag;
3365 flag = F2FS_GET_BLOCK_DEFAULT;
3367 flag = F2FS_GET_BLOCK_PRE_AIO;
3371 f2fs_do_map_lock(sbi, flag, true);
3410 WARN_ON(flag != F2FS_GET_BLOCK_PRE_AIO);
3424 f2fs_do_map_lock(sbi, flag, false);