Lines Matching refs:r
23 int r; in hpfs_mkdir() local
64 r = hpfs_add_dirent(dir, (char *)name, len, &dee, 0); in hpfs_mkdir()
65 if (r == 1) in hpfs_mkdir()
67 if (r == -1) { in hpfs_mkdir()
129 int r; in hpfs_create() local
172 r = hpfs_add_dirent(dir, (char *)name, len, &dee, 0); in hpfs_create()
173 if (r == 1) in hpfs_create()
175 if (r == -1) { in hpfs_create()
218 int r; in hpfs_mknod() local
258 r = hpfs_add_dirent(dir, (char *)name, len, &dee, 0); in hpfs_mknod()
259 if (r == 1) in hpfs_mknod()
261 if (r == -1) { in hpfs_mknod()
296 int r; in hpfs_symlink() local
337 r = hpfs_add_dirent(dir, (char *)name, len, &dee, 0); in hpfs_symlink()
338 if (r == 1) in hpfs_symlink()
340 if (r == -1) { in hpfs_symlink()
378 int r; in hpfs_unlink() local
401 r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); in hpfs_unlink()
402 switch (r) { in hpfs_unlink()
462 int r; in hpfs_rmdir() local
487 r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); in hpfs_rmdir()
488 switch (r) { in hpfs_rmdir()
558 int r; in hpfs_rename() local
590 int r; in hpfs_rename() local
591 if ((r = hpfs_remove_dirent(old_dir, dno, dep, &qbh, 1)) != 2) { in hpfs_rename()
604 err = r == 2 ? -ENOSPC : r == 1 ? -EFSERROR : 0; in hpfs_rename()
611 if ((r = hpfs_add_dirent(new_dir, new_name, new_len, &de, 1))) { in hpfs_rename()
613 if (r == -1) hpfs_error(new_dir->i_sb, "hpfs_rename: dirent already exists!"); in hpfs_rename()
614 err = r == 1 ? -ENOSPC : -EFSERROR; in hpfs_rename()
627 if ((r = hpfs_remove_dirent(old_dir, dno, dep, &qbh, 0))) { in hpfs_rename()
630 err = r == 2 ? -ENOSPC : -EFSERROR; in hpfs_rename()