Home
last modified time | relevance | path

Searched refs:infobuf (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/arch/x86/kernel/
Dtls.c271 struct user_desc infobuf[GDT_ENTRY_TLS_ENTRIES]; in regset_tls_set() local
282 else if (__copy_from_user(infobuf, ubuf, count)) in regset_tls_set()
285 info = infobuf; in regset_tls_set()
/Linux-v6.6/drivers/net/wireless/legacy/
Drndis_wlan.c856 struct ndis_config_param *infobuf; in rndis_set_config_parameter() local
869 info_len = sizeof(*infobuf) + param_len + value_len; in rndis_set_config_parameter()
874 infobuf = kmalloc(info_len, GFP_KERNEL); in rndis_set_config_parameter()
875 if (!infobuf) in rndis_set_config_parameter()
881 memset(infobuf, 0xCC, info_len + 12); in rndis_set_config_parameter()
891 infobuf->name_offs = cpu_to_le32(sizeof(*infobuf)); in rndis_set_config_parameter()
892 infobuf->name_length = cpu_to_le32(param_len); in rndis_set_config_parameter()
893 infobuf->type = cpu_to_le32(value_type); in rndis_set_config_parameter()
894 infobuf->value_offs = cpu_to_le32(sizeof(*infobuf) + param_len); in rndis_set_config_parameter()
895 infobuf->value_length = cpu_to_le32(value_len); in rndis_set_config_parameter()
[all …]
/Linux-v6.6/drivers/sbus/char/
Denvctrl.c656 char __user *infobuf; in envctrl_ioctl() local
675 infobuf = (char __user *) arg; in envctrl_ioctl()
676 if (infobuf == NULL) { in envctrl_ioctl()
679 get_user(read_cpu, infobuf); in envctrl_ioctl()
/Linux-v6.6/security/keys/
Dkeyctl.c650 char *infobuf; in keyctl_describe_key() local
680 infobuf = kasprintf(GFP_KERNEL, in keyctl_describe_key()
686 if (!infobuf) in keyctl_describe_key()
688 infolen = strlen(infobuf); in keyctl_describe_key()
693 if (copy_to_user(buffer, infobuf, infolen) != 0 || in keyctl_describe_key()
699 kfree(infobuf); in keyctl_describe_key()
/Linux-v6.6/drivers/mtd/nand/raw/
Dmeson_nand.c562 int datalen, void *infobuf, int infolen, in meson_nfc_dma_buffer_setup() argument
581 if (infobuf) { in meson_nfc_dma_buffer_setup()
582 nfc->iaddr = dma_map_single(nfc->dev, infobuf, infolen, dir); in meson_nfc_dma_buffer_setup()