Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 15 of 15) sorted by relevance

/scripts/dtc/
Dutil.c199 int ret = 0; in utilfdt_read_err() local
216 ret = ENOMEM; in utilfdt_read_err()
221 ret = read(fd, &buf[offset], bufsize - offset); in utilfdt_read_err()
222 if (ret < 0) { in utilfdt_read_err()
223 ret = errno; in utilfdt_read_err()
226 offset += ret; in utilfdt_read_err()
227 } while (ret != 0); in utilfdt_read_err()
231 if (ret) in utilfdt_read_err()
235 return ret; in utilfdt_read_err()
241 int ret = utilfdt_read_err(filename, &buff); in utilfdt_read() local
[all …]
Dfdtput.c240 int len, ret = 0; in do_fdtput() local
257 ret = -1; in do_fdtput()
260 for (; ret >= 0 && arg_count--; arg++) { in do_fdtput()
262 ret = create_paths(blob, *arg); in do_fdtput()
264 ret = create_node(blob, *arg); in do_fdtput()
268 if (ret >= 0) in do_fdtput()
269 ret = utilfdt_write(filename, blob); in do_fdtput()
272 return ret; in do_fdtput()
Ddata.c98 size_t chunksize, ret; in data_copy_file() local
106 ret = fread(d.val + d.len, 1, chunksize, f); in data_copy_file()
111 if (d.len + ret < d.len) in data_copy_file()
114 d.len += ret; in data_copy_file()
/scripts/coccinelle/api/
Ddevm_ioremap_resource.cocci22 expression e, E, ret;
30 - ret = E;
31 + ret = PTR_ERR(e);
34 return ret;
/scripts/
Ddocproc.c111 int ret; in exec_kernel_doc() local
129 waitpid(pid, &ret ,0); in exec_kernel_doc()
131 if (WIFEXITED(ret)) in exec_kernel_doc()
132 exitstatus |= WEXITSTATUS(ret); in exec_kernel_doc()
355 int ret, i, count, start; in find_all_symbols() local
390 while ((ret = read(pipefd[0], in find_all_symbols()
393 data_len += ret; in find_all_symbols()
396 } while (ret == -EAGAIN); in find_all_symbols()
397 if (ret != 0) { in find_all_symbols()
401 waitpid(pid, &ret ,0); in find_all_symbols()
[all …]
Dheaders_check.pl26 my $ret = 0;
47 exit $ret;
61 $ret = 1;
Ddepmod.sh58 ret=$?
64 exit $ret
Dsign-file171 my $ret = [ $tag, [ $cursor->[0], $len, $cursor->[2] ] ];
175 return $ret;
Drecordmcount.h373 int ret = -1; in nop_mcount() local
380 ret = make_nop((void *)ehdr, shdr->sh_offset + relp->r_offset); in nop_mcount()
395 if (!ret) { in nop_mcount()
Dunifdef.c954 int ret; in ifeval() local
959 ret = eval_table(eval_ops, &val, cpp); in ifeval()
961 return (constexpr ? LT_IF : ret == LT_ERROR ? LT_IF : ret); in ifeval()
/scripts/coccinelle/free/
Dclk_put.cocci21 int ret;
32 if (ret == 0) S1
Diounmap.cocci21 int ret;
32 if (ret == 0) S1
/scripts/mod/
Dsumversion.c310 int dirlen, ret = 0, check_files = 0; in parse_source_files() local
390 ret = 1; in parse_source_files()
396 return ret; in parse_source_files()
/scripts/kconfig/
Dgconf.c1244 GtkTreeIter *ret; in gtktree_iter_find_node() local
1257 ret = gtktree_iter_find_node(child, tofind); in gtktree_iter_find_node()
1258 if (ret) in gtktree_iter_find_node()
1259 return ret; in gtktree_iter_find_node()
Dexpr.c1030 struct expr *ret; in expr_simplify_unmet_dep() local
1041 ret = (!expr_eq(e, e1)) ? e1 : NULL; in expr_simplify_unmet_dep()
1046 ret = e1; in expr_simplify_unmet_dep()
1050 return expr_get_leftmost_symbol(ret); in expr_simplify_unmet_dep()