• Home
  • Raw
  • Download

Lines Matching refs:found

1449 	int found, n, err, safely = 0, gc_seq1;  in ubifs_tnc_locate()  local
1455 found = ubifs_lookup_level0(c, key, &znode, &n); in ubifs_tnc_locate()
1456 if (!found) { in ubifs_tnc_locate()
1459 } else if (found < 0) { in ubifs_tnc_locate()
1460 err = found; in ubifs_tnc_locate()
1811 int found, n, err; in do_lookup_nm() local
1816 found = ubifs_lookup_level0(c, key, &znode, &n); in do_lookup_nm()
1817 if (!found) { in do_lookup_nm()
1820 } else if (found < 0) { in do_lookup_nm()
1821 err = found; in do_lookup_nm()
2169 int found, n, err = 0; in ubifs_tnc_add() local
2174 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_add()
2175 if (!found) { in ubifs_tnc_add()
2184 } else if (found == 1) { in ubifs_tnc_add()
2193 err = found; in ubifs_tnc_add()
2218 int found, n, err = 0; in ubifs_tnc_replace() local
2224 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_replace()
2225 if (found < 0) { in ubifs_tnc_replace()
2226 err = found; in ubifs_tnc_replace()
2230 if (found == 1) { in ubifs_tnc_replace()
2233 found = 0; in ubifs_tnc_replace()
2242 found = 1; in ubifs_tnc_replace()
2244 found = resolve_collision_directly(c, key, &znode, &n, in ubifs_tnc_replace()
2247 found, znode, n, old_lnum, old_offs); in ubifs_tnc_replace()
2248 if (found < 0) { in ubifs_tnc_replace()
2249 err = found; in ubifs_tnc_replace()
2253 if (found) { in ubifs_tnc_replace()
2275 if (!found) in ubifs_tnc_replace()
2301 int found, n, err = 0; in ubifs_tnc_add_nm() local
2307 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_add_nm()
2308 if (found < 0) { in ubifs_tnc_add_nm()
2309 err = found; in ubifs_tnc_add_nm()
2313 if (found == 1) { in ubifs_tnc_add_nm()
2315 found = fallible_resolve_collision(c, key, &znode, &n, in ubifs_tnc_add_nm()
2318 found = resolve_collision(c, key, &znode, &n, nm); in ubifs_tnc_add_nm()
2319 dbg_tnc("rc returned %d, znode %p, n %d", found, znode, n); in ubifs_tnc_add_nm()
2320 if (found < 0) { in ubifs_tnc_add_nm()
2321 err = found; in ubifs_tnc_add_nm()
2334 if (found == 1) { in ubifs_tnc_add_nm()
2346 if (!found) { in ubifs_tnc_add_nm()
2505 int found, n, err = 0; in ubifs_tnc_remove() local
2510 found = lookup_level0_dirty(c, key, &znode, &n); in ubifs_tnc_remove()
2511 if (found < 0) { in ubifs_tnc_remove()
2512 err = found; in ubifs_tnc_remove()
2515 if (found == 1) in ubifs_tnc_remove()
3153 int n, found, err, nn; in is_leaf_node_in_tnc() local
3156 found = ubifs_lookup_level0(c, key, &znode, &n); in is_leaf_node_in_tnc()
3157 if (found < 0) in is_leaf_node_in_tnc()
3158 return found; /* Error code */ in is_leaf_node_in_tnc()
3159 if (!found) in is_leaf_node_in_tnc()