Lines Matching refs:found

1433 	int found, n, err, safely = 0, gc_seq1;  in ubifs_tnc_locate()  local
1439 found = ubifs_lookup_level0(c, key, &znode, &n); in ubifs_tnc_locate()
1440 if (!found) { in ubifs_tnc_locate()
1443 } else if (found < 0) { in ubifs_tnc_locate()
1444 err = found; in ubifs_tnc_locate()
1795 int found, n, err; in do_lookup_nm() local
1800 found = ubifs_lookup_level0(c, key, &znode, &n); in do_lookup_nm()
1801 if (!found) { in do_lookup_nm()
1804 } else if (found < 0) { in do_lookup_nm()
1805 err = found; in do_lookup_nm()
2153 int found, n, err = 0; in ubifs_tnc_add() local
2158 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_add()
2159 if (!found) { in ubifs_tnc_add()
2168 } else if (found == 1) { in ubifs_tnc_add()
2177 err = found; in ubifs_tnc_add()
2202 int found, n, err = 0; in ubifs_tnc_replace() local
2208 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_replace()
2209 if (found < 0) { in ubifs_tnc_replace()
2210 err = found; in ubifs_tnc_replace()
2214 if (found == 1) { in ubifs_tnc_replace()
2217 found = 0; in ubifs_tnc_replace()
2226 found = 1; in ubifs_tnc_replace()
2228 found = resolve_collision_directly(c, key, &znode, &n, in ubifs_tnc_replace()
2231 found, znode, n, old_lnum, old_offs); in ubifs_tnc_replace()
2232 if (found < 0) { in ubifs_tnc_replace()
2233 err = found; in ubifs_tnc_replace()
2237 if (found) { in ubifs_tnc_replace()
2259 if (!found) in ubifs_tnc_replace()
2285 int found, n, err = 0; in ubifs_tnc_add_nm() local
2291 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_add_nm()
2292 if (found < 0) { in ubifs_tnc_add_nm()
2293 err = found; in ubifs_tnc_add_nm()
2297 if (found == 1) { in ubifs_tnc_add_nm()
2299 found = fallible_resolve_collision(c, key, &znode, &n, in ubifs_tnc_add_nm()
2302 found = resolve_collision(c, key, &znode, &n, nm); in ubifs_tnc_add_nm()
2303 dbg_tnc("rc returned %d, znode %p, n %d", found, znode, n); in ubifs_tnc_add_nm()
2304 if (found < 0) { in ubifs_tnc_add_nm()
2305 err = found; in ubifs_tnc_add_nm()
2318 if (found == 1) { in ubifs_tnc_add_nm()
2330 if (!found) { in ubifs_tnc_add_nm()
2489 int found, n, err = 0; in ubifs_tnc_remove() local
2494 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_remove()
2495 if (found < 0) { in ubifs_tnc_remove()
2496 err = found; in ubifs_tnc_remove()
2499 if (found == 1) in ubifs_tnc_remove()
3133 int n, found, err, nn; in is_leaf_node_in_tnc() local
3136 found = ubifs_lookup_level0(c, key, &znode, &n); in is_leaf_node_in_tnc()
3137 if (found < 0) in is_leaf_node_in_tnc()
3138 return found; /* Error code */ in is_leaf_node_in_tnc()
3139 if (!found) in is_leaf_node_in_tnc()