Home
last modified time | relevance | path

Searched refs:kbuffer (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/char/ipmi/
H A Dkcs_bmc_cdev_ipmi.c89 u8 *kbuffer; member
338 memcpy(priv->kbuffer, priv->data_in, data_len); in kcs_bmc_ipmi_read()
359 if (copy_to_user(buf, priv->kbuffer, data_len)) { in kcs_bmc_ipmi_read()
394 if (copy_from_user(priv->kbuffer, buf, count)) { in kcs_bmc_ipmi_write()
404 memcpy(priv->data_out, priv->kbuffer, count); in kcs_bmc_ipmi_write()
490 priv->kbuffer = devm_kmalloc(kcs_bmc->dev, KCS_MSG_BUFSIZ, GFP_KERNEL); in kcs_bmc_ipmi_add_device()
495 if (!priv->data_in || !priv->data_out || !priv->kbuffer || !priv->miscdev.name) in kcs_bmc_ipmi_add_device()
534 devm_kfree(kcs_bmc->dev, priv->kbuffer); in kcs_bmc_ipmi_remove_device()
/linux/drivers/hv/
H A Dchannel.c94 static inline u64 hv_gpadl_hvpfn(enum hv_gpadl_type type, void *kbuffer, in hv_gpadl_hvpfn() argument
116 return virt_to_hvpfn(kbuffer + delta + (HV_HYP_PAGE_SIZE * i)); in hv_gpadl_hvpfn()
311 static int create_gpadl_header(enum hv_gpadl_type type, void *kbuffer, in create_gpadl_header() argument
351 type, kbuffer, size, send_offset, i); in create_gpadl_header()
401 kbuffer, size, send_offset, pfnsum + i); in create_gpadl_header()
424 enum hv_gpadl_type type, void *kbuffer, in __vmbus_establish_gpadl() argument
440 ret = create_gpadl_header(type, kbuffer, size, send_offset, &msginfo); in __vmbus_establish_gpadl()
453 ret = set_memory_decrypted((unsigned long)kbuffer, in __vmbus_establish_gpadl()
526 gpadl->buffer = kbuffer; in __vmbus_establish_gpadl()
547 if (!set_memory_encrypted((unsigned long)kbuffer, PFN_UP(size))) in __vmbus_establish_gpadl()
[all …]
/linux/arch/x86/hyperv/
H A Divm.c526 static int hv_vtom_clear_present(unsigned long kbuffer, int pagecount, bool enc) in hv_vtom_clear_present() argument
528 return set_memory_np(kbuffer, pagecount); in hv_vtom_clear_present()
539 static int hv_vtom_set_host_visibility(unsigned long kbuffer, int pagecount, bool enc) in hv_vtom_set_host_visibility() argument
562 vaddr = (void *)kbuffer + (i * HV_HYP_PAGE_SIZE); in hv_vtom_set_host_visibility()
586 err = set_memory_p(kbuffer, pagecount); in hv_vtom_set_host_visibility()
/linux/include/linux/
H A Dhyperv.h1244 void *kbuffer,