Lines Matching defs:code
1201 /* From JFS code, to auto-get the size. */
1792 __u32 code;
1794 code = sb_hash_function_code(SB_DISK_SUPER_BLOCK(s));
1801 if (code == UNSET_HASH || reiserfs_hash_detect(s))
1802 code = find_hash_out(s);
1804 if (code != UNSET_HASH && reiserfs_hash_detect(s)) {
1809 if (reiserfs_rupasov_hash(s) && code != YURA_HASH) {
1813 reiserfs_hashname(code));
1814 code = UNSET_HASH;
1815 } else if (reiserfs_tea_hash(s) && code != TEA_HASH) {
1819 reiserfs_hashname(code));
1820 code = UNSET_HASH;
1821 } else if (reiserfs_r5_hash(s) && code != R5_HASH) {
1825 reiserfs_hashname(code));
1826 code = UNSET_HASH;
1834 code = YURA_HASH;
1836 code = TEA_HASH;
1838 code = R5_HASH;
1843 * if we are mounted RW, and we have a new valid hash code, update
1846 if (code != UNSET_HASH &&
1848 code != sb_hash_function_code(SB_DISK_SUPER_BLOCK(s))) {
1849 set_sb_hash_function_code(SB_DISK_SUPER_BLOCK(s), code);
1851 return code;
2070 * careful review of the code.
2489 * acquiring the locks... As quota files are never truncated and quota code