/linux-6.1.9/drivers/hid/ |
D | hid-steelseries.c | 230 size_t name_sz; in steelseries_srws1_probe() local 266 name_sz = strlen(hdev->uniq) + 16; in steelseries_srws1_probe() 269 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in steelseries_srws1_probe() 276 snprintf(name, name_sz, "SRWS1::%s::RPMALL", hdev->uniq); in steelseries_srws1_probe() 290 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in steelseries_srws1_probe() 297 snprintf(name, name_sz, "SRWS1::%s::RPM%d", hdev->uniq, i+1); in steelseries_srws1_probe()
|
D | hid-picolcd_leds.c | 100 size_t name_sz = strlen(dev_name(dev)) + 8; in picolcd_init_leds() local 113 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in picolcd_init_leds() 120 snprintf(name, name_sz, "%s::GPO%d", dev_name(dev), i); in picolcd_init_leds()
|
D | hid-corsair.c | 427 size_t name_sz; in k90_init_backlight() local 436 name_sz = in k90_init_backlight() 438 name = kzalloc(name_sz, GFP_KERNEL); in k90_init_backlight() 443 snprintf(name, name_sz, "%s" K90_BACKLIGHT_LED_SUFFIX, in k90_init_backlight() 471 size_t name_sz; in k90_init_macro_functions() local 482 name_sz = strlen(dev_name(&dev->dev)) + sizeof(K90_RECORD_LED_SUFFIX); in k90_init_macro_functions() 483 name = kzalloc(name_sz, GFP_KERNEL); in k90_init_macro_functions() 488 snprintf(name, name_sz, "%s" K90_RECORD_LED_SUFFIX, in k90_init_macro_functions()
|
D | hid-gt683r.c | 228 int name_sz; in gt683r_led_probe() local 256 name_sz = strlen(dev_name(&hdev->dev)) + in gt683r_led_probe() 259 name = devm_kzalloc(&hdev->dev, name_sz, GFP_KERNEL); in gt683r_led_probe() 265 snprintf(name, name_sz, "%s::%s", in gt683r_led_probe()
|
D | hid-bigbenff.c | 324 size_t name_sz; in bigben_probe() local 371 name_sz = strlen(dev_name(&hid->dev)) + strlen(":red:bigben#") + 1; in bigben_probe() 376 sizeof(struct led_classdev) + name_sz, in bigben_probe() 384 snprintf(name, name_sz, in bigben_probe()
|
D | hid-sony.c | 1494 size_t name_sz; in sony_register_touchpad() local 1514 name_sz = strlen(sc->hdev->name) + sizeof(DS4_TOUCHPAD_SUFFIX); in sony_register_touchpad() 1515 name = devm_kzalloc(&sc->hdev->dev, name_sz, GFP_KERNEL); in sony_register_touchpad() 1518 snprintf(name, name_sz, "%s" DS4_TOUCHPAD_SUFFIX, sc->hdev->name); in sony_register_touchpad() 1557 size_t name_sz; in sony_register_sensors() local 1578 name_sz = strlen(sc->hdev->name) + sizeof(SENSOR_SUFFIX); in sony_register_sensors() 1579 name = devm_kzalloc(&sc->hdev->dev, name_sz, GFP_KERNEL); in sony_register_sensors() 1582 snprintf(name, name_sz, "%s" SENSOR_SUFFIX, sc->hdev->name); in sony_register_sensors() 2115 size_t name_sz; in sony_leds_init() local 2174 name_sz = strlen(dev_name(&hdev->dev)) + name_len + 1; in sony_leds_init() [all …]
|
D | hid-lenovo.c | 1016 size_t name_sz = strlen(dev_name(&hdev->dev)) + 16; in lenovo_register_leds() local 1020 name_mute = devm_kzalloc(&hdev->dev, name_sz, GFP_KERNEL); in lenovo_register_leds() 1021 name_micm = devm_kzalloc(&hdev->dev, name_sz, GFP_KERNEL); in lenovo_register_leds() 1026 snprintf(name_mute, name_sz, "%s:amber:mute", dev_name(&hdev->dev)); in lenovo_register_leds() 1027 snprintf(name_micm, name_sz, "%s:amber:micmute", dev_name(&hdev->dev)); in lenovo_register_leds()
|
D | hid-lg4ff.c | 1402 size_t name_sz; in lg4ff_init() local 1407 name_sz = strlen(dev_name(&hid->dev)) + 8; in lg4ff_init() 1410 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in lg4ff_init() 1417 snprintf(name, name_sz, "%s::RPM%d", dev_name(&hid->dev), j+1); in lg4ff_init()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | mdesc.c | 40 u32 name_sz; /* name block size */ member 626 return ((void *) name_block(mdesc)) + mdesc->name_sz; in data_block()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 554 const char *format, char *name, size_t name_sz, in nfp_net_aux_irq_request() argument 562 snprintf(name, name_sz, format, nfp_net_name(nn)); in nfp_net_aux_irq_request()
|
/linux-6.1.9/kernel/bpf/ |
D | syscall.c | 5182 BPF_CALL_4(bpf_kallsyms_lookup_name, const char *, name, int, name_sz, int, flags, u64 *, res) in BPF_CALL_4() argument 5187 if (name_sz <= 1 || name[name_sz - 1]) in BPF_CALL_4()
|
D | btf.c | 7268 BPF_CALL_4(bpf_btf_find_by_name_kind, char *, name, int, name_sz, u32, kind, int, flags) in BPF_CALL_4() argument 7277 if (name_sz <= 1 || name[name_sz - 1]) in BPF_CALL_4()
|