• Home
  • Raw
  • Download

Lines Matching refs:found

1444 	int found, n, err, safely = 0, gc_seq1;  in ubifs_tnc_locate()  local
1450 found = ubifs_lookup_level0(c, key, &znode, &n); in ubifs_tnc_locate()
1451 if (!found) { in ubifs_tnc_locate()
1454 } else if (found < 0) { in ubifs_tnc_locate()
1455 err = found; in ubifs_tnc_locate()
1806 int found, n, err; in do_lookup_nm() local
1811 found = ubifs_lookup_level0(c, key, &znode, &n); in do_lookup_nm()
1812 if (!found) { in do_lookup_nm()
1815 } else if (found < 0) { in do_lookup_nm()
1816 err = found; in do_lookup_nm()
2165 int found, n, err = 0; in ubifs_tnc_add() local
2170 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_add()
2171 if (!found) { in ubifs_tnc_add()
2180 } else if (found == 1) { in ubifs_tnc_add()
2189 err = found; in ubifs_tnc_add()
2214 int found, n, err = 0; in ubifs_tnc_replace() local
2220 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_replace()
2221 if (found < 0) { in ubifs_tnc_replace()
2222 err = found; in ubifs_tnc_replace()
2226 if (found == 1) { in ubifs_tnc_replace()
2229 found = 0; in ubifs_tnc_replace()
2238 found = 1; in ubifs_tnc_replace()
2240 found = resolve_collision_directly(c, key, &znode, &n, in ubifs_tnc_replace()
2243 found, znode, n, old_lnum, old_offs); in ubifs_tnc_replace()
2244 if (found < 0) { in ubifs_tnc_replace()
2245 err = found; in ubifs_tnc_replace()
2249 if (found) { in ubifs_tnc_replace()
2271 if (!found) in ubifs_tnc_replace()
2297 int found, n, err = 0; in ubifs_tnc_add_nm() local
2303 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_add_nm()
2304 if (found < 0) { in ubifs_tnc_add_nm()
2305 err = found; in ubifs_tnc_add_nm()
2309 if (found == 1) { in ubifs_tnc_add_nm()
2311 found = fallible_resolve_collision(c, key, &znode, &n, in ubifs_tnc_add_nm()
2314 found = resolve_collision(c, key, &znode, &n, nm); in ubifs_tnc_add_nm()
2315 dbg_tnc("rc returned %d, znode %p, n %d", found, znode, n); in ubifs_tnc_add_nm()
2316 if (found < 0) { in ubifs_tnc_add_nm()
2317 err = found; in ubifs_tnc_add_nm()
2330 if (found == 1) { in ubifs_tnc_add_nm()
2342 if (!found) { in ubifs_tnc_add_nm()
2502 int found, n, err = 0; in ubifs_tnc_remove() local
2507 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_remove()
2508 if (found < 0) { in ubifs_tnc_remove()
2509 err = found; in ubifs_tnc_remove()
2512 if (found == 1) in ubifs_tnc_remove()
3142 int n, found, err, nn; in is_leaf_node_in_tnc() local
3145 found = ubifs_lookup_level0(c, key, &znode, &n); in is_leaf_node_in_tnc()
3146 if (found < 0) in is_leaf_node_in_tnc()
3147 return found; /* Error code */ in is_leaf_node_in_tnc()
3148 if (!found) in is_leaf_node_in_tnc()