• Home
  • Raw
  • Download

Lines Matching refs:retVal

423 	int retVal = 0;  in yaffsfs_CheckNameLength()  local
429 retVal = -1; in yaffsfs_CheckNameLength()
432 retVal = -1; in yaffsfs_CheckNameLength()
435 return retVal; in yaffsfs_CheckNameLength()
1004 int retVal = -1; in yaffs_Dofsync() local
1017 retVal = 0; in yaffs_Dofsync()
1022 return retVal; in yaffs_Dofsync()
1044 int retVal = -1; in yaffs_close() local
1057 retVal = 0; in yaffs_close()
1062 return retVal; in yaffs_close()
1585 int retVal = -1; in yaffsfs_DoStat() local
1621 retVal = 0; in yaffsfs_DoStat()
1623 return retVal; in yaffsfs_DoStat()
1631 int retVal = -1; in yaffsfs_DoStatOrLStat() local
1659 retVal = yaffsfs_DoStat(obj, buf); in yaffsfs_DoStatOrLStat()
1663 return retVal; in yaffsfs_DoStatOrLStat()
1681 int retVal = -1; in yaffs_fstat() local
1692 retVal = yaffsfs_DoStat(obj, buf); in yaffs_fstat()
1699 return retVal; in yaffs_fstat()
1705 int retVal = -1; in yaffsfs_DoUtime() local
1728 retVal = result == YAFFS_OK ? 0 : -1; in yaffsfs_DoUtime()
1731 return retVal; in yaffsfs_DoUtime()
1738 int retVal = -1; in yaffs_utime() local
1763 retVal = yaffsfs_DoUtime(obj, buf); in yaffs_utime()
1767 return retVal; in yaffs_utime()
1775 int retVal = -1; in yaffs_futime() local
1781 retVal = yaffsfs_DoUtime(obj, buf); in yaffs_futime()
1788 return retVal; in yaffs_futime()
1802 int retVal = -1; in yaffs_do_setxattr() local
1828 retVal = yaffs_set_xattrib(obj, name, data, size, flags); in yaffs_do_setxattr()
1829 if (retVal < 0) { in yaffs_do_setxattr()
1830 yaffsfs_SetError(retVal); in yaffs_do_setxattr()
1831 retVal = -1; in yaffs_do_setxattr()
1837 return retVal; in yaffs_do_setxattr()
1858 int retVal = -1; in yaffs_fsetxattr() local
1871 retVal = yaffs_set_xattrib(obj, name, data, size, flags); in yaffs_fsetxattr()
1872 if (retVal < 0) { in yaffs_fsetxattr()
1873 yaffsfs_SetError(retVal); in yaffs_fsetxattr()
1874 retVal = -1; in yaffs_fsetxattr()
1880 return retVal; in yaffs_fsetxattr()
1888 int retVal = -1; in yaffs_do_getxattr() local
1916 retVal = yaffs_get_xattrib(obj, name, data, size); in yaffs_do_getxattr()
1917 if (retVal < 0) { in yaffs_do_getxattr()
1918 yaffsfs_SetError(retVal); in yaffs_do_getxattr()
1919 retVal = -1; in yaffs_do_getxattr()
1924 return retVal; in yaffs_do_getxattr()
1942 int retVal = -1; in yaffs_fgetxattr() local
1953 retVal = yaffs_get_xattrib(obj, name, data, size); in yaffs_fgetxattr()
1954 if (retVal < 0) { in yaffs_fgetxattr()
1955 yaffsfs_SetError(retVal); in yaffs_fgetxattr()
1956 retVal = -1; in yaffs_fgetxattr()
1964 return retVal; in yaffs_fgetxattr()
1972 int retVal = -1; in yaffs_do_listxattr() local
2000 retVal = yaffs_list_xattrib(obj, data, size); in yaffs_do_listxattr()
2001 if (retVal < 0) { in yaffs_do_listxattr()
2002 yaffsfs_SetError(retVal); in yaffs_do_listxattr()
2003 retVal = -1; in yaffs_do_listxattr()
2009 return retVal; in yaffs_do_listxattr()
2027 int retVal = -1; in yaffs_flistxattr() local
2038 retVal = yaffs_list_xattrib(obj, data, size); in yaffs_flistxattr()
2039 if (retVal < 0) { in yaffs_flistxattr()
2040 yaffsfs_SetError(retVal); in yaffs_flistxattr()
2041 retVal = -1; in yaffs_flistxattr()
2049 return retVal; in yaffs_flistxattr()
2059 int retVal = -1; in yaffs_do_removexattr() local
2085 retVal = yaffs_remove_xattrib(obj, name); in yaffs_do_removexattr()
2086 if (retVal < 0) { in yaffs_do_removexattr()
2087 yaffsfs_SetError(retVal); in yaffs_do_removexattr()
2088 retVal = -1; in yaffs_do_removexattr()
2094 return retVal; in yaffs_do_removexattr()
2112 int retVal = -1; in yaffs_fremovexattr() local
2123 retVal = yaffs_remove_xattrib(obj, name); in yaffs_fremovexattr()
2124 if (retVal < 0) { in yaffs_fremovexattr()
2125 yaffsfs_SetError(retVal); in yaffs_fremovexattr()
2126 retVal = -1; in yaffs_fremovexattr()
2134 return retVal; in yaffs_fremovexattr()
2144 int retVal = -1; in yaffs_get_wince_times() local
2164 retVal = 0; in yaffs_get_wince_times()
2171 return retVal; in yaffs_get_wince_times()
2180 int retVal = -1; in yaffs_set_wince_times() local
2202 retVal = 0; in yaffs_set_wince_times()
2209 return retVal; in yaffs_set_wince_times()
2292 int retVal = -1; in yaffs_chmod() local
2325 retVal = yaffsfs_DoChMod(obj, mode); in yaffs_chmod()
2329 return retVal; in yaffs_chmod()
2336 int retVal = -1; in yaffs_fchmod() local
2351 retVal = yaffsfs_DoChMod(obj, mode); in yaffs_fchmod()
2355 return retVal; in yaffs_fchmod()
2364 int retVal = -1; in yaffs_mkdir() local
2403 retVal = 0; in yaffs_mkdir()
2414 return retVal; in yaffs_mkdir()
2455 int retVal = -1; in yaffs_mount_common() local
2490 retVal = result ? 0 : -1; in yaffs_mount_common()
2498 return retVal; in yaffs_mount_common()
2514 int retVal = -1; in yaffs_sync() local
2539 retVal = 0; in yaffs_sync()
2546 return retVal; in yaffs_sync()
2564 int retVal = -1; in yaffs_remount() local
2587 retVal = 0; in yaffs_remount()
2598 return retVal; in yaffs_remount()
2604 int retVal = -1; in yaffs_unmount2() local
2630 retVal = 0; in yaffs_unmount2()
2641 return retVal; in yaffs_unmount2()
2652 loff_t retVal = -1; in yaffs_freespace() local
2669 retVal = yaffs_get_n_free_chunks(dev); in yaffs_freespace()
2670 retVal *= dev->data_bytes_per_chunk; in yaffs_freespace()
2676 return retVal; in yaffs_freespace()
2681 loff_t retVal = -1; in yaffs_totalspace() local
2698 retVal = (dev->param.end_block - dev->param.start_block + 1) - in yaffs_totalspace()
2700 retVal *= dev->param.chunks_per_block; in yaffs_totalspace()
2701 retVal *= dev->data_bytes_per_chunk; in yaffs_totalspace()
2707 return retVal; in yaffs_totalspace()
2712 loff_t retVal = -1; in yaffs_inodecount() local
2731 retVal = n_obj - dev->n_hardlinks; in yaffs_inodecount()
2734 if (retVal < 0) in yaffs_inodecount()
2738 return retVal; in yaffs_inodecount()
2921 struct yaffs_dirent *retVal = NULL; in yaffs_readdir() local
2940 retVal = &dsc->de; in yaffs_readdir()
2943 retVal = NULL; in yaffs_readdir()
2949 return retVal; in yaffs_readdir()
2991 int retVal = -1; in yaffs_symlink() local
3021 retVal = 0; in yaffs_symlink()
3031 return retVal; in yaffs_symlink()
3039 int retVal = -1; in yaffs_readlink() local
3064 retVal = 0; in yaffs_readlink()
3067 return retVal; in yaffs_readlink()
3077 int retVal = -1; in yaffs_link() local
3117 retVal = yaffsfs_CheckNameLength(newname); in yaffs_link()
3119 if (retVal == 0) { in yaffs_link()
3122 retVal = 0; in yaffs_link()
3125 retVal = -1; in yaffs_link()
3131 return retVal; in yaffs_link()