Lines Matching refs:dir_buf
1361 void *dir_buf = NULL; in ext4_inlinedir_to_tree() local
1377 dir_buf = kmalloc(inline_size, GFP_NOFS); in ext4_inlinedir_to_tree()
1378 if (!dir_buf) { in ext4_inlinedir_to_tree()
1384 ret = ext4_read_inline_data(inode, dir_buf, inline_size, &iloc); in ext4_inlinedir_to_tree()
1390 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_inlinedir_to_tree()
1418 de = (struct ext4_dir_entry_2 *)(dir_buf + pos); in ext4_inlinedir_to_tree()
1421 iloc.bh, dir_buf, in ext4_inlinedir_to_tree()
1452 kfree(dir_buf); in ext4_inlinedir_to_tree()
1476 void *dir_buf = NULL; in ext4_read_inline_dir() local
1491 dir_buf = kmalloc(inline_size, GFP_NOFS); in ext4_read_inline_dir()
1492 if (!dir_buf) { in ext4_read_inline_dir()
1498 ret = ext4_read_inline_data(inode, dir_buf, inline_size, &iloc); in ext4_read_inline_dir()
1505 parent_ino = le32_to_cpu(((struct ext4_dir_entry_2 *)dir_buf)->inode); in ext4_read_inline_dir()
1543 (dir_buf + i - extra_offset); in ext4_read_inline_dir()
1577 (dir_buf + ctx->pos - extra_offset); in ext4_read_inline_dir()
1578 if (ext4_check_dir_entry(inode, file, de, iloc.bh, dir_buf, in ext4_read_inline_dir()
1590 kfree(dir_buf); in ext4_read_inline_dir()