Home
last modified time | relevance | path

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

12

/scripts/dtc/libfdt/
Dfdt_overlay.c63 int path_len = 0, ret; in overlay_get_target() local
75 ret = fdt_path_offset(fdt, path); in overlay_get_target()
77 ret = path_len; in overlay_get_target()
79 ret = fdt_node_offset_by_phandle(fdt, phandle); in overlay_get_target()
88 if (ret < 0 && path_len == -FDT_ERR_NOTFOUND) in overlay_get_target()
89 ret = -FDT_ERR_BADOVERLAY; in overlay_get_target()
92 if (ret < 0) in overlay_get_target()
93 return ret; in overlay_get_target()
99 return ret; in overlay_get_target()
160 int ret; in overlay_adjust_node_phandles() local
[all …]
Dfdt_addresses.c58 int addr_cells, size_cells, ret; in fdt_appendprop_addrrange() local
61 ret = fdt_address_cells(fdt, parent); in fdt_appendprop_addrrange()
62 if (ret < 0) in fdt_appendprop_addrrange()
63 return ret; in fdt_appendprop_addrrange()
64 addr_cells = ret; in fdt_appendprop_addrrange()
66 ret = fdt_size_cells(fdt, parent); in fdt_appendprop_addrrange()
67 if (ret < 0) in fdt_appendprop_addrrange()
68 return ret; in fdt_appendprop_addrrange()
69 size_cells = ret; in fdt_appendprop_addrrange()
/scripts/coccinelle/api/
Dplatform_get_irq.cocci13 expression ret;
17 ret =
24 if ( \( ret < 0 \| ret <= 0 \) )
27 if (ret != -EPROBE_DEFER)
39 expression ret;
43 ret =
50 if ( \( ret < 0 \| ret <= 0 \) )
53 -if (ret != -EPROBE_DEFER)
66 expression ret;
70 ret =
[all …]
Dpm_runtime.cocci20 expression ret;
24 ret@p = \(pm_runtime_idle\|
44 IS_ERR_VALUE(ret)
54 expression ret;
58 ret@p = pm_runtime_api(...);
60 * IS_ERR_VALUE(ret)
70 expression ret;
74 ret@p = pm_runtime_api(...);
76 - IS_ERR_VALUE(ret)
77 + ret < 0
[all …]
/scripts/coccinelle/misc/
Dreturnvar.cocci21 identifier ret;
23 - T ret = C;
24 ... when != ret
27 - ret
34 identifier ret;
36 * T ret = C;
37 ... when != ret
39 * return ret;
44 identifier ret;
47 T ret@p1 = C;
[all …]
/scripts/atomic/fallbacks/
Dfence2 static inline ${ret}
5 ${ret} ret;
7 ret = ${atomic}_${pfx}${name}${sfx}_relaxed(${args});
9 return ret;
Dacquire2 static inline ${ret}
5 ${ret} ret = ${atomic}_${pfx}${name}${sfx}_relaxed(${args});
7 return ret;
Dread_acquire2 static inline ${ret}
Drelease2 static inline ${ret}
Ddec2 static inline ${ret}
Dinc2 static inline ${ret}
Dandnot2 static inline ${ret}
Ddec_if_positive2 static inline ${ret}
/scripts/dtc/
Dutil.c239 int ret = 0; in utilfdt_read_err() local
257 ret = read(fd, &buf[offset], bufsize - offset); in utilfdt_read_err()
258 if (ret < 0) { in utilfdt_read_err()
259 ret = errno; in utilfdt_read_err()
262 offset += ret; in utilfdt_read_err()
263 } while (ret != 0); in utilfdt_read_err()
267 if (ret) in utilfdt_read_err()
273 return ret; in utilfdt_read_err()
279 int ret = utilfdt_read_err(filename, &buff, len); in utilfdt_read() local
281 if (ret) { in utilfdt_read()
[all …]
Dfdtput.c226 int len, ret = 0; in do_fdtput() local
243 ret = -1; in do_fdtput()
246 for (; ret >= 0 && arg_count--; arg++) { in do_fdtput()
248 ret = create_paths(blob, *arg); in do_fdtput()
250 ret = create_node(blob, *arg); in do_fdtput()
254 if (ret >= 0) in do_fdtput()
255 ret = utilfdt_write(filename, blob); in do_fdtput()
258 return ret; in do_fdtput()
Ddata.c85 size_t chunksize, ret; in data_copy_file() local
93 ret = fread(d.val + d.len, 1, chunksize, f); in data_copy_file()
98 if (d.len + ret < d.len) in data_copy_file()
101 d.len += ret; in data_copy_file()
/scripts/
Dbpf_helpers_doc.py32 def __init__(self, proto='', desc='', ret=''): argument
35 self.ret = ret
79 ret = self.parse_ret()
80 return Helper(proto=proto, desc=desc, ret=ret)
129 ret = ''
133 ret += '\n'
138 ret += capture.group(1) + '\n'
141 return ret
387 if (helper.ret):
389 for line in helper.ret.rstrip().split('\n'):
Dheaders_check.pl28 my $ret = 0;
49 exit $ret;
63 $ret = 1;
Ddepmod.sh47 ret=$?
53 exit $ret
/scripts/basic/
Dfixdep.c121 int ret; in xprintf() local
124 ret = vprintf(format, ap); in xprintf()
125 if (ret < 0) { in xprintf()
134 int ret; in xputchar() local
136 ret = putchar(c); in xputchar()
137 if (ret == EOF) { in xputchar()
/scripts/atomic/
Dgen-atomic-long.sh43 local ret="$(gen_ret_type "${meta}" "long")"
49 static inline ${ret}
Dgen-atomic-instrumented.sh78 local ret="$(gen_ret_type "${meta}" "${int}")"
87 static inline ${ret}
/scripts/coccinelle/free/
Dclk_put.cocci22 int ret;
33 if (ret == 0) S1
Diounmap.cocci22 int ret;
33 if (ret == 0) S1
/scripts/kconfig/
Dconfdata.c46 bool ret = false; in is_same() local
50 return ret; in is_same()
56 ret = fstat(fd1, &st1); in is_same()
57 if (ret) in is_same()
59 ret = fstat(fd2, &st2); in is_same()
60 if (ret) in is_same()
77 ret = true; in is_same()
83 return ret; in is_same()
131 int fd, ret; in conf_touch_dep() local
152 ret = make_parent_dir(depfile_path); in conf_touch_dep()
[all …]

12