/linux-6.1.9/sound/usb/ |
D | card.c | 540 strscpy(card->longname, s, sizeof(card->longname)); in usb_audio_make_longname() 548 *card->longname = 0; in usb_audio_make_longname() 550 strscpy(card->longname, s, sizeof(card->longname)); in usb_audio_make_longname() 555 card->longname, sizeof(card->longname)); in usb_audio_make_longname() 558 if (*card->longname) { in usb_audio_make_longname() 559 strim(card->longname); in usb_audio_make_longname() 560 if (*card->longname) in usb_audio_make_longname() 561 strlcat(card->longname, " ", sizeof(card->longname)); in usb_audio_make_longname() 564 strlcat(card->longname, card->shortname, sizeof(card->longname)); in usb_audio_make_longname() 566 len = strlcat(card->longname, " at ", sizeof(card->longname)); in usb_audio_make_longname() [all …]
|
/linux-6.1.9/sound/usb/hiface/ |
D | chip.c | 73 strlcat(card->longname, card->shortname, sizeof(card->longname)); in hiface_chip_create() 74 len = strlcat(card->longname, " at ", sizeof(card->longname)); in hiface_chip_create() 75 if (len < sizeof(card->longname)) in hiface_chip_create() 76 usb_make_path(device, card->longname + len, in hiface_chip_create() 77 sizeof(card->longname) - len); in hiface_chip_create()
|
/linux-6.1.9/tools/testing/selftests/exec/ |
D | execveat.c | 157 char longname[XX_DIR_LEN + 1]; in check_execveat_pathmax() local 171 memset(longname, 'x', XX_DIR_LEN - 1); in check_execveat_pathmax() 172 longname[XX_DIR_LEN - 1] = '/'; in check_execveat_pathmax() 173 longname[XX_DIR_LEN] = '\0'; in check_execveat_pathmax() 176 strcat(longpath, longname); in check_execveat_pathmax() 182 memset(longname, 'y', len); in check_execveat_pathmax() 183 longname[len] = '\0'; in check_execveat_pathmax() 184 strcat(longpath, longname); in check_execveat_pathmax()
|
/linux-6.1.9/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835.c | 54 const char *longname; member 96 .longname = "bcm2835 HDMI", 109 .longname = "bcm2835 Headphones", 165 strscpy(card->longname, audio_driver->longname, sizeof(card->longname)); in snd_add_child_device()
|
/linux-6.1.9/sound/isa/ad1848/ |
D | ad1848.c | 99 snprintf(card->longname, sizeof(card->longname), in snd_ad1848_probe() 103 snprintf(card->longname, sizeof(card->longname), in snd_ad1848_probe()
|
/linux-6.1.9/sound/ppc/ |
D | powermac.c | 60 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe() 69 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe() 80 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe() 100 sprintf(card->longname, "%s%s Rev %d", in snd_pmac_probe()
|
/linux-6.1.9/sound/isa/cs423x/ |
D | cs4231.c | 101 snprintf(card->longname, sizeof(card->longname), in snd_cs4231_probe() 105 snprintf(card->longname, sizeof(card->longname), in snd_cs4231_probe()
|
/linux-6.1.9/fs/ksmbd/ |
D | smb_common.c | 366 int ksmbd_extract_shortname(struct ksmbd_conn *conn, const char *longname, in ksmbd_extract_shortname() argument 378 p = longname; in ksmbd_extract_shortname() 384 p = strrchr(longname, '.'); in ksmbd_extract_shortname() 385 if (p == longname) { /*name starts with a dot*/ in ksmbd_extract_shortname() 401 p = longname; in ksmbd_extract_shortname() 404 longname++; in ksmbd_extract_shortname() 415 ptr = longname; in ksmbd_extract_shortname() 416 len = strlen(longname); in ksmbd_extract_shortname()
|
/linux-6.1.9/drivers/usb/gadget/legacy/ |
D | gmidi.c | 36 static const char longname[] = "MIDI Gadget"; variable 169 pr_info("%s\n", longname); in midi_bind() 177 .name = longname,
|
/linux-6.1.9/sound/drivers/mpu401/ |
D | mpu401.c | 68 sprintf(card->longname, "%s at %#lx, ", card->shortname, port[dev]); in snd_mpu401_create() 70 sprintf(card->longname + strlen(card->longname), "irq %d", irq[dev]); in snd_mpu401_create() 72 strcat(card->longname, "polled"); in snd_mpu401_create()
|
/linux-6.1.9/sound/isa/gus/ |
D | gusclassic.c | 180 sprintf(card->longname + strlen(card->longname), in snd_gusclassic_probe() 185 sprintf(card->longname + strlen(card->longname), in snd_gusclassic_probe()
|
D | gus_main.c | 362 strcpy(card->longname, "Gravis UltraSound Classic (2.4)"); in snd_gus_check_version() 368 card->longname[27] = '3'; in snd_gus_check_version() 369 card->longname[29] = rev == 5 ? '5' : '7'; in snd_gus_check_version() 374 strcpy(card->longname, "Gravis UltraSound MAX"); in snd_gus_check_version() 378 strcpy(card->longname, "Gravis UltraSound Ace"); in snd_gus_check_version() 382 strcpy(card->longname, "Gravis UltraSound Extreme"); in snd_gus_check_version() 390 strscpy(card->shortname, card->longname, sizeof(card->shortname)); in snd_gus_check_version()
|
D | gusmax.c | 318 …sprintf(card->longname + strlen(card->longname), " at 0x%lx, irq %i, dma %i", gus->gf1.port, xirq,… in snd_gusmax_probe() 320 sprintf(card->longname + strlen(card->longname), "&%i", xdma2); in snd_gusmax_probe()
|
/linux-6.1.9/sound/isa/wavefront/ |
D | wavefront.c | 494 sprintf(card->longname, "%s PCM 0x%lx irq %d dma %d", in snd_wavefront_probe() 501 sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]); in snd_wavefront_probe() 504 sprintf (card->longname + strlen (card->longname), in snd_wavefront_probe() 510 sprintf (card->longname + strlen (card->longname), in snd_wavefront_probe()
|
/linux-6.1.9/sound/aoa/core/ |
D | alsa.c | 33 strscpy(alsa_card->longname, name, sizeof(alsa_card->longname)); in aoa_alsa_init()
|
/linux-6.1.9/sound/isa/ |
D | als100.c | 199 snprintf(card->longname, sizeof(card->longname), in snd_card_als100_probe() 205 snprintf(card->longname, sizeof(card->longname), in snd_card_als100_probe()
|
/linux-6.1.9/sound/virtio/ |
D | virtio_card.c | 217 snprintf(snd->card->longname, sizeof(snd->card->longname), in virtsnd_build_devs() 222 snprintf(snd->card->longname, sizeof(snd->card->longname), in virtsnd_build_devs()
|
/linux-6.1.9/drivers/media/pci/cobalt/ |
D | cobalt-alsa-main.c | 75 snprintf(sc->longname, sizeof(sc->longname), in snd_cobalt_card_set_names()
|
/linux-6.1.9/sound/pci/ctxfi/ |
D | xfi.c | 103 snprintf(card->longname, sizeof(card->longname), "%s %s %s", in ct_card_probe()
|
/linux-6.1.9/sound/isa/sb/ |
D | sb16.c | 352 sprintf(card->longname, "%s at 0x%lx, irq %i, dma ", in snd_sb16_probe() 357 sprintf(card->longname + strlen(card->longname), "%d", xdma8); in snd_sb16_probe() 359 sprintf(card->longname + strlen(card->longname), "%s%d", in snd_sb16_probe()
|
/linux-6.1.9/fs/fat/ |
D | dir.c | 516 void *longname = unicode + FAT_MAX_UNI_CHARS; in fat_search_long() local 520 len = fat_uni_to_x8(sb, unicode, longname, size); in fat_search_long() 521 if (fat_name_match(sbi, name, name_len, longname, len)) in fat_search_long() 547 const char *longname; member 625 void *longname = unicode + FAT_MAX_UNI_CHARS; in __fat_readdir() local 627 int len = fat_uni_to_x8(sb, unicode, longname, size); in __fat_readdir() 629 fill_name = longname; in __fat_readdir() 640 both->longname = fill_name; in __fat_readdir() 733 const char *longname = buf->longname; \ 743 if (copy_to_user(d2->d_name, longname, long_len) || \
|
/linux-6.1.9/sound/firewire/digi00x/ |
D | digi00x.c | 36 snprintf(dg00x->card->longname, sizeof(dg00x->card->longname), in name_card()
|
/linux-6.1.9/drivers/media/pci/cx18/ |
D | cx18-alsa-main.c | 106 snprintf(sc->longname, sizeof(sc->longname), in snd_cx18_card_set_names()
|
/linux-6.1.9/sound/firewire/tascam/ |
D | tascam.c | 79 snprintf(tscm->card->longname, sizeof(tscm->card->longname), in identify_model()
|
/linux-6.1.9/sound/ |
D | last.c | 19 printk(KERN_INFO " #%i: %s\n", idx, card->longname); in alsa_sound_last_init()
|