• Home
  • Raw
  • Download

Lines Matching refs:retval

976 	int retval;  in ext4_dx_find_entry()  local
1017 retval = ext4_htree_next_block(dir, hash, frame, in ext4_dx_find_entry()
1019 if (retval < 0) { in ext4_dx_find_entry()
1023 *err = retval; in ext4_dx_find_entry()
1026 } while (retval == 1); in ext4_dx_find_entry()
1364 int retval; in make_indexed_dir() local
1372 retval = ext4_journal_get_write_access(handle, bh); in make_indexed_dir()
1373 if (retval) { in make_indexed_dir()
1374 ext4_std_error(dir->i_sb, retval); in make_indexed_dir()
1376 return retval; in make_indexed_dir()
1394 bh2 = ext4_append(handle, dir, &block, &retval); in make_indexed_dir()
1397 return retval; in make_indexed_dir()
1430 de = do_split(handle,dir, &bh, frame, &hinfo, &retval); in make_indexed_dir()
1433 return retval; in make_indexed_dir()
1455 int retval; in ext4_add_entry() local
1465 retval = ext4_dx_add_entry(handle, dentry, inode); in ext4_add_entry()
1466 if (!retval || (retval != ERR_BAD_DX_DIR)) in ext4_add_entry()
1467 return retval; in ext4_add_entry()
1474 bh = ext4_bread(handle, dir, block, 0, &retval); in ext4_add_entry()
1476 return retval; in ext4_add_entry()
1477 retval = add_dirent_to_buf(handle, dentry, inode, NULL, bh); in ext4_add_entry()
1478 if (retval != -ENOSPC) in ext4_add_entry()
1479 return retval; in ext4_add_entry()
1486 bh = ext4_append(handle, dir, &block, &retval); in ext4_add_entry()
1488 return retval; in ext4_add_entry()
2087 int retval; in ext4_rmdir() local
2100 retval = -ENOENT; in ext4_rmdir()
2110 retval = -EIO; in ext4_rmdir()
2114 retval = -ENOTEMPTY; in ext4_rmdir()
2118 retval = ext4_delete_entry(handle, dir, de, bh); in ext4_rmdir()
2119 if (retval) in ext4_rmdir()
2141 return retval; in ext4_rmdir()
2146 int retval; in ext4_unlink() local
2162 retval = -ENOENT; in ext4_unlink()
2169 retval = -EIO; in ext4_unlink()
2179 retval = ext4_delete_entry(handle, dir, de, bh); in ext4_unlink()
2180 if (retval) in ext4_unlink()
2190 retval = 0; in ext4_unlink()
2195 return retval; in ext4_unlink()
2314 int retval; in ext4_rename() local
2339 retval = -ENOENT; in ext4_rename()
2353 retval = -ENOTEMPTY; in ext4_rename()
2357 retval = -EIO; in ext4_rename()
2358 dir_bh = ext4_bread(handle, old_inode, 0, 0, &retval); in ext4_rename()
2363 retval = -EMLINK; in ext4_rename()
2369 retval = ext4_add_entry(handle, new_dentry, old_inode); in ext4_rename()
2370 if (retval) in ext4_rename()
2402 (retval = ext4_delete_entry(handle, old_dir, in ext4_rename()
2413 retval = ext4_delete_entry(handle, old_dir, in ext4_rename()
2418 if (retval) { in ext4_rename()
2421 old_dir->i_ino, old_dir->i_nlink, retval); in ext4_rename()
2453 retval = 0; in ext4_rename()
2460 return retval; in ext4_rename()