Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 30) sorted by relevance

12

/scripts/coccinelle/locks/
Dflags.cocci2 /// Find nested lock+irqsave functions that use the same flags variables
17 expression lock1,lock2,flags;
22 spin_lock_irqsave@p1(lock1,flags)
24 read_lock_irqsave@p1(lock1,flags)
26 write_lock_irqsave@p1(lock1,flags)
28 ... when != flags
30 spin_lock_irqsave(lock1,flags)
32 read_lock_irqsave(lock1,flags)
34 write_lock_irqsave(lock1,flags)
36 spin_lock_irqsave@p2(lock2,flags)
[all …]
/scripts/coccinelle/api/
Dkvmalloc.cocci25 identifier flags;
37 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...)
47 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...)
59 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...);
89 identifier flags, x;
95 - E = kmalloc(size, flags);
98 + E = kvmalloc(size, flags);
106 - E = kmalloc(size, flags | __GFP_NOWARN);
109 + E = kvmalloc(size, flags);
116 - T x = kmalloc(size, flags | __GFP_NOWARN);
[all …]
/scripts/
DMakefile.debug4 debug-flags-y := -g
10 debug-flags-$(CONFIG_DEBUG_INFO_DWARF4) += -gdwarf-4
11 debug-flags-$(CONFIG_DEBUG_INFO_DWARF5) += -gdwarf-5
15 KBUILD_AFLAGS += $(addprefix -Wa$(comma), $(debug-flags-y))
17 DEBUG_CFLAGS += $(debug-flags-y)
18 KBUILD_AFLAGS += $(debug-flags-y)
DMakefile.kcov2 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
3 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
4 kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so
6 export CFLAGS_KCOV := $(kcov-flags-y)
Dasn1_compiler.c696 unsigned flags; member
710 unsigned flags; member
775 types[t].flags |= TYPE_BEGIN; in build_type_list()
785 types[t].flags |= TYPE_STOP_MARKER; in build_type_list()
828 } while (type++, !(type->flags & TYPE_STOP_MARKER)); in parse()
906 element->flags |= ELEMENT_TAG_SPECIFIED; in parse_type()
926 element->flags |= ELEMENT_IMPLICIT; in parse_type()
932 element->flags |= ELEMENT_EXPLICIT; in parse_type()
1075 top->flags |= ELEMENT_SKIPPABLE; in parse_type()
1179 element->flags |= ELEMENT_SKIPPABLE | ELEMENT_CONDITIONAL; in parse_compound()
[all …]
Djobserver-exec18 flags = os.environ['MAKEFLAGS'] variable
23 opts = [x for x in flags.split(" ") if x.startswith("--jobserver")]
Dchecksyscalls.sh47 /* Missing flags argument */
Dlink-vmlinux.sh135 ${OBJCOPY} --only-section=.BTF --set-section-flags .BTF=alloc,readonly \
DKconfig.include60 # machine bit flags
/scripts/coccinelle/misc/
Dirqf_oneshot.cocci41 expression dev, irq, thread_fn, flags, e;
45 flags = IRQF_ONESHOT | ...
47 flags |= IRQF_ONESHOT | ...
49 ... when != flags = e
51 request_threaded_irq@p(irq, NULL, thread_fn, flags, ...);
53 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn, flags, ...);
57 expression dev, irq, thread_fn, flags;
66 -flags
67 +flags | IRQF_ONESHOT
76 -flags
[all …]
/scripts/kconfig/
Dsymbol.c17 .flags = SYMBOL_CONST|SYMBOL_VALID,
23 .flags = SYMBOL_CONST|SYMBOL_VALID,
29 .flags = SYMBOL_CONST|SYMBOL_VALID,
35 .flags = SYMBOL_VALID,
158 sym->flags |= SYMBOL_CHANGED; in sym_set_changed()
161 prop->menu->flags |= MENU_CHANGED; in sym_set_changed()
274 int flags; in sym_calc_choice() local
277 flags = sym->flags; in sym_calc_choice()
282 flags &= def_sym->flags; in sym_calc_choice()
285 sym->flags &= flags | ~SYMBOL_DEF_USER; in sym_calc_choice()
[all …]
Dconfdata.c234 sym->flags |= def_flags; in conf_set_sym_val()
241 sym->flags |= def_flags; in conf_set_sym_val()
246 sym->flags |= def_flags; in conf_set_sym_val()
275 sym->flags |= def_flags; in conf_set_sym_val()
408 sym->flags |= SYMBOL_CHANGED; in conf_read_simple()
409 sym->flags &= ~(def_flags|SYMBOL_VALID); in conf_read_simple()
411 sym->flags |= def_flags; in conf_read_simple()
448 if (sym->flags & def_flags) { in conf_read_simple()
455 sym->flags |= def_flags; in conf_read_simple()
487 if (sym->flags & def_flags) { in conf_read_simple()
[all …]
Dlkc.h128 return sym->flags & SYMBOL_CHOICE ? true : false; in sym_is_choice()
133 return sym->flags & SYMBOL_CHOICEVAL ? true : false; in sym_is_choice_value()
138 return sym->flags & SYMBOL_OPTIONAL ? true : false; in sym_is_optional()
143 return sym->flags & SYMBOL_DEF_USER ? true : false; in sym_has_value()
Dconf.c152 sym->flags |= SYMBOL_DEF_USER; in randomize_choice_values()
154 sym->flags &= ~SYMBOL_VALID; in randomize_choice_values()
156 csym->flags |= SYMBOL_DEF_USER; in randomize_choice_values()
158 csym->flags &= ~SYMBOL_VALID; in randomize_choice_values()
230 if (sym_has_value(sym) || sym->flags & SYMBOL_VALID) in conf_set_all_new_symbols()
261 sym->flags |= SYMBOL_DEF_USER; in conf_set_all_new_symbols()
284 csym->flags |= SYMBOL_NEED_SET_CHOICE_VALUES; in conf_set_all_new_symbols()
Dlkc_proto.h19 struct symbol * sym_lookup(const char *name, int flags);
Dexpr.h117 int flags; member
253 unsigned int flags; member
Dgconf.c1088 sym->flags &= ~SYMBOL_CHANGED; in fill_row()
1107 if (sym->flags & SYMBOL_CHOICEVAL) in fill_row()
1320 } else if (sym && (sym->flags & SYMBOL_CHANGED)) { in update_tree()
1352 sym->flags &= ~SYMBOL_CHANGED; in display_tree()
1355 && !(child->flags & MENU_ROOT) && (tree == tree1)) in display_tree()
1358 if ((view_mode == SPLIT_VIEW) && (child->flags & MENU_ROOT) in display_tree()
1368 printf("%s", child->flags & MENU_ROOT ? "rootmenu | " : ""); in display_tree()
1374 printf("%s", dbg_sym_flags(sym->flags)); in display_tree()
1392 if (((view_mode == SINGLE_VIEW) && (menu->flags & MENU_ROOT)) in display_tree()
1431 menu->flags |= MENU_ROOT; in fixup_rootmenu()
Dqconf.cc190 if (menu->flags & MENU_CHANGED) { in testUpdateMenu()
192 menu->flags &= ~MENU_CHANGED; in testUpdateMenu()
222 setFlags(flags() | Qt::ItemIsEditable); in init()
444 if ((mode == singleMode || (mode == symbolMode && !(rootEntry->flags & MENU_ROOT))) && in updateList()
620 if (!(child->flags & MENU_ROOT)) in updateMenuList()
624 if (child->flags & MENU_ROOT) in updateMenuList()
685 if (!(child->flags & MENU_ROOT)) in updateMenuList()
689 if (child->flags & MENU_ROOT) in updateMenuList()
1162 if (sym && sym->name && !(sym->flags & SYMBOL_CONST)) { in expr_print_help()
1624 if (menu->flags & MENU_ROOT) { in setMenuLink()
[all …]
Dparser.y144 $2->flags |= SYMBOL_OPTIONAL;
156 $2->flags |= SYMBOL_OPTIONAL;
232 sym->flags |= SYMBOL_NO_WRITE;
277 current_entry->sym->flags |= SYMBOL_OPTIONAL;
Dmenu.c489 menu->sym->flags |= SYMBOL_CHOICEVAL; in menu_finalize()
566 if (sym && !(sym->flags & SYMBOL_WARNED)) { in menu_finalize()
575 sym->flags |= SYMBOL_WARNED; in menu_finalize()
647 sym->flags |= SYMBOL_DEF_USER; in menu_is_visible()
/scripts/dtc/
Dflattree.c21 int flags; member
249 if (vi->flags & FTF_FULLPATH) in flatten_tree()
268 if ((vi->flags & FTF_VARALIGN) && (prop->val.len >= 8)) in flatten_tree()
275 if ((vi->flags & FTF_NAMEPROPS) && !seen_name_prop) { in flatten_tree()
280 if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8)) in flatten_tree()
338 if (vi->flags & FTF_BOOTCPUID) in make_fdt_header()
340 if (vi->flags & FTF_STRTABSIZE) in make_fdt_header()
342 if (vi->flags & FTF_STRUCTSIZE) in make_fdt_header()
485 if (vi->flags & FTF_BOOTCPUID) { in dt_to_asm()
490 if (vi->flags & FTF_STRTABSIZE) { in dt_to_asm()
[all …]
Ddtc-parser.y45 unsigned int flags; member
68 %type <flags> header
69 %type <flags> headers
170 if (!($<flags>-1 & DTSF_PLUGIN))
195 if ($<flags>-1 & DTSF_PLUGIN) {
219 if ($<flags>-1 & DTSF_PLUGIN)
/scripts/dtc/libfdt/
Dfdt_sw.c109 int fdt_create_with_flags(void *buf, int bufsize, uint32_t flags) in fdt_create_with_flags() argument
118 if (flags & ~FDT_CREATE_FLAGS_ALL) in fdt_create_with_flags()
132 fdt_set_last_comp_version(fdt, flags); in fdt_create_with_flags()
/scripts/mod/
Dfile2alias.c753 DEF_FIELD(symval, input_device_id, flags); in do_input_entry()
770 ADD(alias, "b", flags & INPUT_DEVICE_ID_MATCH_BUS, bustype); in do_input_entry()
771 ADD(alias, "v", flags & INPUT_DEVICE_ID_MATCH_VENDOR, vendor); in do_input_entry()
772 ADD(alias, "p", flags & INPUT_DEVICE_ID_MATCH_PRODUCT, product); in do_input_entry()
773 ADD(alias, "e", flags & INPUT_DEVICE_ID_MATCH_VERSION, version); in do_input_entry()
776 if (flags & INPUT_DEVICE_ID_MATCH_EVBIT) in do_input_entry()
779 if (flags & INPUT_DEVICE_ID_MATCH_KEYBIT) in do_input_entry()
784 if (flags & INPUT_DEVICE_ID_MATCH_RELBIT) in do_input_entry()
787 if (flags & INPUT_DEVICE_ID_MATCH_ABSBIT) in do_input_entry()
790 if (flags & INPUT_DEVICE_ID_MATCH_MSCIT) in do_input_entry()
[all …]
/scripts/gcc-plugins/
Dstructleak_plugin.c53 static tree handle_user_attribute(tree *node, tree name, tree args, int flags, bool *no_add_attrs) in handle_user_attribute() argument

12