template 52 arch/ia64/include/asm/kprobes.h unsigned long long template : 5; template 72 arch/ia64/kernel/kprobes.c brl->quad0.template = 0x05; /* [MLX](stop) */ template 85 arch/ia64/kernel/kprobes.c static void __kprobes update_kprobe_inst_flag(uint template, uint slot, template 105 arch/ia64/kernel/kprobes.c if (bundle_encoding[template][slot] == B) { template 121 arch/ia64/kernel/kprobes.c } else if (bundle_encoding[template][slot] == X) { template 138 arch/ia64/kernel/kprobes.c static uint __kprobes is_cmp_ctype_unc_inst(uint template, uint slot, template 145 arch/ia64/kernel/kprobes.c if (!((bundle_encoding[template][slot] == I) || template 146 arch/ia64/kernel/kprobes.c (bundle_encoding[template][slot] == M))) template 174 arch/ia64/kernel/kprobes.c static int __kprobes unsupported_inst(uint template, uint slot, template 182 arch/ia64/kernel/kprobes.c if (is_cmp_ctype_unc_inst(template, slot, major_opcode, kprobe_inst)) { template 192 arch/ia64/kernel/kprobes.c else if (bundle_encoding[template][slot] == I) { template 231 arch/ia64/kernel/kprobes.c else if (bundle_encoding[template][slot] == B) { template 253 arch/ia64/kernel/kprobes.c else if (unlikely(bundle_encoding[template][slot] == F)) { template 285 arch/ia64/kernel/kprobes.c static void __kprobes prepare_break_inst(uint template, uint slot, template 318 arch/ia64/kernel/kprobes.c update_kprobe_inst_flag(template, slot, major_opcode, kprobe_inst, p); template 325 arch/ia64/kernel/kprobes.c unsigned int template; template 327 arch/ia64/kernel/kprobes.c template = bundle->quad0.template; template 354 arch/ia64/kernel/kprobes.c static int __kprobes valid_kprobe_addr(int template, int slot, template 357 arch/ia64/kernel/kprobes.c if ((slot > 2) || ((bundle_encoding[template][1] == L) && slot > 1)) { template 497 arch/ia64/kernel/kprobes.c unsigned int template = bundle->quad0.template; template 501 arch/ia64/kernel/kprobes.c if (slot == 1 && bundle_encoding[template][1] == L) template 528 arch/ia64/kernel/kprobes.c unsigned int template = bundle->quad0.template; template 535 arch/ia64/kernel/kprobes.c template &= 0x1e; template 536 arch/ia64/kernel/kprobes.c if (template >= 0x10 /* including B unit */ || template 537 arch/ia64/kernel/kprobes.c template == 0x04 /* including X unit */ || template 538 arch/ia64/kernel/kprobes.c template == 0x06) /* undefined */ template 569 arch/ia64/kernel/kprobes.c unsigned int slot = addr & 0xf, template, major_opcode = 0; template 574 arch/ia64/kernel/kprobes.c template = bundle->quad0.template; template 576 arch/ia64/kernel/kprobes.c if(valid_kprobe_addr(template, slot, addr)) template 580 arch/ia64/kernel/kprobes.c if (slot == 1 && bundle_encoding[template][1] == L) template 586 arch/ia64/kernel/kprobes.c qp = unsupported_inst(template, slot, major_opcode, kprobe_inst, addr); template 596 arch/ia64/kernel/kprobes.c prepare_break_inst(template, slot, major_opcode, kprobe_inst, p, qp); template 673 arch/ia64/kernel/kprobes.c unsigned long template; template 676 arch/ia64/kernel/kprobes.c template = p->ainsn.insn->bundle.quad0.template; template 678 arch/ia64/kernel/kprobes.c if (slot == 1 && bundle_encoding[template][1] == L) template 95 arch/um/os-Linux/mem.c static int __init make_tempfile(const char *template) template 120 arch/um/os-Linux/mem.c tempname = malloc(strlen(tempdir) + strlen(template) + 1); template 125 arch/um/os-Linux/mem.c strcat(tempname, template); template 399 block/blk-integrity.c void blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) template 404 block/blk-integrity.c template->flags; template 405 block/blk-integrity.c bi->interval_exp = template->interval_exp ? : template 407 block/blk-integrity.c bi->profile = template->profile ? template->profile : &nop_profile; template 408 block/blk-integrity.c bi->tuple_size = template->tuple_size; template 409 block/blk-integrity.c bi->tag_size = template->tag_size; template 43 crypto/algboss.c char template[CRYPTO_MAX_ALG_NAME]; template 64 crypto/algboss.c tmpl = crypto_lookup_template(param->template); template 113 crypto/algboss.c memcpy(param->template, name, len); template 251 crypto/tcrypt.c struct aead_speed_template *template, template 354 crypto/tcrypt.c if (template[j].klen == *keysize) { template 355 crypto/tcrypt.c key = template[j].key; template 519 crypto/tcrypt.c struct aead_speed_template *template, template 604 crypto/tcrypt.c if (template[j].klen == *keysize) { template 605 crypto/tcrypt.c key = template[j].key; template 1249 crypto/tcrypt.c struct cipher_speed_template *template, template 1332 crypto/tcrypt.c if (template[j].klen == *keysize) { template 1333 crypto/tcrypt.c key = template[j].key; template 1490 crypto/tcrypt.c struct cipher_speed_template *template, template 1552 crypto/tcrypt.c if (template[j].klen == *keysize) { template 1553 crypto/tcrypt.c key = template[j].key; template 1620 crypto/tcrypt.c struct cipher_speed_template *template, template 1623 crypto/tcrypt.c return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, template 1628 crypto/tcrypt.c struct cipher_speed_template *template, template 1631 crypto/tcrypt.c return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, template 1797 crypto/testmgr.c const struct hash_testvec *template = desc->suite.hash.vecs; template 1810 crypto/testmgr.c if (template[nr_unkeyed].ksize) template 1814 crypto/testmgr.c if (!template[nr_unkeyed + nr_keyed].ksize) { template 1820 crypto/testmgr.c template[nr_unkeyed + nr_keyed].ksize); template 1825 crypto/testmgr.c err = __alg_test_hash(template, nr_unkeyed, driver, type, mask, template 1827 crypto/testmgr.c template += nr_unkeyed; template 1831 crypto/testmgr.c err = __alg_test_hash(template, nr_keyed, driver, type, mask, template 2351 crypto/testmgr.c const struct cipher_testvec *template, template 2374 crypto/testmgr.c if (fips_enabled && template[i].fips_skip) template 2377 crypto/testmgr.c input = enc ? template[i].ptext : template[i].ctext; template 2378 crypto/testmgr.c result = enc ? template[i].ctext : template[i].ptext; template 2382 crypto/testmgr.c if (WARN_ON(template[i].len > PAGE_SIZE)) template 2386 crypto/testmgr.c memcpy(data, input, template[i].len); template 2389 crypto/testmgr.c if (template[i].wk) template 2392 crypto/testmgr.c ret = crypto_cipher_setkey(tfm, template[i].key, template 2393 crypto/testmgr.c template[i].klen); template 2395 crypto/testmgr.c if (ret == template[i].setkey_error) template 2398 crypto/testmgr.c algo, j, template[i].setkey_error, ret, template 2402 crypto/testmgr.c if (template[i].setkey_error) { template 2404 crypto/testmgr.c algo, j, template[i].setkey_error); template 2409 crypto/testmgr.c for (k = 0; k < template[i].len; template 2420 crypto/testmgr.c if (memcmp(q, result, template[i].len)) { template 2423 crypto/testmgr.c hexdump(q, template[i].len); template 3186 crypto/testmgr.c const struct cprng_testvec *template, template 3206 crypto/testmgr.c memcpy(seed, template[i].v, template[i].vlen); template 3207 crypto/testmgr.c memcpy(seed + template[i].vlen, template[i].key, template 3208 crypto/testmgr.c template[i].klen); template 3209 crypto/testmgr.c memcpy(seed + template[i].vlen + template[i].klen, template 3210 crypto/testmgr.c template[i].dt, template[i].dtlen); template 3219 crypto/testmgr.c for (j = 0; j < template[i].loops; j++) { template 3221 crypto/testmgr.c template[i].rlen); template 3226 crypto/testmgr.c template[i].rlen); template 3231 crypto/testmgr.c err = memcmp(result, template[i].result, template 3232 crypto/testmgr.c template[i].rlen); template 3236 crypto/testmgr.c hexdump(result, template[i].rlen); template 3454 crypto/testmgr.c const struct drbg_testvec *template = desc->suite.drbg.vecs; template 3461 crypto/testmgr.c err = drbg_cavs_test(&template[i], pr, driver, type, mask); template 4585 drivers/crypto/caam/caamalg_qi2.c struct caam_hash_template *template, bool keyed) template 4595 drivers/crypto/caam/caamalg_qi2.c t_alg->ahash_alg = template->template_ahash; template 4601 drivers/crypto/caam/caamalg_qi2.c template->hmac_name); template 4603 drivers/crypto/caam/caamalg_qi2.c template->hmac_driver_name); template 4606 drivers/crypto/caam/caamalg_qi2.c template->name); template 4608 drivers/crypto/caam/caamalg_qi2.c template->driver_name); template 4616 drivers/crypto/caam/caamalg_qi2.c alg->cra_blocksize = template->blocksize; template 4620 drivers/crypto/caam/caamalg_qi2.c t_alg->alg_type = template->alg_type; template 1939 drivers/crypto/caam/caamhash.c caam_hash_alloc(struct caam_hash_template *template, template 1952 drivers/crypto/caam/caamhash.c t_alg->ahash_alg = template->template_ahash; template 1958 drivers/crypto/caam/caamhash.c template->hmac_name); template 1960 drivers/crypto/caam/caamhash.c template->hmac_driver_name); template 1963 drivers/crypto/caam/caamhash.c template->name); template 1965 drivers/crypto/caam/caamhash.c template->driver_name); template 1973 drivers/crypto/caam/caamhash.c alg->cra_blocksize = template->blocksize; template 1977 drivers/crypto/caam/caamhash.c t_alg->alg_type = template->alg_type; template 1822 drivers/crypto/ccree/cc_hash.c static struct cc_hash_alg *cc_alloc_hash_alg(struct cc_hash_template *template, template 1833 drivers/crypto/ccree/cc_hash.c t_crypto_alg->ahash_alg = template->template_ahash; template 1839 drivers/crypto/ccree/cc_hash.c template->mac_name); template 1841 drivers/crypto/ccree/cc_hash.c template->mac_driver_name); template 1845 drivers/crypto/ccree/cc_hash.c template->name); template 1847 drivers/crypto/ccree/cc_hash.c template->driver_name); template 1852 drivers/crypto/ccree/cc_hash.c alg->cra_blocksize = template->blocksize; template 1859 drivers/crypto/ccree/cc_hash.c t_crypto_alg->hash_mode = template->hash_mode; template 1860 drivers/crypto/ccree/cc_hash.c t_crypto_alg->hw_mode = template->hw_mode; template 1861 drivers/crypto/ccree/cc_hash.c t_crypto_alg->inter_digestsize = template->inter_digestsize; template 629 drivers/crypto/hisilicon/sec/sec_algs.c *sec_alg_alloc_and_fill_el(struct sec_bd_info *template, int encrypt, template 644 drivers/crypto/hisilicon/sec/sec_algs.c memcpy(req, template, sizeof(*req)); template 3145 drivers/crypto/talitos.c *template) template 3156 drivers/crypto/talitos.c t_alg->algt = *template; template 1112 drivers/hid/hid-logitech-dj.c static const u8 template[] = { template 1123 drivers/hid/hid-logitech-dj.c hidpp_report = kmemdup(template, sizeof(template), GFP_KERNEL); template 1129 drivers/hid/hid-logitech-dj.c hidpp_report, sizeof(template), template 274 drivers/hwmon/hwmon.c const char *template, template 285 drivers/hwmon/hwmon.c if (!template) template 303 drivers/hwmon/hwmon.c name = template; template 305 drivers/hwmon/hwmon.c scnprintf(hattr->name, sizeof(hattr->name), template, template 74 drivers/leds/leds-gpio.c static int create_gpio_led(const struct gpio_led *template, template 81 drivers/leds/leds-gpio.c led_dat->cdev.default_trigger = template->default_trigger; template 92 drivers/leds/leds-gpio.c if (template->default_state == LEDS_GPIO_DEFSTATE_KEEP) { template 97 drivers/leds/leds-gpio.c state = (template->default_state == LEDS_GPIO_DEFSTATE_ON); template 100 drivers/leds/leds-gpio.c if (!template->retain_state_suspended) template 102 drivers/leds/leds-gpio.c if (template->panic_indicator) template 104 drivers/leds/leds-gpio.c if (template->retain_state_shutdown) template 111 drivers/leds/leds-gpio.c if (template->name) { template 112 drivers/leds/leds-gpio.c led_dat->cdev.name = template->name; template 211 drivers/leds/leds-gpio.c const struct gpio_led *template) template 225 drivers/leds/leds-gpio.c gpiod_set_consumer_name(gpiod, template->name); template 238 drivers/leds/leds-gpio.c if (!gpio_is_valid(template->gpio)) template 241 drivers/leds/leds-gpio.c if (template->active_low) template 244 drivers/leds/leds-gpio.c ret = devm_gpio_request_one(dev, template->gpio, flags, template 245 drivers/leds/leds-gpio.c template->name); template 249 drivers/leds/leds-gpio.c gpiod = gpio_to_desc(template->gpio); template 271 drivers/leds/leds-gpio.c const struct gpio_led *template = &pdata->leds[i]; template 274 drivers/leds/leds-gpio.c if (template->gpiod) template 275 drivers/leds/leds-gpio.c led_dat->gpiod = template->gpiod; template 279 drivers/leds/leds-gpio.c i, template); template 282 drivers/leds/leds-gpio.c template->gpio, template->name); template 286 drivers/leds/leds-gpio.c ret = create_gpio_led(template, led_dat, template 313 drivers/leds/leds-netxbig.c const struct netxbig_led *template) template 317 drivers/leds/leds-netxbig.c led_dat->cdev.name = template->name; template 318 drivers/leds/leds-netxbig.c led_dat->cdev.default_trigger = template->default_trigger; template 333 drivers/leds/leds-netxbig.c led_dat->cdev.max_brightness = template->bright_max; template 335 drivers/leds/leds-netxbig.c led_dat->mode_addr = template->mode_addr; template 336 drivers/leds/leds-netxbig.c led_dat->mode_val = template->mode_val; template 337 drivers/leds/leds-netxbig.c led_dat->bright_addr = template->bright_addr; template 174 drivers/leds/leds-ns2.c const struct ns2_led *template) template 179 drivers/leds/leds-ns2.c ret = devm_gpio_request_one(&pdev->dev, template->cmd, template 180 drivers/leds/leds-ns2.c gpio_get_value_cansleep(template->cmd) ? template 182 drivers/leds/leds-ns2.c template->name); template 185 drivers/leds/leds-ns2.c template->name); template 189 drivers/leds/leds-ns2.c ret = devm_gpio_request_one(&pdev->dev, template->slow, template 190 drivers/leds/leds-ns2.c gpio_get_value_cansleep(template->slow) ? template 192 drivers/leds/leds-ns2.c template->name); template 195 drivers/leds/leds-ns2.c template->name); template 201 drivers/leds/leds-ns2.c led_dat->cdev.name = template->name; template 202 drivers/leds/leds-ns2.c led_dat->cdev.default_trigger = template->default_trigger; template 206 drivers/leds/leds-ns2.c led_dat->cmd = template->cmd; template 207 drivers/leds/leds-ns2.c led_dat->slow = template->slow; template 214 drivers/leds/leds-ns2.c led_dat->modval = template->modval; template 215 drivers/leds/leds-ns2.c led_dat->num_modes = template->num_modes; template 456 drivers/media/dvb-core/dvbdev.c const struct dvb_device *template, void *priv, template 481 drivers/media/dvb-core/dvbdev.c dvbdevfops = kmemdup(template->fops, sizeof(*dvbdevfops), GFP_KERNEL); template 489 drivers/media/dvb-core/dvbdev.c memcpy(dvbdev, template, sizeof(struct dvb_device)); template 3868 drivers/media/pci/bt8xx/bttv-driver.c const struct video_device *template, template 3871 drivers/media/pci/bt8xx/bttv-driver.c *vfd = *template; template 1472 drivers/media/pci/cx23885/cx23885-417.c struct video_device *template, template 1483 drivers/media/pci/cx23885/cx23885-417.c *vfd = *template; template 144 drivers/media/pci/cx23885/cx23885-video.c struct video_device *template, template 153 drivers/media/pci/cx23885/cx23885-video.c *vfd = *template; template 945 drivers/media/pci/saa7134/saa7134-core.c struct video_device *template, template 953 drivers/media/pci/saa7134/saa7134-core.c *vfd = *template; template 975 drivers/media/pci/saa7164/saa7164-encoder.c struct video_device *template, template 987 drivers/media/pci/saa7164/saa7164-encoder.c *vfd = *template; template 678 drivers/media/pci/saa7164/saa7164-vbi.c struct video_device *template, template 690 drivers/media/pci/saa7164/saa7164-vbi.c *vfd = *template; template 1957 drivers/media/usb/cx231xx/cx231xx-417.c const struct video_device *template, template 1961 drivers/media/usb/cx231xx/cx231xx-417.c *vfd = *template; template 2157 drivers/media/usb/cx231xx/cx231xx-video.c const struct video_device *template, template 2160 drivers/media/usb/cx231xx/cx231xx-video.c *vfd = *template; template 2444 drivers/media/usb/em28xx/em28xx-video.c const struct video_device *template, template 2447 drivers/media/usb/em28xx/em28xx-video.c *vfd = *template; template 280 drivers/media/usb/pvrusb2/pvrusb2-std.c struct v4l2_standard *template; template 283 drivers/media/usb/pvrusb2/pvrusb2-std.c template = match_std(id); template 284 drivers/media/usb/pvrusb2/pvrusb2-std.c if (!template) return 0; template 286 drivers/media/usb/pvrusb2/pvrusb2-std.c memcpy(std,template,sizeof(*template)); template 1564 drivers/media/usb/s2255/s2255drv.c static const struct video_device template = { template 1642 drivers/media/usb/s2255/s2255drv.c vc->vdev = template; template 1590 drivers/media/usb/tm6000/tm6000-video.c *template, const char *type_name) template 1592 drivers/media/usb/tm6000/tm6000-video.c *vfd = *template; template 45 drivers/misc/vexpress-syscfg.c u32 template[0]; /* Keep it last! */ template 64 drivers/misc/vexpress-syscfg.c command = func->template[index]; template 178 drivers/misc/vexpress-syscfg.c func = kzalloc(struct_size(func, template, num), GFP_KERNEL); template 195 drivers/misc/vexpress-syscfg.c func->template[i] = SYS_CFGCTRL_DCC(dcc); template 196 drivers/misc/vexpress-syscfg.c func->template[i] |= SYS_CFGCTRL_SITE(site); template 197 drivers/misc/vexpress-syscfg.c func->template[i] |= SYS_CFGCTRL_POSITION(position); template 198 drivers/misc/vexpress-syscfg.c func->template[i] |= SYS_CFGCTRL_FUNC(function); template 199 drivers/misc/vexpress-syscfg.c func->template[i] |= SYS_CFGCTRL_DEVICE(device); template 865 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c const struct qman_fq *template) template 867 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fq->fq_base = *template; template 877 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c const struct qman_fq *template) template 879 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fq->fq_base = *template; template 159 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c u32 *template, *tmp_buf; template 199 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c template = (u32 *) adapter->mdump.md_template; template 201 drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c *template++ = __le32_to_cpu(*tmp_buf++); template 1090 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c char template[T_RAM_ACCESS_SZ * 2]; template 1093 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c memset(template, 0, sizeof(template)); template 1094 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c memcpy(template, wlc->pub->cur_etheraddr, ETH_ALEN); template 1097 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c template); template 568 drivers/net/wireless/ti/wl1251/main.c struct ieee80211_qos_hdr template; template 570 drivers/net/wireless/ti/wl1251/main.c memset(&template, 0, sizeof(template)); template 572 drivers/net/wireless/ti/wl1251/main.c memcpy(template.addr1, wl->bssid, ETH_ALEN); template 573 drivers/net/wireless/ti/wl1251/main.c memcpy(template.addr2, wl->mac_addr, ETH_ALEN); template 574 drivers/net/wireless/ti/wl1251/main.c memcpy(template.addr3, wl->bssid, ETH_ALEN); template 576 drivers/net/wireless/ti/wl1251/main.c template.frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | template 581 drivers/net/wireless/ti/wl1251/main.c template.qos_ctrl = cpu_to_le16(0); template 583 drivers/net/wireless/ti/wl1251/main.c return wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, &template, template 584 drivers/net/wireless/ti/wl1251/main.c sizeof(template)); template 1308 drivers/net/wireless/ti/wlcore/cmd.c struct ieee80211_qos_hdr template; template 1310 drivers/net/wireless/ti/wlcore/cmd.c memset(&template, 0, sizeof(template)); template 1312 drivers/net/wireless/ti/wlcore/cmd.c memcpy(template.addr1, vif->bss_conf.bssid, ETH_ALEN); template 1313 drivers/net/wireless/ti/wlcore/cmd.c memcpy(template.addr2, vif->addr, ETH_ALEN); template 1314 drivers/net/wireless/ti/wlcore/cmd.c memcpy(template.addr3, vif->bss_conf.bssid, ETH_ALEN); template 1316 drivers/net/wireless/ti/wlcore/cmd.c template.frame_control = cpu_to_le16(IEEE80211_FTYPE_DATA | template 1321 drivers/net/wireless/ti/wlcore/cmd.c template.qos_ctrl = cpu_to_le16(0); template 1324 drivers/net/wireless/ti/wlcore/cmd.c CMD_TEMPL_QOS_NULL_DATA, &template, template 1325 drivers/net/wireless/ti/wlcore/cmd.c sizeof(template), 0, template 333 drivers/nvme/host/fc.c struct nvme_fc_port_template *template, template 341 drivers/nvme/host/fc.c if (!template->localport_delete || !template->remoteport_delete || template 342 drivers/nvme/host/fc.c !template->ls_req || !template->fcp_io || template 343 drivers/nvme/host/fc.c !template->ls_abort || !template->fcp_abort || template 344 drivers/nvme/host/fc.c !template->max_hw_queues || !template->max_sgl_segments || template 345 drivers/nvme/host/fc.c !template->max_dif_sgl_segments || !template->dma_boundary) { template 357 drivers/nvme/host/fc.c newrec = nvme_fc_attach_to_unreg_lport(pinfo, template, dev); template 372 drivers/nvme/host/fc.c newrec = kmalloc((sizeof(*newrec) + template->local_priv_sz), template 394 drivers/nvme/host/fc.c newrec->ops = template; template 410 drivers/nvme/host/fc.c dma_set_seg_boundary(dev, template->dma_boundary); template 1014 drivers/nvme/target/fc.c struct nvmet_fc_target_template *template, template 1022 drivers/nvme/target/fc.c if (!template->xmt_ls_rsp || !template->fcp_op || template 1023 drivers/nvme/target/fc.c !template->fcp_abort || template 1024 drivers/nvme/target/fc.c !template->fcp_req_release || !template->targetport_delete || template 1025 drivers/nvme/target/fc.c !template->max_hw_queues || !template->max_sgl_segments || template 1026 drivers/nvme/target/fc.c !template->max_dif_sgl_segments || !template->dma_boundary) { template 1031 drivers/nvme/target/fc.c newrec = kzalloc((sizeof(*newrec) + template->target_priv_sz), template 1056 drivers/nvme/target/fc.c newrec->ops = template; template 1063 drivers/nvme/target/fc.c newrec->max_sg_cnt = template->max_sgl_segments; template 784 drivers/regulator/qcom_rpm-regulator.c const struct qcom_rpm_reg *template; template 964 drivers/regulator/qcom_rpm-regulator.c memcpy(vreg, reg->template, sizeof(*vreg)); template 588 drivers/regulator/twl-regulator.c const struct twlreg_info *template; template 594 drivers/regulator/twl-regulator.c template = of_device_get_match_data(&pdev->dev); template 595 drivers/regulator/twl-regulator.c if (!template) template 598 drivers/regulator/twl-regulator.c id = template->desc.id; template 600 drivers/regulator/twl-regulator.c &template->desc); template 604 drivers/regulator/twl-regulator.c info = devm_kmemdup(&pdev->dev, template, sizeof(*info), GFP_KERNEL); template 673 drivers/regulator/twl6030-regulator.c const struct twlreg_info *template; template 680 drivers/regulator/twl6030-regulator.c template = of_device_get_match_data(&pdev->dev); template 681 drivers/regulator/twl6030-regulator.c if (!template) template 684 drivers/regulator/twl6030-regulator.c id = template->desc.id; template 685 drivers/regulator/twl6030-regulator.c initdata = of_get_regulator_init_data(&pdev->dev, np, &template->desc); template 689 drivers/regulator/twl6030-regulator.c info = devm_kmemdup(&pdev->dev, template, sizeof(*info), GFP_KERNEL); template 369 drivers/remoteproc/keystone_remoteproc.c char *template = "keystone-dsp%d-fw"; template 385 drivers/remoteproc/keystone_remoteproc.c name_len = strlen(template); /* assuming a single digit alias */ template 389 drivers/remoteproc/keystone_remoteproc.c snprintf(fw_name, name_len, template, dsp_id); template 1994 drivers/remoteproc/remoteproc_core.c char *p, *template = "rproc-%s-fw"; template 2005 drivers/remoteproc/remoteproc_core.c name_len = strlen(name) + strlen(template) - 2 + 1; template 2009 drivers/remoteproc/remoteproc_core.c snprintf(p, name_len, template, name); template 1223 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_register_host(struct ahd_softc *ahd, struct scsi_host_template *template) template 1231 drivers/scsi/aic7xxx/aic79xx_osm.c template->name = ahd->description; template 1232 drivers/scsi/aic7xxx/aic79xx_osm.c host = scsi_host_alloc(template, sizeof(struct ahd_softc *)); template 1086 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_linux_register_host(struct ahc_softc *ahc, struct scsi_host_template *template) template 1094 drivers/scsi/aic7xxx/aic7xxx_osm.c template->name = ahc->description; template 1095 drivers/scsi/aic7xxx/aic7xxx_osm.c host = scsi_host_alloc(template, sizeof(struct ahc_softc *)); template 4075 drivers/scsi/qla2xxx/qla_def.h void *template; template 3256 drivers/scsi/qla2xxx/qla_init.c if (!fwdt->template) { template 3264 drivers/scsi/qla2xxx/qla_init.c vha, fwdt->template); template 7701 drivers/scsi/qla2xxx/qla_init.c if (fwdt->template) template 7702 drivers/scsi/qla2xxx/qla_init.c vfree(fwdt->template); template 7703 drivers/scsi/qla2xxx/qla_init.c fwdt->template = NULL; template 7725 drivers/scsi/qla2xxx/qla_init.c fwdt->template = vmalloc(risc_size * sizeof(*dcode)); template 7726 drivers/scsi/qla2xxx/qla_init.c if (!fwdt->template) { template 7732 drivers/scsi/qla2xxx/qla_init.c dcode = fwdt->template; template 7762 drivers/scsi/qla2xxx/qla_init.c if (fwdt->template) template 7763 drivers/scsi/qla2xxx/qla_init.c vfree(fwdt->template); template 7764 drivers/scsi/qla2xxx/qla_init.c fwdt->template = NULL; template 7958 drivers/scsi/qla2xxx/qla_init.c if (fwdt->template) template 7959 drivers/scsi/qla2xxx/qla_init.c vfree(fwdt->template); template 7960 drivers/scsi/qla2xxx/qla_init.c fwdt->template = NULL; template 7981 drivers/scsi/qla2xxx/qla_init.c fwdt->template = vmalloc(risc_size * sizeof(*dcode)); template 7982 drivers/scsi/qla2xxx/qla_init.c if (!fwdt->template) { template 7988 drivers/scsi/qla2xxx/qla_init.c dcode = fwdt->template; template 8019 drivers/scsi/qla2xxx/qla_init.c if (fwdt->template) template 8020 drivers/scsi/qla2xxx/qla_init.c vfree(fwdt->template); template 8021 drivers/scsi/qla2xxx/qla_init.c fwdt->template = NULL; template 4622 drivers/scsi/qla2xxx/qla_os.c if (fwdt->template) template 4623 drivers/scsi/qla2xxx/qla_os.c vfree(fwdt->template); template 4624 drivers/scsi/qla2xxx/qla_os.c fwdt->template = NULL; template 1006 drivers/scsi/qla2xxx/qla_tmpl.c if (!fwdt->template) { template 1012 drivers/scsi/qla2xxx/qla_tmpl.c fwdt->template, buf); template 506 drivers/staging/speakup/i18n.c static bool fmt_validate(char *template, char *user) template 510 drivers/staging/speakup/i18n.c char *template_ptr = template; template 427 include/linux/nvme-fc-driver.h struct nvme_fc_port_template *template, template 856 include/linux/nvme-fc-driver.h struct nvmet_fc_target_template *template, template 520 include/linux/tracepoint.h #define DEFINE_EVENT(template, name, proto, args) \ template 522 include/linux/tracepoint.h #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\ template 524 include/linux/tracepoint.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ template 526 include/linux/tracepoint.h #define DEFINE_EVENT_CONDITION(template, name, proto, \ template 561 include/linux/tracepoint.h #define DEFINE_EVENT_NOP(template, name, proto, args) \ template 226 include/media/dvbdev.h const struct dvb_device *template, template 316 include/sound/ac97_codec.h int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template, template 72 include/trace/bpf_probe.h #define __DEFINE_EVENT(template, call, proto, args, size) \ template 75 include/trace/bpf_probe.h check_trace_callback_type_##call(__bpf_trace_##template); \ template 81 include/trace/bpf_probe.h .bpf_func = (void *)__bpf_trace_##template, \ template 89 include/trace/bpf_probe.h #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ template 99 include/trace/bpf_probe.h __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size) template 102 include/trace/bpf_probe.h #define DEFINE_EVENT(template, call, proto, args) \ template 103 include/trace/bpf_probe.h __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0) template 106 include/trace/bpf_probe.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ template 107 include/trace/bpf_probe.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) template 53 include/trace/define_trace.h #define DEFINE_EVENT_NOP(template, name, proto, args) template 56 include/trace/define_trace.h #define DEFINE_EVENT(template, name, proto, args) \ template 60 include/trace/define_trace.h #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ template 64 include/trace/define_trace.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ template 68 include/trace/define_trace.h #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \ template 69 include/trace/define_trace.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) template 29 include/trace/events/bpf_test_run.h #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ template 30 include/trace/events/bpf_test_run.h DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \ template 34 include/trace/events/bpf_test_run.h #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ template 35 include/trace/events/bpf_test_run.h DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args)) template 85 include/trace/events/nbd.h #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ template 86 include/trace/events/nbd.h DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto), \ template 90 include/trace/events/nbd.h #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ template 91 include/trace/events/nbd.h DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args)) template 79 include/trace/perf.h #define DEFINE_EVENT(template, call, proto, args) \ template 82 include/trace/perf.h check_trace_callback_type_##call(perf_trace_##template); \ template 87 include/trace/perf.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ template 88 include/trace/perf.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) template 121 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args) \ template 126 include/trace/trace_events.h #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ template 127 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) template 130 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ template 131 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) template 209 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args) template 212 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ template 213 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) template 369 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ template 374 include/trace/trace_events.h struct trace_event_raw_##template *field; \ template 461 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args) template 464 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ template 465 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) template 541 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args) template 544 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ template 545 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) template 731 include/trace/trace_events.h #define DEFINE_EVENT(template, call, proto, args) \ template 734 include/trace/trace_events.h check_trace_callback_type_##call(trace_event_raw_event_##template); \ template 738 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) template 773 include/trace/trace_events.h #define DEFINE_EVENT(template, call, proto, args) \ template 776 include/trace/trace_events.h .class = &event_class_##template, \ template 780 include/trace/trace_events.h .event.funcs = &trace_event_type_funcs_##template, \ template 781 include/trace/trace_events.h .print_fmt = print_fmt_##template, \ template 788 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ template 793 include/trace/trace_events.h .class = &event_class_##template, \ template 984 kernel/cgroup/cgroup.c struct cgroup_subsys_state *template[]) template 994 kernel/cgroup/cgroup.c if (memcmp(template, cset->subsys, sizeof(cset->subsys))) template 1062 kernel/cgroup/cgroup.c struct cgroup_subsys_state *template[]) template 1081 kernel/cgroup/cgroup.c template[i] = cgroup_e_css_by_mask(cgrp, ss); template 1087 kernel/cgroup/cgroup.c template[i] = old_cset->subsys[i]; template 1091 kernel/cgroup/cgroup.c key = css_set_hash(template); template 1093 kernel/cgroup/cgroup.c if (!compare_css_sets(cset, old_cset, cgrp, template)) template 1182 kernel/cgroup/cgroup.c struct cgroup_subsys_state *template[CGROUP_SUBSYS_COUNT] = { }; template 1195 kernel/cgroup/cgroup.c cset = find_existing_css_set(old_cset, cgrp, template); template 1227 kernel/cgroup/cgroup.c memcpy(cset->subsys, template, sizeof(cset->subsys)); template 285 kernel/debug/kdb/kdb_bp.c kdb_bp_t template = {0}; template 302 kernel/debug/kdb/kdb_bp.c diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, template 306 kernel/debug/kdb/kdb_bp.c if (!template.bp_addr) template 321 kernel/debug/kdb/kdb_bp.c template.bp_type = BP_HARDWARE_BREAKPOINT; template 322 kernel/debug/kdb/kdb_bp.c diag = kdb_parsebp(argc, argv, &nextarg, &template); template 326 kernel/debug/kdb/kdb_bp.c template.bp_type = BP_BREAKPOINT; template 338 kernel/debug/kdb/kdb_bp.c bp_check->bp_addr == template.bp_addr) { template 340 kernel/debug/kdb/kdb_bp.c kdb_bfd_vma_fmt0 "\n", template.bp_addr); template 345 kernel/debug/kdb/kdb_bp.c template.bp_enabled = 1; template 350 kernel/debug/kdb/kdb_bp.c *bp = template; template 114 net/mac802154/llsec.c llsec_key_alloc(const struct ieee802154_llsec_key *template) template 125 net/mac802154/llsec.c key->key = *template; template 134 net/mac802154/llsec.c if (crypto_aead_setkey(key->tfm[i], template->key, template 145 net/mac802154/llsec.c if (crypto_sync_skcipher_setkey(key->tfm0, template->key, template 694 scripts/gcc-plugins/gcc-common.h template <> template 695 scripts/gcc-plugins/gcc-common.h template <> template 853 scripts/gcc-plugins/gcc-common.h template <> template 854 scripts/gcc-plugins/gcc-common.h template <> template 860 scripts/gcc-plugins/gcc-common.h template <> template 861 scripts/gcc-plugins/gcc-common.h template <> template 82 security/integrity/ima/ima_policy.c struct ima_template_desc *template; template 530 security/integrity/ima/ima_policy.c if (template_desc && entry->template) template 531 security/integrity/ima/ima_policy.c *template_desc = entry->template; template 865 security/integrity/ima/ima_policy.c static void check_template_modsig(const struct ima_template_desc *template) template 877 security/integrity/ima/ima_policy.c for (i = 0; i < template->num_fields; i++) { template 878 security/integrity/ima/ima_policy.c if (!strcmp(template->fields[i]->field_id, "modsig")) template 880 security/integrity/ima/ima_policy.c else if (!strcmp(template->fields[i]->field_id, "d-modsig")) template 1207 security/integrity/ima/ima_policy.c if (!template_desc || entry->template) { template 1220 security/integrity/ima/ima_policy.c entry->template = template_desc; template 1234 security/integrity/ima/ima_policy.c template_desc = entry->template ? entry->template : template 1503 security/integrity/ima/ima_policy.c if (entry->template) template 1504 security/integrity/ima/ima_policy.c seq_printf(m, "template=%s ", entry->template->name); template 259 security/integrity/ima/ima_template.c struct ima_template_desc *template = ima_template_desc_current(); template 262 security/integrity/ima/ima_template.c result = template_desc_init_fields(template->fmt, template 263 security/integrity/ima/ima_template.c &(template->fields), template 264 security/integrity/ima/ima_template.c &(template->num_fields)); template 267 security/integrity/ima/ima_template.c (strlen(template->name) ? template 268 security/integrity/ima/ima_template.c template->name : template->fmt), result); template 617 sound/atmel/ac97c.c struct snd_ac97_template template; template 618 sound/atmel/ac97c.c memset(&template, 0, sizeof(template)); template 619 sound/atmel/ac97c.c template.private_data = chip; template 620 sound/atmel/ac97c.c return snd_ac97_mixer(chip->ac97_bus, &template, &chip->ac97); template 2952 sound/core/oss/pcm_oss.c struct snd_pcm_oss_setup *setup, *setup1, template; template 2956 sound/core/oss/pcm_oss.c memset(&template, 0, sizeof(template)); template 2965 sound/core/oss/pcm_oss.c template = *setup; template 2970 sound/core/oss/pcm_oss.c template.periods = simple_strtoul(str, NULL, 10); template 2972 sound/core/oss/pcm_oss.c template.period_size = simple_strtoul(str, NULL, 10); template 2974 sound/core/oss/pcm_oss.c if (template.period_size & (1 << idx1)) template 2977 sound/core/oss/pcm_oss.c template.period_size &= ~(1 << idx1); template 2981 sound/core/oss/pcm_oss.c template.disable = 1; template 2983 sound/core/oss/pcm_oss.c template.direct = 1; template 2985 sound/core/oss/pcm_oss.c template.block = 1; template 2987 sound/core/oss/pcm_oss.c template.nonblock = 1; template 2989 sound/core/oss/pcm_oss.c template.partialfrag = 1; template 2991 sound/core/oss/pcm_oss.c template.nosilence = 1; template 2993 sound/core/oss/pcm_oss.c template.buggyptr = 1; template 3010 sound/core/oss/pcm_oss.c template.task_name = kstrdup(task_name, GFP_KERNEL); template 3011 sound/core/oss/pcm_oss.c if (! template.task_name) { template 3018 sound/core/oss/pcm_oss.c *setup = template; template 798 sound/firewire/amdtp-stream.c } template = { {0}, {0} }; template 805 sound/firewire/amdtp-stream.c build_it_pkt_header(s, desc->cycle, &template.params, template 809 sound/firewire/amdtp-stream.c if (queue_out_packet(s, &template.params) < 0) { template 1158 sound/pci/ac97/ac97_codec.c struct snd_kcontrol_new template; template 1159 sound/pci/ac97/ac97_codec.c memcpy(&template, _template, sizeof(template)); template 1160 sound/pci/ac97/ac97_codec.c template.index = ac97->num; template 1161 sound/pci/ac97/ac97_codec.c return snd_ctl_new1(&template, ac97); template 1993 sound/pci/ac97/ac97_codec.c int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template, struct snd_ac97 **rac97) template 2010 sound/pci/ac97/ac97_codec.c if (snd_BUG_ON(!bus || !template)) template 2012 sound/pci/ac97/ac97_codec.c if (snd_BUG_ON(template->num >= 4)) template 2014 sound/pci/ac97/ac97_codec.c if (bus->codec[template->num]) template 2021 sound/pci/ac97/ac97_codec.c ac97->private_data = template->private_data; template 2022 sound/pci/ac97/ac97_codec.c ac97->private_free = template->private_free; template 2024 sound/pci/ac97/ac97_codec.c ac97->pci = template->pci; template 2025 sound/pci/ac97/ac97_codec.c ac97->num = template->num; template 2026 sound/pci/ac97/ac97_codec.c ac97->addr = template->addr; template 2027 sound/pci/ac97/ac97_codec.c ac97->scaps = template->scaps; template 2028 sound/pci/ac97/ac97_codec.c ac97->res_table = template->res_table; template 482 sound/pci/ice1712/ice1712.h const struct snd_akm4xxx *template, template 82 sound/pci/oxygen/oxygen.h int (*control_filter)(struct snd_kcontrol_new *template); template 1044 sound/pci/oxygen/oxygen_mixer.c struct snd_kcontrol_new template; template 1049 sound/pci/oxygen/oxygen_mixer.c template = controls[i]; template 1051 sound/pci/oxygen/oxygen_mixer.c err = chip->model.control_filter(&template); template 1057 sound/pci/oxygen/oxygen_mixer.c if (!strcmp(template.name, "Stereo Upmixing") && template 1060 sound/pci/oxygen/oxygen_mixer.c if (!strcmp(template.name, "Mic Source Capture Enum") && template 1063 sound/pci/oxygen/oxygen_mixer.c if (!strncmp(template.name, "CD Capture ", 11) && template 1066 sound/pci/oxygen/oxygen_mixer.c if (!strcmp(template.name, "Master Playback Volume") && template 1068 sound/pci/oxygen/oxygen_mixer.c template.tlv.p = chip->model.dac_tlv; template 1069 sound/pci/oxygen/oxygen_mixer.c template.access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; template 1071 sound/pci/oxygen/oxygen_mixer.c ctl = snd_ctl_new1(&template, chip); template 59 sound/pci/oxygen/se6x.c static int se6x_control_filter(struct snd_kcontrol_new *template) template 62 sound/pci/oxygen/se6x.c if (!strncmp(template->name, "Master Playback ", 16)) template 416 sound/pci/oxygen/xonar_dg_mixer.c static int dg_control_filter(struct snd_kcontrol_new *template) template 418 sound/pci/oxygen/xonar_dg_mixer.c if (!strncmp(template->name, "Master Playback ", 16)) template 1040 sound/pci/oxygen/xonar_pcm179x.c static int xonar_d2_control_filter(struct snd_kcontrol_new *template) template 1042 sound/pci/oxygen/xonar_pcm179x.c if (!strncmp(template->name, "CD Capture ", 11)) template 1044 sound/pci/oxygen/xonar_pcm179x.c template->private_value ^= AC97_CD ^ AC97_VIDEO; template 1048 sound/pci/oxygen/xonar_pcm179x.c static int xonar_st_h6_control_filter(struct snd_kcontrol_new *template) template 1050 sound/pci/oxygen/xonar_pcm179x.c if (!strncmp(template->name, "Master Playback ", 16)) template 632 sound/soc/codecs/sigmadsp.c struct snd_kcontrol_new template; template 635 sound/soc/codecs/sigmadsp.c memset(&template, 0, sizeof(template)); template 636 sound/soc/codecs/sigmadsp.c template.iface = SNDRV_CTL_ELEM_IFACE_MIXER; template 637 sound/soc/codecs/sigmadsp.c template.name = ctrl->name; template 638 sound/soc/codecs/sigmadsp.c template.info = sigmadsp_ctrl_info; template 639 sound/soc/codecs/sigmadsp.c template.get = sigmadsp_ctrl_get; template 640 sound/soc/codecs/sigmadsp.c template.put = sigmadsp_ctrl_put; template 641 sound/soc/codecs/sigmadsp.c template.private_value = (unsigned long)ctrl; template 642 sound/soc/codecs/sigmadsp.c template.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; template 644 sound/soc/codecs/sigmadsp.c template.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; template 646 sound/soc/codecs/sigmadsp.c kcontrol = snd_ctl_new1(&template, sigmadsp); template 62 sound/soc/intel/baytrail/sst-baytrail-dsp.c struct sst_module_template template; template 65 sound/soc/intel/baytrail/sst-baytrail-dsp.c memset(&template, 0, sizeof(template)); template 66 sound/soc/intel/baytrail/sst-baytrail-dsp.c template.id = module->type; template 67 sound/soc/intel/baytrail/sst-baytrail-dsp.c template.entry = module->entry_point; template 69 sound/soc/intel/baytrail/sst-baytrail-dsp.c mod = sst_module_new(fw, &template, NULL); template 346 sound/soc/intel/common/sst-dsp-priv.h struct sst_module_template *template, void *private); template 481 sound/soc/intel/common/sst-firmware.c struct sst_module_template *template, void *private) template 490 sound/soc/intel/common/sst-firmware.c sst_module->id = template->id; template 493 sound/soc/intel/common/sst-firmware.c sst_module->scratch_size = template->scratch_size; template 494 sound/soc/intel/common/sst-firmware.c sst_module->persistent_size = template->persistent_size; template 495 sound/soc/intel/common/sst-firmware.c sst_module->entry = template->entry; template 84 sound/soc/intel/haswell/sst-haswell-dsp.c struct sst_module_template template; template 107 sound/soc/intel/haswell/sst-haswell-dsp.c memset(&template, 0, sizeof(template)); template 108 sound/soc/intel/haswell/sst-haswell-dsp.c template.id = type; template 109 sound/soc/intel/haswell/sst-haswell-dsp.c template.entry = entry_point - 4; template 110 sound/soc/intel/haswell/sst-haswell-dsp.c template.persistent_size = le32_to_cpu(module->info.persistent_size); template 111 sound/soc/intel/haswell/sst-haswell-dsp.c template.scratch_size = le32_to_cpu(module->info.scratch_size); template 113 sound/soc/intel/haswell/sst-haswell-dsp.c mod = sst_module_new(fw, &template, NULL); template 2250 sound/soc/soc-core.c struct snd_kcontrol_new template; template 2254 sound/soc/soc-core.c memcpy(&template, _template, sizeof(template)); template 2255 sound/soc/soc-core.c template.index = 0; template 2258 sound/soc/soc-core.c long_name = template.name; template 2265 sound/soc/soc-core.c template.name = name; template 2267 sound/soc/soc-core.c template.name = long_name; template 2270 sound/soc/soc-core.c kcontrol = snd_ctl_new1(&template, data); template 2989 sound/soc/soc-core.c const char *template, *wname; template 3021 sound/soc/soc-core.c 2 * i, &template); template 3030 sound/soc/soc-core.c if (!strncmp(template, simple_widgets[j].name, template 3040 sound/soc/soc-core.c template); template 377 sound/soc/soc-dapm.c struct snd_soc_dapm_widget template; template 386 sound/soc/soc-dapm.c memset(&template, 0, sizeof(template)); template 387 sound/soc/soc-dapm.c template.reg = mc->reg; template 388 sound/soc/soc-dapm.c template.mask = (1 << fls(mc->max)) - 1; template 389 sound/soc/soc-dapm.c template.shift = mc->shift; template 391 sound/soc/soc-dapm.c template.off_val = mc->max; template 393 sound/soc/soc-dapm.c template.off_val = 0; template 394 sound/soc/soc-dapm.c template.on_val = template.off_val; template 395 sound/soc/soc-dapm.c template.id = snd_soc_dapm_kcontrol; template 396 sound/soc/soc-dapm.c template.name = name; template 398 sound/soc/soc-dapm.c data->value = template.on_val; template 402 sound/soc/soc-dapm.c &template); template 415 sound/soc/soc-dapm.c struct snd_soc_dapm_widget template; template 424 sound/soc/soc-dapm.c memset(&template, 0, sizeof(template)); template 425 sound/soc/soc-dapm.c template.reg = e->reg; template 426 sound/soc/soc-dapm.c template.mask = e->mask; template 427 sound/soc/soc-dapm.c template.shift = e->shift_l; template 428 sound/soc/soc-dapm.c template.off_val = snd_soc_enum_item_to_val(e, 0); template 429 sound/soc/soc-dapm.c template.on_val = template.off_val; template 430 sound/soc/soc-dapm.c template.id = snd_soc_dapm_kcontrol; template 431 sound/soc/soc-dapm.c template.name = name; template 433 sound/soc/soc-dapm.c data->value = template.on_val; template 436 sound/soc/soc-dapm.c widget->dapm, &template); template 4126 sound/soc/soc-dapm.c struct snd_soc_dapm_widget template; template 4138 sound/soc/soc-dapm.c memset(&template, 0, sizeof(template)); template 4139 sound/soc/soc-dapm.c template.reg = SND_SOC_NOPM; template 4140 sound/soc/soc-dapm.c template.id = snd_soc_dapm_dai_link; template 4141 sound/soc/soc-dapm.c template.name = link_name; template 4142 sound/soc/soc-dapm.c template.event = snd_soc_dai_link_event; template 4143 sound/soc/soc-dapm.c template.event_flags = SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMU | template 4145 sound/soc/soc-dapm.c template.kcontrol_news = NULL; template 4157 sound/soc/soc-dapm.c template.num_kcontrols = 1; template 4158 sound/soc/soc-dapm.c template.kcontrol_news = template 4164 sound/soc/soc-dapm.c if (!template.kcontrol_news) { template 4173 sound/soc/soc-dapm.c w = snd_soc_dapm_new_control_unlocked(&card->dapm, &template); template 4184 sound/soc/soc-dapm.c devm_kfree(card->dev, (void *)template.kcontrol_news); template 4195 sound/soc/soc-dapm.c struct snd_soc_dapm_widget template; template 4200 sound/soc/soc-dapm.c memset(&template, 0, sizeof(template)); template 4201 sound/soc/soc-dapm.c template.reg = SND_SOC_NOPM; template 4204 sound/soc/soc-dapm.c template.id = snd_soc_dapm_dai_in; template 4205 sound/soc/soc-dapm.c template.name = dai->driver->playback.stream_name; template 4206 sound/soc/soc-dapm.c template.sname = dai->driver->playback.stream_name; template 4209 sound/soc/soc-dapm.c template.name); template 4211 sound/soc/soc-dapm.c w = snd_soc_dapm_new_control_unlocked(dapm, &template); template 4220 sound/soc/soc-dapm.c template.id = snd_soc_dapm_dai_out; template 4221 sound/soc/soc-dapm.c template.name = dai->driver->capture.stream_name; template 4222 sound/soc/soc-dapm.c template.sname = dai->driver->capture.stream_name; template 4225 sound/soc/soc-dapm.c template.name); template 4227 sound/soc/soc-dapm.c w = snd_soc_dapm_new_control_unlocked(dapm, &template); template 1587 sound/soc/soc-topology.c struct snd_soc_dapm_widget template, *widget; template 1603 sound/soc/soc-topology.c memset(&template, 0, sizeof(template)); template 1606 sound/soc/soc-topology.c template.id = get_widget_id(le32_to_cpu(w->id)); template 1607 sound/soc/soc-topology.c if ((int)template.id < 0) template 1608 sound/soc/soc-topology.c return template.id; template 1611 sound/soc/soc-topology.c template.name = kstrdup(w->name, GFP_KERNEL); template 1612 sound/soc/soc-topology.c if (!template.name) template 1614 sound/soc/soc-topology.c template.sname = kstrdup(w->sname, GFP_KERNEL); template 1615 sound/soc/soc-topology.c if (!template.sname) { template 1619 sound/soc/soc-topology.c template.reg = le32_to_cpu(w->reg); template 1620 sound/soc/soc-topology.c template.shift = le32_to_cpu(w->shift); template 1621 sound/soc/soc-topology.c template.mask = le32_to_cpu(w->mask); template 1622 sound/soc/soc-topology.c template.subseq = le32_to_cpu(w->subseq); template 1623 sound/soc/soc-topology.c template.on_val = w->invert ? 0 : 1; template 1624 sound/soc/soc-topology.c template.off_val = w->invert ? 1 : 0; template 1625 sound/soc/soc-topology.c template.ignore_suspend = le32_to_cpu(w->ignore_suspend); template 1626 sound/soc/soc-topology.c template.event_flags = le16_to_cpu(w->event_flags); template 1627 sound/soc/soc-topology.c template.dobj.index = tplg->index; template 1635 sound/soc/soc-topology.c template.num_kcontrols = 0; template 1651 sound/soc/soc-topology.c template.num_kcontrols = le32_to_cpu(w->num_kcontrols); template 1652 sound/soc/soc-topology.c template.kcontrol_news = template 1654 sound/soc/soc-topology.c template.num_kcontrols); template 1655 sound/soc/soc-topology.c if (!template.kcontrol_news) { template 1666 sound/soc/soc-topology.c template.num_kcontrols = le32_to_cpu(w->num_kcontrols); template 1667 sound/soc/soc-topology.c template.kcontrol_news = template 1669 sound/soc/soc-topology.c template.num_kcontrols); template 1670 sound/soc/soc-topology.c if (!template.kcontrol_news) { template 1677 sound/soc/soc-topology.c template.num_kcontrols = le32_to_cpu(w->num_kcontrols); template 1678 sound/soc/soc-topology.c template.kcontrol_news = template 1680 sound/soc/soc-topology.c template.num_kcontrols); template 1681 sound/soc/soc-topology.c if (!template.kcontrol_news) { template 1695 sound/soc/soc-topology.c ret = soc_tplg_widget_load(tplg, &template, w); template 1702 sound/soc/soc-topology.c widget = snd_soc_dapm_new_control(dapm, &template); template 1704 sound/soc/soc-topology.c widget = snd_soc_dapm_new_control_unlocked(dapm, &template); template 1720 sound/soc/soc-topology.c kfree(template.sname); template 1721 sound/soc/soc-topology.c kfree(template.name); template 1729 sound/soc/soc-topology.c kfree(template.sname); template 1731 sound/soc/soc-topology.c kfree(template.name); template 849 sound/usb/mixer_quirks.c struct snd_kcontrol_new template = { template 860 sound/usb/mixer_quirks.c template.name = kc[i].name; template 861 sound/usb/mixer_quirks.c template.private_value = kc[i].private_value; template 865 sound/usb/mixer_quirks.c &template, &list); template 962 sound/usb/mixer_quirks.c static struct snd_kcontrol_new template = { template 976 sound/usb/mixer_quirks.c &template, &list); template 412 tools/perf/util/hist.c struct hist_entry *template, template 416 tools/perf/util/hist.c *he = *template; template 440 tools/perf/util/hist.c memcpy(he->branch_info, template->branch_info, template 521 tools/perf/util/hist.c static struct hist_entry *hist_entry__new(struct hist_entry *template, template 524 tools/perf/util/hist.c struct hist_entry_ops *ops = template->ops; template 530 tools/perf/util/hist.c ops = template->ops = &default_ops; template 537 tools/perf/util/hist.c err = hist_entry__init(he, template, sample_self, callchain_size); template 443 tools/perf/util/llvm-utils.c const char *template = llvm_param.clang_bpf_cmd_template; template 456 tools/perf/util/llvm-utils.c if (!template) template 457 tools/perf/util/llvm-utils.c template = CLANG_BPF_CMD_DEFAULT_TEMPLATE; template 506 tools/perf/util/llvm-utils.c template, llc_path, opts) < 0) { template 511 tools/perf/util/llvm-utils.c template = pipe_template; template 523 tools/perf/util/llvm-utils.c pr_debug("llvm compiling command template: %s\n", template); template 525 tools/perf/util/llvm-utils.c if (asprintf(&command_echo, "echo -n \"%s\"", template) < 0) template 534 tools/perf/util/llvm-utils.c err = read_from_pipe(template, &obj_buf, &obj_buf_sz); template 608 tools/perf/util/pmu.c const char **template; template 613 tools/perf/util/pmu.c for (template = templates; *template; template++) { template 614 tools/perf/util/pmu.c snprintf(path, PATH_MAX, *template, sysfs, name);