Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 40) sorted by relevance

12

/scripts/coccinelle/misc/
Dswap.cocci18 identifier tmp;
25 * T tmp;
27 * T tmp = 0;
29 * T *tmp = NULL;
31 ... when != tmp
32 * tmp = a;
34 * b = tmp;
35 ... when != tmp
38 identifier tmp;
43 * tmp = a;
[all …]
/scripts/
Dnsdeps44 sed '/MODULE_IMPORT_NS/Q' $source_file > ${source_file}.tmp
45 offset=$(wc -l ${source_file}.tmp | awk '{print $1;}')
46 cat $source_file | grep MODULE_IMPORT_NS | LC_ALL=C sort -u >> ${source_file}.tmp
47 tail -n +$((offset +1)) ${source_file} | grep -v MODULE_IMPORT_NS >> ${source_file}.tmp
48 if ! diff -q ${source_file} ${source_file}.tmp; then
49 mv ${source_file}.tmp ${source_file}
51 rm ${source_file}.tmp
Dextract-vmlinux33 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null
34 check_vmlinux $tmp
48 tmp=$(mktemp /tmp/vmlinux-XXX)
49 trap "rm -f $tmp" 0
DMakefile.dtbs120 dtc_cpp_flags = -Wp,-MMD,$(depfile).pre.tmp -nostdinc $(addprefix -I,$(DTC_INCLUDE)) -undef -D__DTS…
122 dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp)
126 $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
128 $(DTC_FLAGS) -d $(depfile).dtc.tmp $(dtc-tmp) ; \
129 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) \
Dextract-ikconfig51 tmp1=/tmp/ikconfig$$.1
52 tmp2=/tmp/ikconfig$$.2
Dtags.sh222 local mode=$1 lang tmp=() r
228 asm) tmp=("${regex_asm[@]}") ;;
229 c) tmp=("${regex_c[@]}") ;;
230 kconfig) tmp=("${regex_kconfig[@]}") ;;
Dheaders_install.sh22 TMPFILE=$OUTFILE.tmp
/scripts/dtc/libfdt/
Dlibfdt.h1388 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local
1389 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32()
1423 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local
1424 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64()
1543 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local
1544 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1548 fdt64_t tmp = cpu_to_fdt64(val); in fdt_property_u64() local
1549 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
1755 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32() local
1756 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32()
[all …]
Dfdt_rw.c426 char *tmp; in fdt_open_into() local
465 tmp = buf; in fdt_open_into()
467 if (((tmp + newsize) > fdtstart) && (tmp < fdtend)) { in fdt_open_into()
469 tmp = (char *)(uintptr_t)fdtend; in fdt_open_into()
470 if ((tmp + newsize) > ((char *)buf + bufsize)) in fdt_open_into()
474 fdt_packblocks_(fdt, tmp, mem_rsv_size, struct_size, in fdt_open_into()
476 memmove(buf, tmp, newsize); in fdt_open_into()
/scripts/dtc/
Dfdtoverlay.c46 char *tmp = NULL; in apply_one() local
57 tmp = xrealloc(tmp, *buf_len); in apply_one()
58 ret = fdt_open_into(base, tmp, *buf_len); in apply_one()
68 ret = fdt_overlay_apply(tmp, tmpo); in apply_one()
82 return tmp; in apply_one()
86 if (tmp) in apply_one()
87 free(tmp); in apply_one()
/scripts/kconfig/
Dconfdata.c99 char tmp[PATH_MAX + 1]; in make_parent_dir() local
102 strncpy(tmp, path, sizeof(tmp)); in make_parent_dir()
103 tmp[sizeof(tmp) - 1] = 0; in make_parent_dir()
106 p = strrchr(tmp, '/'); in make_parent_dir()
112 p = tmp; in make_parent_dir()
120 if (!is_dir(tmp) && mkdir(tmp, 0755)) in make_parent_dir()
922 char name[PATH_MAX], tmp[PATH_MAX]; in conf_write_autoconf_cmd() local
933 ret = snprintf(tmp, sizeof(tmp), "%s.cmd.tmp", autoconf_name); in conf_write_autoconf_cmd()
934 if (ret >= sizeof(tmp)) /* check truncation */ in conf_write_autoconf_cmd()
937 out = fopen(tmp, "w"); in conf_write_autoconf_cmd()
[all …]
Dmconf.c317 struct subtitle_list *pos, *tmp; in set_subtitle() local
319 for (pos = subtitles; pos != NULL; pos = tmp) { in set_subtitle()
320 tmp = pos->next; in set_subtitle()
342 struct subtitle_list *pos, *tmp; in reset_subtitle() local
344 for (pos = subtitles; pos != NULL; pos = tmp) { in reset_subtitle()
345 tmp = pos->next; in reset_subtitle()
430 struct jump_key *pos, *tmp; in search_conf() local
445 list_for_each_entry_safe(pos, tmp, &head, entries) in search_conf()
459 int type, tmp, doint = 2; in build_conf() local
570 tmp = 2 + strlen(sym_get_string_value(sym)); /* () = 2 */ in build_conf()
[all …]
Dpreprocess.c94 struct env *e, *tmp; in env_write_dep() local
96 list_for_each_entry_safe(e, tmp, &env_list, node) { in env_write_dep()
338 struct variable *v, *tmp; in variable_all_del() local
340 list_for_each_entry_safe(v, tmp, &variable_list, node) in variable_all_del()
352 char *tmp, *name, *res, *endptr, *prev, *p; in eval_clause() local
359 tmp = xstrndup(str, len); in eval_clause()
366 n = strtoul(tmp, &endptr, 10); in eval_clause()
372 prev = p = tmp; in eval_clause()
443 free(tmp); in eval_clause()
Dexpr.c315 struct expr *tmp; in expr_join_or() local
325 tmp = e1->left.expr; in expr_join_or()
326 if (tmp->type != E_EQUAL && tmp->type != E_UNEQUAL && tmp->type != E_SYMBOL) in expr_join_or()
328 sym1 = tmp->left.sym; in expr_join_or()
380 struct expr *tmp; in expr_join_and() local
390 tmp = e1->left.expr; in expr_join_and()
391 if (tmp->type != E_EQUAL && tmp->type != E_UNEQUAL && tmp->type != E_SYMBOL) in expr_join_and()
393 sym1 = tmp->left.sym; in expr_join_and()
481 struct expr *tmp, *l, *r; in expr_eliminate_dups1() local
506 tmp = expr_join_or(*ep1, *ep2); in expr_eliminate_dups1()
[all …]
DMakefile60 $(Q)$(PERL) $(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config
62 cmp -s .tmp.config .config || \
64 mv -f .tmp.config .config; \
68 mv -f .tmp.config .config; \
71 $(Q)rm -f .tmp.config
/scripts/include/
Dhashtable.h71 #define hash_for_each_safe(table, obj, tmp, member) \ argument
73 hlist_for_each_entry_safe(obj, tmp, &table[_bkt], member)
95 #define hash_for_each_possible_safe(table, obj, tmp, member, key) \ argument
96 hlist_for_each_entry_safe(obj, tmp, hash_head(table, key), member)
/scripts/gendwarfksyms/
Ddie.c73 struct die_fragment *tmp; in reset_die() local
76 list_for_each_entry_safe(df, tmp, &cd->fragments, list) { in reset_die()
89 struct hlist_node *tmp; in die_map_for_each() local
92 hash_for_each_safe(die_map, cd, tmp, hash) { in die_map_for_each()
99 struct hlist_node *tmp; in die_map_free() local
106 hash_for_each_safe(die_map, cd, tmp, hash) { in die_map_free()
Dsymbols.c23 struct hlist_node *tmp; in __for_each_addr() local
27 hash_for_each_possible_safe(symbol_addrs, match, tmp, addr_hash, in __for_each_addr()
59 struct hlist_node *tmp; in for_each() local
67 hash_for_each_possible_safe(symbol_names, match, tmp, name_hash, in for_each()
182 struct hlist_node *tmp; in symbol_for_each() local
185 hash_for_each_safe(symbol_names, sym, tmp, name_hash) { in symbol_for_each()
318 struct hlist_node *tmp; in symbol_print_versions() local
321 hash_for_each_safe(symbol_names, sym, tmp, name_hash) { in symbol_print_versions()
331 struct hlist_node *tmp; in symbol_free() local
334 hash_for_each_safe(symbol_names, sym, tmp, name_hash) { in symbol_free()
Dcache.c43 struct hlist_node *tmp; in cache_free() local
46 hash_for_each_safe(cache->cache, ci, tmp, hash) { in cache_free()
Dtypes.c30 struct type_list_entry *tmp; in type_list_free() local
32 list_for_each_entry_safe(entry, tmp, list, list) { in type_list_free()
195 struct hlist_node *tmp; in type_map_write() local
203 hash_for_each_safe(type_map, e, tmp, hash) in type_map_write()
206 hash_for_each_safe(type_map, e, tmp, hash) in type_map_write()
224 struct hlist_node *tmp; in type_map_free() local
226 hash_for_each_safe(type_map, e, tmp, hash) { in type_map_free()
/scripts/gcc-plugins/
Drandomize_layout_plugin.c202 struct partition_group tmp; in performance_shuffle() local
204 tmp = size_group[i]; in performance_shuffle()
206 size_group[randnum] = tmp; in performance_shuffle()
211 tree tmp; in performance_shuffle() local
221 tmp = newtree[i]; in performance_shuffle()
223 newtree[randnum] = tmp; in performance_shuffle()
233 tree tmp; in full_shuffle() local
235 tmp = newtree[i]; in full_shuffle()
237 newtree[randnum] = tmp; in full_shuffle()
Dlatent_entropy_plugin.c434 tree frame_addr, rand_const, tmp, fndecl, udi_frame_addr; in init_local_entropy() local
455 tmp = create_var(long_unsigned_type_node, "temp_latent_entropy"); in init_local_entropy()
460 assign = gimple_build_assign(tmp, latent_entropy_decl); in init_local_entropy()
465 assign = create_assign(BIT_XOR_EXPR, local_entropy, local_entropy, tmp); in init_local_entropy()
/scripts/genksyms/
Dgenksyms.c509 struct string_list *tmp, **tmp2; in print_list() local
517 tmp = list; in print_list()
518 while ((tmp = tmp->next) != NULL) in print_list()
539 struct string_list *tmp, **tmp2; in expand_and_crc_sym() local
545 tmp = list; in expand_and_crc_sym()
546 while ((tmp = tmp->next) != NULL) in expand_and_crc_sym()
/scripts/package/debian/
Drules91 $(Q)dpkg-architecture -a$$(cat debian/arch) --print-set --print-format=make > $@.tmp
92 $(Q)mv $@.tmp $@
/scripts/mod/
Dfile2alias.c360 char *tmp; in do_of_entry_multi() local
374 for (tmp = alias; tmp && *tmp; tmp++) in do_of_entry_multi()
375 if (isspace(*tmp)) in do_of_entry_multi()
376 *tmp = '_'; in do_of_entry_multi()
722 char *tmp; in do_vio_entry() local
730 for (tmp = alias; tmp && *tmp; tmp++) in do_vio_entry()
731 if (isspace (*tmp)) in do_vio_entry()
732 *tmp = '_'; in do_vio_entry()

12