Home
last modified time | relevance | path

Searched refs:template (Results 1 – 25 of 162) sorted by relevance

1234567

/linux/tools/net/sunrpc/xdrgen/generators/
A Dpointer.py30 template = get_jinja2_template(environment, "definition", field.template)
39 template = get_jinja2_template(environment, "definition", field.template)
47 template = get_jinja2_template(environment, "definition", field.template)
50 template = get_jinja2_template(environment, "definition", field.template)
53 template = get_jinja2_template(environment, "definition", field.template)
62 template = get_jinja2_template(environment, "definition", field.template)
98 template = get_jinja2_template(environment, "decoder", field.template)
107 template = get_jinja2_template(environment, "decoder", field.template)
115 template = get_jinja2_template(environment, "decoder", field.template)
123 template = get_jinja2_template(environment, "decoder", field.template)
[all …]
A Dstruct.py30 template = get_jinja2_template(environment, "definition", field.template)
39 template = get_jinja2_template(environment, "definition", field.template)
47 template = get_jinja2_template(environment, "definition", field.template)
50 template = get_jinja2_template(environment, "definition", field.template)
53 template = get_jinja2_template(environment, "definition", field.template)
62 template = get_jinja2_template(environment, "definition", field.template)
98 template = get_jinja2_template(environment, "decoder", field.template)
107 template = get_jinja2_template(environment, "decoder", field.template)
115 template = get_jinja2_template(environment, "decoder", field.template)
123 template = get_jinja2_template(environment, "decoder", field.template)
[all …]
A Dtypedef.py23 template = get_jinja2_template(environment, "declaration", node.template)
32 template = get_jinja2_template(environment, "declaration", node.template)
35 template = get_jinja2_template(environment, "declaration", node.template)
38 template = get_jinja2_template(environment, "declaration", node.template)
41 template = get_jinja2_template(environment, "declaration", node.template)
50 template = get_jinja2_template(environment, "declaration", node.template)
115 template = get_jinja2_template(environment, "decoder", node.template)
123 template = get_jinja2_template(environment, "decoder", node.template)
131 template = get_jinja2_template(environment, "decoder", node.template)
139 template = get_jinja2_template(environment, "decoder", node.template)
[all …]
A Dunion.py29 template.render(
46 template.render(
91 template = get_jinja2_template(environment, "decoder", node.arm.template)
93 template.render(
101 print(template.render())
113 print(template.render())
121 template = get_jinja2_template(environment, "decoder", default_case.arm.template)
123 template.render(
167 template = get_jinja2_template(environment, "encoder", node.arm.template)
169 template.render(
[all …]
A Denum.py21 template = self.environment.get_template("declaration/close.j2")
22 print(template.render(name=node.name))
26 template = self.environment.get_template("definition/open.j2")
27 print(template.render(name=node.name))
29 template = self.environment.get_template("definition/enumerator.j2")
33 template = self.environment.get_template("definition/close.j2")
34 print(template.render(name=node.name))
38 template = self.environment.get_template("decoder/enum.j2")
39 print(template.render(name=node.name))
43 template = self.environment.get_template("encoder/enum.j2")
[all …]
A Dprogram.py16 template = environment.get_template("definition/open.j2")
17 print(template.render(program=program.upper()))
19 template = environment.get_template("definition/procedure.j2")
23 template.render(
29 template = environment.get_template("definition/close.j2")
30 print(template.render())
67 template = environment.get_template("decoder/argument.j2")
81 template = environment.get_template("decoder/result.j2")
83 print(template.render(program=program, result=result))
95 template = environment.get_template("encoder/argument.j2")
[all …]
A Dheader_bottom.py24 template = get_jinja2_template(self.environment, "declaration", "header")
25 print(template.render(infix=header_guard_infix(filename)))
29 template = get_jinja2_template(self.environment, "definition", "header")
30 print(template.render(infix=header_guard_infix(filename)))
A Dheader_top.py24 template = get_jinja2_template(self.environment, "declaration", "header")
26 template.render(
35 template = get_jinja2_template(self.environment, "definition", "header")
37 template.render(
/linux/drivers/leds/
A Dleds-gpio.c108 if (!template->retain_state_suspended) in create_gpio_led()
110 if (template->panic_indicator) in create_gpio_led()
112 if (template->retain_state_shutdown) in create_gpio_led()
119 if (template->name) { in create_gpio_led()
120 led_dat->cdev.name = template->name; in create_gpio_led()
244 if (!gpio_is_valid(template->gpio)) in gpio_led_get_gpiod()
247 if (template->active_low) in gpio_led_get_gpiod()
251 template->name); in gpio_led_get_gpiod()
279 if (template->gpiod) in gpio_led_probe()
280 led_dat->gpiod = template->gpiod; in gpio_led_probe()
[all …]
/linux/drivers/hid/
A Dhid-uclogic-rdesc-test.c16 const __u8 *template; member
103 .template = template_empty,
111 .template = template_small,
119 .template = template_no_ph,
127 .template = template_pen_ph_end,
135 .template = template_btn_ph_end,
143 .template = template_pen_all_params,
151 .template = template_frame_all_params,
159 .template = template_pen_some_params,
167 .template = template_pen_some_params,
[all …]
/linux/include/trace/
A Dtrace_events.h61 #define DEFINE_EVENT(template, name, proto, args) \ argument
67 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
71 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
121 #define DEFINE_EVENT(template, name, proto, args) argument
217 struct trace_event_raw_##template *field; \
413 #define DEFINE_EVENT(template, call, proto, args) \ argument
438 #define DEFINE_EVENT(template, call, proto, args) \ argument
441 .class = &event_class_##template, \
445 .event.funcs = &trace_event_type_funcs_##template, \
446 .print_fmt = print_fmt_##template, \
[all …]
A Dbpf_probe.h61 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
64 check_trace_callback_type_##call(__bpf_trace_##template); \
74 .bpf_func = __bpf_trace_##template, \
94 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
96 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
99 #define DEFINE_EVENT(template, call, proto, args) \ argument
100 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
103 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
104 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
A Dtrace_custom_events.h51 #define DEFINE_CUSTOM_EVENT(template, name, proto, args) \ argument
68 #define DEFINE_CUSTOM_EVENT(template, name, proto, args) argument
175 #define DEFINE_CUSTOM_EVENT(template, call, proto, args) \ argument
178 check_trace_callback_type_##call(trace_custom_event_raw_event_##template); \
200 #define DEFINE_CUSTOM_EVENT(template, call, proto, args) \ argument
204 .class = &custom_event_class_##template, \
205 .event.funcs = &trace_custom_event_type_funcs_##template, \
206 .print_fmt = custom_print_fmt_##template, \
A Ddefine_trace.h53 #define DEFINE_EVENT_NOP(template, name, proto, args) argument
56 #define DEFINE_EVENT(template, name, proto, args) \ argument
60 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ argument
64 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
68 #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \ argument
69 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
A Dperf.h64 #define DEFINE_EVENT(template, call, proto, args) \ argument
67 check_trace_callback_type_##call(perf_trace_##template); \
72 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
73 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
/linux/Documentation/security/
A DIMA-templates.rst9 The original ``ima`` template is fixed length, containing the filedata hash
19 a new template is defined, the functions that generate and display
23 The proposed solution solves this problem by separating the template
32 measurement entries. Defining a new template descriptor requires
33 specifying the template format (a string of field identifiers separated
41 mechanism) to generate a new measurement entry by using the template
46 a given template but, instead, it simply calls the ``init()`` method of the template
53 method for each item of the array of template fields structures.
60 In the following, there is the list of supported template fields
88 Below, there is the list of defined template descriptors:
[all …]
/linux/sound/soc/intel/avs/
A Dpath.c36 if (mod->template->id == template_id) in avs_path_find_module()
47 if (ppl->template->id == template_id) in avs_path_find_pipeline()
65 template = pos; in avs_path_find_path()
69 if (!template) in avs_path_find_path()
75 if (path->template->owner == template) { in avs_path_find_path()
597 mod->template = template; in avs_path_module_create()
625 t = binding->template; in avs_path_binding_arm()
685 binding->template = t; in avs_path_binding_create()
739 mod->template->core_id); in avs_path_pipeline_free()
760 ppl->template = template; in avs_path_pipeline_create()
[all …]
A Dpath.h21 struct avs_tplg_path *template; member
32 struct avs_tplg_pipeline *template; member
43 struct avs_tplg_module *template; member
55 struct avs_tplg_binding *template; member
63 struct avs_tplg_path_template *template,
/linux/security/integrity/ima/
A Dima_template.c298 result = template_desc_init_fields(template->fmt, in ima_init_template()
299 &(template->fields), in ima_init_template()
300 &(template->num_fields)); in ima_init_template()
303 (strlen(template->name) ? in ima_init_template()
304 template->name : template->fmt), result); in ima_init_template()
308 template = ima_template_desc_buf(); in ima_init_template()
309 if (!template) { in ima_init_template()
315 &(template->fields), in ima_init_template()
316 &(template->num_fields)); in ima_init_template()
319 (strlen(template->name) ? in ima_init_template()
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_flower.c19 prestera_acl_ruleset_put(template->ruleset); in prestera_flower_template_free()
20 list_del(&template->list); in prestera_flower_template_free()
21 kfree(template); in prestera_flower_template_free()
26 struct prestera_flower_template *template, *tmp; in prestera_flower_template_cleanup() local
30 prestera_flower_template_free(template); in prestera_flower_template_cleanup()
488 struct prestera_flower_template *template; in prestera_flower_tmplt_create() local
498 template = kmalloc(sizeof(*template), GFP_KERNEL); in prestera_flower_tmplt_create()
499 if (!template) { in prestera_flower_tmplt_create()
526 template->ruleset = ruleset; in prestera_flower_tmplt_create()
534 kfree(template); in prestera_flower_tmplt_create()
[all …]
/linux/kernel/debug/kdb/
A Dkdb_bp.c285 kdb_bp_t template = {0}; in kdb_bp() local
302 diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, in kdb_bp()
306 if (!template.bp_addr) in kdb_bp()
314 diag = kgdb_validate_break_address(template.bp_addr); in kdb_bp()
330 template.bp_type = BP_HARDWARE_BREAKPOINT; in kdb_bp()
331 diag = kdb_parsebp(argc, argv, &nextarg, &template); in kdb_bp()
335 template.bp_type = BP_BREAKPOINT; in kdb_bp()
347 bp_check->bp_addr == template.bp_addr) { in kdb_bp()
349 kdb_bfd_vma_fmt0 "\n", template.bp_addr); in kdb_bp()
354 template.bp_enabled = 1; in kdb_bp()
[all …]
/linux/include/trace/events/
A Dbpf_test_run.h46 #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ argument
47 DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \
51 #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ argument
52 DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
A Dnbd.h85 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ argument
86 DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \
90 #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ argument
91 DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
/linux/tools/net/sunrpc/xdrgen/
A Dxdr_ast.py78 template: str = "fixed_length_opaque" variable in _XdrFixedLengthOpaque
87 template: str = "variable_length_opaque" variable in _XdrVariableLengthOpaque
96 template: str = "variable_length_string" variable in _XdrVariableLengthString
106 template: str = "fixed_length_array" variable in _XdrFixedLengthArray
116 template: str = "variable_length_array" variable in _XdrVariableLengthArray
125 template: str = "optional_data" variable in _XdrOptionalData
134 template: str = "basic" variable in _XdrBasic
141 template: str = "void" variable in _XdrVoid
199 template: str = "case_spec" variable in _XdrCaseSpec
207 template: str = "default_spec" variable in _XdrDefaultSpec
/linux/tools/perf/scripts/python/
A Dflamegraph.py145 if os.path.isfile(self.args.template):
146 template = f"file://{self.args.template}"
171template = "https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/templates/d3-flamegraph-base.ht…
175 with urllib.request.urlopen(template) as template:
177 l.decode("utf-8") for l in template.readlines()

Completed in 51 milliseconds

1234567