Lines Matching defs:code
1201 /* From JFS code, to auto-get the size. */
1790 __u32 code;
1792 code = sb_hash_function_code(SB_DISK_SUPER_BLOCK(s));
1799 if (code == UNSET_HASH || reiserfs_hash_detect(s))
1800 code = find_hash_out(s);
1802 if (code != UNSET_HASH && reiserfs_hash_detect(s)) {
1807 if (reiserfs_rupasov_hash(s) && code != YURA_HASH) {
1811 reiserfs_hashname(code));
1812 code = UNSET_HASH;
1813 } else if (reiserfs_tea_hash(s) && code != TEA_HASH) {
1817 reiserfs_hashname(code));
1818 code = UNSET_HASH;
1819 } else if (reiserfs_r5_hash(s) && code != R5_HASH) {
1823 reiserfs_hashname(code));
1824 code = UNSET_HASH;
1832 code = YURA_HASH;
1834 code = TEA_HASH;
1836 code = R5_HASH;
1841 * if we are mounted RW, and we have a new valid hash code, update
1844 if (code != UNSET_HASH &&
1846 code != sb_hash_function_code(SB_DISK_SUPER_BLOCK(s))) {
1847 set_sb_hash_function_code(SB_DISK_SUPER_BLOCK(s), code);
1849 return code;
2066 * careful review of the code.
2485 * acquiring the locks... As quota files are never truncated and quota code