Home
last modified time | relevance | path

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

12

/scripts/dtc/libfdt/
A Dfdt_overlay.c84 return ret; in fdt_overlay_target_offset()
141 int ret; in overlay_adjust_node_phandles() local
144 if (ret && ret != -FDT_ERR_NOTFOUND) in overlay_adjust_node_phandles()
148 if (ret && ret != -FDT_ERR_NOTFOUND) in overlay_adjust_node_phandles()
153 if (ret) in overlay_adjust_node_phandles()
208 int ret; in overlay_update_local_node_references() local
264 if (ret) in overlay_update_local_node_references()
449 if (ret) in overlay_fixup_phandle()
555 int ret; in overlay_update_node_conflicting_references() local
1045 int ret; in fdt_overlay_apply() local
[all …]
A Dfdt_addresses.c60 int addr_cells, size_cells, ret; in fdt_appendprop_addrrange() local
63 ret = fdt_address_cells(fdt, parent); in fdt_appendprop_addrrange()
64 if (ret < 0) in fdt_appendprop_addrrange()
65 return ret; in fdt_appendprop_addrrange()
66 addr_cells = ret; in fdt_appendprop_addrrange()
68 ret = fdt_size_cells(fdt, parent); in fdt_appendprop_addrrange()
69 if (ret < 0) in fdt_appendprop_addrrange()
70 return ret; in fdt_appendprop_addrrange()
71 size_cells = ret; in fdt_appendprop_addrrange()
A Dfdt_sw.c328 int ret; in fdt_property() local
330 ret = fdt_property_placeholder(fdt, name, len, &ptr); in fdt_property()
331 if (ret) in fdt_property()
332 return ret; in fdt_property()
/scripts/coccinelle/api/
A 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 \) )
66 expression ret;
70 ret =
77 if ( \( ret < 0 \| ret <= 0 \) )
[all …]
A 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;
76 - IS_ERR_VALUE(ret)
77 + ret < 0
88 expression ret;
[all …]
/scripts/coccinelle/misc/
A Dreturnvar.cocci21 identifier ret;
23 - T ret = C;
24 ... when != ret
27 - ret
34 identifier ret;
36 * T ret = C;
39 * return ret;
47 T ret@p1 = C;
50 return ret@p2;
56 ret << r1.ret;
[all …]
/scripts/dtc/
A Dfdtoverlay.c48 int ret; in apply_one() local
59 if (ret) { in apply_one()
62 fdt_strerror(ret)); in apply_one()
68 ret = fdt_overlay_apply(tmp, tmpo); in apply_one()
69 if (ret == -FDT_ERR_NOSPACE) { in apply_one()
72 } while (ret == -FDT_ERR_NOSPACE); in apply_one()
74 if (ret) { in apply_one()
76 name, fdt_strerror(ret)); in apply_one()
98 int i, ret = -1; in do_fdtoverlay() local
144 if (ret) in do_fdtoverlay()
[all …]
A Dutil.c251 int ret = 0; in utilfdt_read_err() local
270 if (ret < 0) { in utilfdt_read_err()
271 ret = errno; in utilfdt_read_err()
274 offset += ret; in utilfdt_read_err()
279 if (ret) in utilfdt_read_err()
285 return ret; in utilfdt_read_err()
293 if (ret) { in utilfdt_read()
307 int ret = 0; in utilfdt_write_err() local
321 if (ret < 0) { in utilfdt_write_err()
330 return ret < 0 ? -ret : 0; in utilfdt_write_err()
[all …]
A 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()
A 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/atomic/fallbacks/
A Dfence2 ${ret} ret;
4 ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
6 return ret;
A Dread_acquire2 ${int} ret;
5 ret = smp_load_acquire(&(v)->counter);
7 ret = raw_${atomic}_read(v);
11 return ret;
A Dacquire2 ${ret} ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
4 return ret;
/scripts/kconfig/
A Dconfdata.c56 return ret; in is_same()
63 if (ret) in is_same()
66 if (ret) in is_same()
83 ret = true; in is_same()
89 return ret; in is_same()
924 int ret; in conf_write_autoconf_cmd() local
950 if (ret) in conf_write_autoconf_cmd()
1043 int ret; in __conf_write_autoconf() local
1068 if (ret) in __conf_write_autoconf()
1083 int ret; in conf_write_autoconf() local
[all …]
A Dqconf.h147 ConfigItem *ret = NULL; in nextSibling() local
151 ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1); in nextSibling()
154 ret = (ConfigItem *)_treeWidget->topLevelItem(_treeWidget->indexOfTopLevelItem(this)+1); in nextSibling()
157 return ret; in nextSibling()
A Dparser.y495 int ret = 0; variable
502 ret = -1;
510 ret = -1;
514 return ret;
/scripts/
A Dbpf_doc.py44 self.ret = ret
50 'ret': self.ret
127 ret = self.parse_ret(proto)
128 return APIElement(proto=proto, desc=desc, ret=ret)
133 ret = self.parse_ret(proto)
135 return Helper(proto=proto, desc=desc, ret=ret, attrs=attrs)
197 ret = ''
202 ret += '\n'
214 return ret
446 if (elem.ret):
[all …]
A Dcheck-uapi.sh350 local ret=0
353 "${past_header}.bin" "${base_header}.bin" > "$log" || ret="$?"
354 if [ "$ret" -eq 0 ]; then
361 if [ $((ret & 0x2)) -gt 0 ]; then
366 if [ "$IGNORE_AMBIGUOUS_CHANGES" = "true" ] && [ "$ret" -eq 4 ]; then
A Dtest_doc_build.py244 ret = subprocess.CompletedProcess(args=cmd,
249 return ret
273 ret = input("Press Enter to continue or 'a' to abort: ").strip().lower()
274 if ret == "a":
A Dkallsyms.c316 int ret; in compare_names() local
320 ret = strcmp(sym_name(sa), sym_name(sb)); in compare_names()
321 if (!ret) { in compare_names()
331 return ret; in compare_names()
/scripts/atomic/
A Dgen-atomic-long.sh46 local ret="$(gen_ret_type "${meta}" "long")"
55 static __always_inline ${ret}
A Dgen-atomic-instrumented.sh65 local ret="$(gen_ret_type "${meta}" "${int}")"
74 static __always_inline ${ret}
A Dgen-atomic-fallback.sh20 local ret="$(gen_ret_type "${meta}" "${int}")"
71 local ret="$(gen_ret_type "${meta}" "${int}")"
78 printf "static __always_inline ${ret}\n"
/scripts/coccinelle/free/
A Diounmap.cocci22 int ret;
33 if (ret == 0) S1
A Dclk_put.cocci22 int ret;
33 if (ret == 0) S1

Completed in 30 milliseconds

12