Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/kernel/
Dtls.c270 struct user_desc infobuf[GDT_ENTRY_TLS_ENTRIES]; in regset_tls_set() local
281 else if (__copy_from_user(infobuf, ubuf, count)) in regset_tls_set()
284 info = infobuf; in regset_tls_set()
/Linux-v6.1/drivers/net/wireless/
Drndis_wlan.c863 struct ndis_config_param *infobuf; in rndis_set_config_parameter() local
876 info_len = sizeof(*infobuf) + param_len + value_len; in rndis_set_config_parameter()
881 infobuf = kmalloc(info_len, GFP_KERNEL); in rndis_set_config_parameter()
882 if (!infobuf) in rndis_set_config_parameter()
888 memset(infobuf, 0xCC, info_len + 12); in rndis_set_config_parameter()
898 infobuf->name_offs = cpu_to_le32(sizeof(*infobuf)); in rndis_set_config_parameter()
899 infobuf->name_length = cpu_to_le32(param_len); in rndis_set_config_parameter()
900 infobuf->type = cpu_to_le32(value_type); in rndis_set_config_parameter()
901 infobuf->value_offs = cpu_to_le32(sizeof(*infobuf) + param_len); in rndis_set_config_parameter()
902 infobuf->value_length = cpu_to_le32(value_len); in rndis_set_config_parameter()
[all …]
/Linux-v6.1/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.1/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.1/drivers/mtd/nand/raw/
Dmeson_nand.c478 int datalen, void *infobuf, int infolen, in meson_nfc_dma_buffer_setup() argument
497 if (infobuf) { in meson_nfc_dma_buffer_setup()
498 nfc->iaddr = dma_map_single(nfc->dev, infobuf, infolen, dir); in meson_nfc_dma_buffer_setup()