| /linux-6.15/tools/net/sunrpc/xdrgen/generators/ |
| H A D | struct.py | 30 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 …]
|
| H A D | pointer.py | 30 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 …]
|
| H A D | typedef.py | 23 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 …]
|
| H A D | union.py | 29 template.render( 46 template.render( 96 template = get_jinja2_template(environment, "decoder", node.arm.template) 98 template.render( 106 print(template.render()) 126 template = get_jinja2_template(environment, "decoder", default_case.arm.template) 128 template.render( 180 template = get_jinja2_template(environment, "encoder", node.arm.template) 182 template.render( 210 template.render( [all …]
|
| H A D | enum.py | 21 template = self.environment.get_template("declaration/enum.j2") 22 print(template.render(name=node.name)) 26 template = self.environment.get_template("definition/open.j2") 27 print(template.render(name=node.name)) 37 print(template.render(name=node.name)) 44 template = self.environment.get_template("decoder/enum.j2") 45 print(template.render(name=node.name)) 52 template = self.environment.get_template("encoder/enum.j2") 53 print(template.render(name=node.name)) 58 template = self.environment.get_template("maxsize/enum.j2") [all …]
|
| H A D | program.py | 16 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 …]
|
| H A D | header_bottom.py | 24 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)))
|
| H A D | header_top.py | 24 template = get_jinja2_template(self.environment, "declaration", "header") 26 template.render( 35 template = get_jinja2_template(self.environment, "definition", "header") 37 template.render(
|
| /linux-6.15/drivers/leds/ |
| H A D | leds-gpio.c | 106 if (!template->retain_state_suspended) in create_gpio_led() 108 if (template->panic_indicator) in create_gpio_led() 110 if (template->retain_state_shutdown) in create_gpio_led() 117 if (template->name) { in create_gpio_led() 118 led_dat->cdev.name = template->name; in create_gpio_led() 238 if (!gpio_is_valid(template->gpio)) in gpio_led_get_gpiod() 242 template->name); in gpio_led_get_gpiod() 246 gpiod = gpio_to_desc(template->gpio); in gpio_led_get_gpiod() 273 if (template->gpiod) in gpio_led_probe() 274 led_dat->gpiod = template->gpiod; in gpio_led_probe() [all …]
|
| /linux-6.15/drivers/hid/ |
| H A D | hid-uclogic-rdesc-test.c | 16 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-6.15/Documentation/security/ |
| H A D | IMA-templates.rst | 9 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-6.15/include/trace/ |
| H A D | trace_events.h | 74 #define DEFINE_EVENT(template, name, proto, args) \ argument 80 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) 84 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) 137 #define DEFINE_EVENT(template, name, proto, args) argument 236 struct trace_event_raw_##template *field; \ 462 #define DEFINE_EVENT(template, call, proto, args) \ argument 492 #define DEFINE_EVENT(template, call, proto, args) \ argument 495 .class = &event_class_##template, \ 499 .event.funcs = &trace_event_type_funcs_##template, \ 500 .print_fmt = print_fmt_##template, \ [all …]
|
| H A D | bpf_probe.h | 75 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument 78 check_trace_callback_type_##call(__bpf_trace_##template); \ 88 .bpf_func = __bpf_trace_##template, \ 108 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument 110 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size) 113 #define DEFINE_EVENT(template, call, proto, args) \ argument 114 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0) 117 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument 118 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
|
| H A D | trace_custom_events.h | 51 #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, \
|
| H A D | define_trace.h | 57 #define DEFINE_EVENT_NOP(template, name, proto, args) argument 60 #define DEFINE_EVENT(template, name, proto, args) \ argument 64 #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ argument 68 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument 72 #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \ argument 73 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
|
| /linux-6.15/sound/soc/intel/avs/ |
| H A D | path.c | 36 if (mod->template->id == template_id) in avs_path_find_module() 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() 408 t = mod->template; in avs_peakvol_set_volume() 444 t = mod->template; in avs_peakvol_set_mute() 788 mod->template = template; in avs_path_module_create() 816 t = binding->template; in avs_path_binding_arm() 876 binding->template = t; in avs_path_binding_create() 951 ppl->template = template; in avs_path_pipeline_create() [all …]
|
| H A D | path.h | 21 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, 72 int avs_path_set_constraint(struct avs_dev *adev, struct avs_tplg_path_template *template,
|
| /linux-6.15/security/integrity/ima/ |
| H A D | ima_template.c | 298 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-6.15/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_flower.c | 19 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-6.15/kernel/debug/kdb/ |
| H A D | kdb_bp.c | 285 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-6.15/include/trace/events/ |
| H A D | bpf_test_run.h | 46 #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))
|
| H A D | nbd.h | 85 #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-6.15/tools/testing/selftests/pidfd/ |
| H A D | pidfd_bind_mount.c | 93 char template[PATH_MAX]; in FIXTURE() local 108 ASSERT_LE(snprintf(self->template, PATH_MAX, "%s", P_tmpdir "/pidfd_bind_mount_XXXXXX"), PATH_MAX); in FIXTURE_SETUP() 109 self->fd_tmp = mkstemp(self->template); in FIXTURE_SETUP() 121 ASSERT_EQ(umount2(self->template, 0), 0); in FIXTURE_TEARDOWN() 122 ASSERT_EQ(unlink(self->template), 0); in FIXTURE_TEARDOWN() 175 fd_pidfd_mnt = openat(-EBADF, self->template, O_RDONLY | O_NOCTTY | O_CLOEXEC); in TEST_F()
|
| /linux-6.15/tools/perf/scripts/python/ |
| H A D | flamegraph.py | 145 if os.path.isfile(self.args.template): 146 template = f"file://{self.args.template}" 171 …template = "https://cdn.jsdelivr.net/npm/[email protected]/dist/templates/d3-flamegraph-base.ht… 175 with urllib.request.urlopen(template) as template: 177 l.decode("utf-8") for l in template.readlines()
|
| /linux-6.15/Documentation/devicetree/bindings/sound/ |
| H A D | widgets.txt | 7 "template-wname", "user-supplied-wname" 9 The "template-wname" being the template widget name and currently includes:
|