/scripts/dtc/libfdt/ |
D | fdt_overlay.c | 48 int path_len = 0, ret; in fdt_overlay_target_offset() local 60 ret = fdt_path_offset(fdt, path); in fdt_overlay_target_offset() 62 ret = path_len; in fdt_overlay_target_offset() 64 ret = fdt_node_offset_by_phandle(fdt, phandle); in fdt_overlay_target_offset() 73 if (ret < 0 && path_len == -FDT_ERR_NOTFOUND) in fdt_overlay_target_offset() 74 ret = -FDT_ERR_BADOVERLAY; in fdt_overlay_target_offset() 77 if (ret < 0) in fdt_overlay_target_offset() 78 return ret; in fdt_overlay_target_offset() 84 return ret; in fdt_overlay_target_offset() 145 int ret; in overlay_adjust_node_phandles() local [all …]
|
D | fdt_addresses.c | 60 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()
|
D | fdt_sw.c | 328 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/ |
D | platform_get_irq.cocci | 13 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 …]
|
D | pm_runtime.cocci | 20 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/ |
D | returnvar.cocci | 21 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/dtc/ |
D | fdtoverlay.c | 50 int ret; in apply_one() local 60 ret = fdt_open_into(base, tmp, *buf_len); in apply_one() 61 if (ret) { in apply_one() 64 fdt_strerror(ret)); in apply_one() 70 ret = fdt_overlay_apply(tmp, tmpo); in apply_one() 71 if (ret == -FDT_ERR_NOSPACE) { in apply_one() 74 } while (ret == -FDT_ERR_NOSPACE); in apply_one() 76 if (ret) { in apply_one() 78 name, fdt_strerror(ret)); in apply_one() 100 int i, ret = -1; in do_fdtoverlay() local [all …]
|
D | util.c | 251 int ret = 0; in utilfdt_read_err() local 269 ret = read(fd, &buf[offset], bufsize - offset); in utilfdt_read_err() 270 if (ret < 0) { in utilfdt_read_err() 271 ret = errno; in utilfdt_read_err() 274 offset += ret; in utilfdt_read_err() 275 } while (ret != 0); in utilfdt_read_err() 279 if (ret) in utilfdt_read_err() 285 return ret; in utilfdt_read_err() 291 int ret = utilfdt_read_err(filename, &buff, len); in utilfdt_read() local 293 if (ret) { in utilfdt_read() [all …]
|
D | fdtput.c | 226 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()
|
D | data.c | 85 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/ |
D | fence | 2 ${ret} ret; 4 ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args}); 6 return ret;
|
D | read_acquire | 2 ${int} ret; 5 ret = smp_load_acquire(&(v)->counter); 7 ret = raw_${atomic}_read(v); 11 return ret;
|
D | acquire | 2 ${ret} ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args}); 4 return ret;
|
/scripts/kconfig/ |
D | confdata.c | 48 bool ret = false; in is_same() local 52 return ret; in is_same() 58 ret = fstat(fd1, &st1); in is_same() 59 if (ret) in is_same() 61 ret = fstat(fd2, &st2); in is_same() 62 if (ret) in is_same() 79 ret = true; in is_same() 85 return ret; in is_same() 1033 int ret; in conf_write_autoconf_cmd() local 1035 ret = snprintf(name, sizeof(name), "%s.cmd", autoconf_name); in conf_write_autoconf_cmd() [all …]
|
D | qconf.h | 148 ConfigItem *ret = NULL; in nextSibling() local 152 ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1); in nextSibling() 155 ret = (ConfigItem *)_treeWidget->topLevelItem(_treeWidget->indexOfTopLevelItem(this)+1); in nextSibling() 158 return ret; in nextSibling()
|
/scripts/ |
D | bpf_doc.py | 40 def __init__(self, proto='', desc='', ret=''): argument 43 self.ret = ret 107 ret = self.parse_ret(proto) 108 return APIElement(proto=proto, desc=desc, ret=ret) 113 ret = self.parse_ret(proto) 114 return Helper(proto=proto, desc=desc, ret=ret) 176 ret = '' 181 ret += '\n' 187 ret += capture.group(1) + '\n' 193 return ret [all …]
|
D | kallsyms.c | 363 int ret; in compare_names() local 367 ret = strcmp(sym_name(sa), sym_name(sb)); in compare_names() 368 if (!ret) { in compare_names() 378 return ret; in compare_names()
|
/scripts/atomic/ |
D | gen-atomic-long.sh | 46 local ret="$(gen_ret_type "${meta}" "long")" 55 static __always_inline ${ret}
|
D | gen-atomic-instrumented.sh | 65 local ret="$(gen_ret_type "${meta}" "${int}")" 74 static __always_inline ${ret}
|
D | gen-atomic-fallback.sh | 20 local ret="$(gen_ret_type "${meta}" "${int}")" 71 local ret="$(gen_ret_type "${meta}" "${int}")" 78 printf "static __always_inline ${ret}\n"
|
D | atomic-tbl.sh | 200 local ret="$(gen_ret_type "${meta}" "${int}")"
|
/scripts/coccinelle/free/ |
D | iounmap.cocci | 22 int ret; 33 if (ret == 0) S1
|
D | clk_put.cocci | 22 int ret; 33 if (ret == 0) S1
|
/scripts/mod/ |
D | sumversion.c | 306 int dirlen, ret = 0, check_files = 0; in parse_source_files() local 382 ret = 1; in parse_source_files() 387 return ret; in parse_source_files()
|
D | modpost.c | 1562 int dirlen, ret; in extract_crcs_for_object() local 1573 ret = snprintf(cmd_file, sizeof(cmd_file), "%.*s.%s.cmd", in extract_crcs_for_object() 1575 if (ret >= sizeof(cmd_file)) { in extract_crcs_for_object() 1629 int ret; in mod_set_crcs() local 1635 ret = snprintf(objlist, sizeof(objlist), "%s.mod", mod->name); in mod_set_crcs() 1636 if (ret >= sizeof(objlist)) { in mod_set_crcs() 2091 int ret; in write_mod_c_file() local 2100 ret = snprintf(fname, sizeof(fname), "%s.mod.c", mod->name); in write_mod_c_file() 2101 if (ret >= sizeof(fname)) { in write_mod_c_file()
|