Home
last modified time | relevance | path

Searched refs:MAX_NAME_LEN (Results 1 – 18 of 18) sorted by relevance

/linux-5.19.10/drivers/iommu/amd/
Ddebugfs.c18 #define MAX_NAME_LEN 20 macro
22 char name[MAX_NAME_LEN + 1]; in amd_iommu_debugfs_setup()
30 snprintf(name, MAX_NAME_LEN, "iommu%02d", iommu->index); in amd_iommu_debugfs_setup()
/linux-5.19.10/drivers/leds/trigger/
Dledtrig-cpu.c31 #define MAX_NAME_LEN 8 macro
35 char name[MAX_NAME_LEN];
155 snprintf(trig->name, MAX_NAME_LEN, "cpu%d", cpu); in ledtrig_cpu_init()
/linux-5.19.10/drivers/cpufreq/
Dsun50i-cpufreq-nvmem.c20 #define MAX_NAME_LEN 7 macro
90 char name[MAX_NAME_LEN]; in sun50i_cpufreq_nvmem_probe()
106 snprintf(name, MAX_NAME_LEN, "speed%d", speed); in sun50i_cpufreq_nvmem_probe()
/linux-5.19.10/drivers/clk/zynqmp/
Dclkc.c22 #define MAX_NAME_LEN 50 macro
54 char name[MAX_NAME_LEN];
71 char clk_name[MAX_NAME_LEN];
166 strncpy(clk_name, clock[clk_id].clk_name, MAX_NAME_LEN); in zynqmp_get_clock_name()
641 char clk_name[MAX_NAME_LEN]; in zynqmp_register_clocks()
715 strncpy(clock[i].clk_name, name.name, MAX_NAME_LEN); in zynqmp_get_clock_info()
/linux-5.19.10/drivers/crypto/ccp/
Dccp-debugfs.c280 #define MAX_NAME_LEN 20 macro
285 char name[MAX_NAME_LEN + 1]; in ccp5_debugfs_setup()
308 snprintf(name, MAX_NAME_LEN - 1, "q%d", cmd_q->id); in ccp5_debugfs_setup()
/linux-5.19.10/arch/loongarch/kernel/
Dcpu-probe.c179 #define MAX_NAME_LEN 32 macro
183 static char cpu_full_name[MAX_NAME_LEN] = " - ";
/linux-5.19.10/drivers/gpu/drm/amd/display/include/
Dlogger_types.h31 #define MAX_NAME_LEN 32 macro
/linux-5.19.10/drivers/usb/gadget/
Dconfigfs.c30 #define MAX_NAME_LEN 40 macro
587 char buf[MAX_NAME_LEN]; in function_make()
592 ret = snprintf(buf, MAX_NAME_LEN, "%s", name); in function_make()
593 if (ret >= MAX_NAME_LEN) in function_make()
681 char buf[MAX_NAME_LEN]; in config_desc_make()
687 ret = snprintf(buf, MAX_NAME_LEN, "%s", name); in config_desc_make()
688 if (ret >= MAX_NAME_LEN) in config_desc_make()
/linux-5.19.10/tools/perf/util/
Dparse-events.c42 #define MAX_NAME_LEN 100 macro
466 char name[MAX_NAME_LEN]; in parse_events_add_cache()
482 n = snprintf(name, MAX_NAME_LEN, "%s", type); in parse_events_add_cache()
487 n += snprintf(name + n, MAX_NAME_LEN - n, "-%s", str); in parse_events_add_cache()
3097 char name[MAX_NAME_LEN]; in print_tool_event()
3099 snprintf(name, MAX_NAME_LEN, "%s OR %s", syms->symbol, syms->alias); in print_tool_event()
3101 strlcpy(name, syms->symbol, MAX_NAME_LEN); in print_tool_event()
3121 char name[MAX_NAME_LEN]; in print_symbol_events()
3154 snprintf(name, MAX_NAME_LEN, "%s OR %s", syms->symbol, syms->alias); in print_symbol_events()
3156 strlcpy(name, syms->symbol, MAX_NAME_LEN); in print_symbol_events()
/linux-5.19.10/tools/objtool/
Delf.c24 #define MAX_NAME_LEN 128 macro
490 char pname[MAX_NAME_LEN + 1]; in read_symbols()
506 if (pnamelen > MAX_NAME_LEN) { in read_symbols()
508 sym->name, MAX_NAME_LEN); in read_symbols()
/linux-5.19.10/sound/soc/codecs/
D88pm860x-codec.c28 #define MAX_NAME_LEN 20 macro
146 unsigned char name[4][MAX_NAME_LEN+1];
1377 strncpy(pm860x->name[i], res->name, MAX_NAME_LEN); in pm860x_codec_probe()
/linux-5.19.10/drivers/net/wireless/intersil/hostap/
Dhostap_wlan.h523 #define MAX_NAME_LEN 32 /* this is assumed to be equal to MAX_SSID_LEN */ macro
687 char name[MAX_NAME_LEN + 1];
Dhostap_ioctl.c774 char name[MAX_NAME_LEN + 3]; in prism2_ioctl_giwnickn()
781 &name, MAX_NAME_LEN + 2, 0); in prism2_ioctl_giwnickn()
783 if (len > MAX_NAME_LEN + 2 || len < 0 || val > MAX_NAME_LEN) in prism2_ioctl_giwnickn()
/linux-5.19.10/fs/cifs/
Dsmbdirect.c1453 #define MAX_NAME_LEN 80 macro
1456 char name[MAX_NAME_LEN]; in allocate_caches_and_workqueue()
1459 scnprintf(name, MAX_NAME_LEN, "smbd_request_%p", info); in allocate_caches_and_workqueue()
1475 scnprintf(name, MAX_NAME_LEN, "smbd_response_%p", info); in allocate_caches_and_workqueue()
1491 scnprintf(name, MAX_NAME_LEN, "smbd_%p", info); in allocate_caches_and_workqueue()
/linux-5.19.10/drivers/usb/serial/
Dio_edgeport.c52 #define MAX_NAME_LEN 64 macro
195 char name[MAX_NAME_LEN+2]; /* string name of this device */
2724 &edge_serial->name[0], MAX_NAME_LEN+1); in edge_startup()
2729 &edge_serial->name[i], MAX_NAME_LEN+2 - i); in edge_startup()
Dmos7840.c84 #define MAX_NAME_LEN 64 macro
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_dbg_hsi.h1190 #define MAX_NAME_LEN 16 macro
/linux-5.19.10/drivers/acpi/
Dacpi_video.c34 #define MAX_NAME_LEN 20 macro