Home
last modified time | relevance | path

Searched refs:page_store (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
H A Dvmci_queue_pair.h136 VMCI_QP_PAGESTORE_IS_WELLFORMED(struct vmci_qp_page_store *page_store) in VMCI_QP_PAGESTORE_IS_WELLFORMED() argument
138 return page_store->len >= 2; in VMCI_QP_PAGESTORE_IS_WELLFORMED()
145 struct vmci_qp_page_store *page_store,
H A Dvmci_queue_pair.c694 static int qp_host_register_user_memory(struct vmci_qp_page_store *page_store, in qp_host_register_user_memory() argument
706 produce_uva = page_store->pages; in qp_host_register_user_memory()
707 consume_uva = page_store->pages + in qp_host_register_user_memory()
1267 * with the queue pair as specified by the page_store. For compatibility with
1270 * vmci_qp_broker_set_page_store. In that case, a page_store of NULL should be
1273 * If the creator is the host, a page_store of NULL should be used as well,
1286 struct vmci_qp_page_store *page_store, in qp_broker_create()
1384 } else if (page_store) { in qp_broker_create()
1389 result = qp_host_register_user_memory(page_store, in qp_broker_create()
1398 * A create without a page_store ma in qp_broker_create()
1280 qp_broker_create(struct vmci_handle handle, u32 peer, u32 flags, u32 priv_flags, u64 produce_size, u64 consume_size, struct vmci_qp_page_store *page_store, struct vmci_ctx *context, vmci_event_release_cb wakeup_cb, void *client_data, struct qp_broker_entry **ent) qp_broker_create() argument
1509 qp_broker_attach(struct qp_broker_entry *entry, u32 peer, u32 flags, u32 priv_flags, u64 produce_size, u64 consume_size, struct vmci_qp_page_store *page_store, struct vmci_ctx *context, vmci_event_release_cb wakeup_cb, void *client_data, struct qp_broker_entry **ent) qp_broker_attach() argument
1694 qp_broker_alloc(struct vmci_handle handle, u32 peer, u32 flags, u32 priv_flags, u64 produce_size, u64 consume_size, struct vmci_qp_page_store *page_store, struct vmci_ctx *context, vmci_event_release_cb wakeup_cb, void *client_data, struct qp_broker_entry **ent, bool *swap) qp_broker_alloc() argument
1928 vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer, u32 flags, u32 priv_flags, u64 produce_size, u64 consume_size, struct vmci_qp_page_store *page_store, struct vmci_ctx *context) vmci_qp_broker_alloc() argument
2245 struct vmci_qp_page_store page_store; vmci_qp_broker_map() local
[all...]
H A Dvmci_host.c483 struct vmci_qp_page_store page_store; in vmci_host_do_alloc_queuepair() local
491 page_store.pages = alloc_info.ppn_va; in vmci_host_do_alloc_queuepair()
492 page_store.len = alloc_info.num_ppns; in vmci_host_do_alloc_queuepair()
500 &page_store, in vmci_host_do_alloc_queuepair()
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/
H A Dvmci_queue_pair.h136 VMCI_QP_PAGESTORE_IS_WELLFORMED(struct vmci_qp_page_store *page_store) in VMCI_QP_PAGESTORE_IS_WELLFORMED() argument
138 return page_store->len >= 2; in VMCI_QP_PAGESTORE_IS_WELLFORMED()
145 struct vmci_qp_page_store *page_store,
H A Dvmci_queue_pair.c696 static int qp_host_register_user_memory(struct vmci_qp_page_store *page_store, in qp_host_register_user_memory() argument
708 produce_uva = page_store->pages; in qp_host_register_user_memory()
709 consume_uva = page_store->pages + in qp_host_register_user_memory()
1269 * with the queue pair as specified by the page_store. For compatibility with
1272 * vmci_qp_broker_set_page_store. In that case, a page_store of NULL should be
1275 * If the creator is the host, a page_store of NULL should be used as well,
1288 struct vmci_qp_page_store *page_store, in qp_broker_create()
1386 } else if (page_store) { in qp_broker_create()
1391 result = qp_host_register_user_memory(page_store, in qp_broker_create()
1400 * A create without a page_store ma in qp_broker_create()
1282 qp_broker_create(struct vmci_handle handle, u32 peer, u32 flags, u32 priv_flags, u64 produce_size, u64 consume_size, struct vmci_qp_page_store *page_store, struct vmci_ctx *context, vmci_event_release_cb wakeup_cb, void *client_data, struct qp_broker_entry **ent) qp_broker_create() argument
1511 qp_broker_attach(struct qp_broker_entry *entry, u32 peer, u32 flags, u32 priv_flags, u64 produce_size, u64 consume_size, struct vmci_qp_page_store *page_store, struct vmci_ctx *context, vmci_event_release_cb wakeup_cb, void *client_data, struct qp_broker_entry **ent) qp_broker_attach() argument
1696 qp_broker_alloc(struct vmci_handle handle, u32 peer, u32 flags, u32 priv_flags, u64 produce_size, u64 consume_size, struct vmci_qp_page_store *page_store, struct vmci_ctx *context, vmci_event_release_cb wakeup_cb, void *client_data, struct qp_broker_entry **ent, bool *swap) qp_broker_alloc() argument
1930 vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer, u32 flags, u32 priv_flags, u64 produce_size, u64 consume_size, struct vmci_qp_page_store *page_store, struct vmci_ctx *context) vmci_qp_broker_alloc() argument
2250 struct vmci_qp_page_store page_store; vmci_qp_broker_map() local
[all...]
H A Dvmci_host.c485 struct vmci_qp_page_store page_store; in vmci_host_do_alloc_queuepair() local
493 page_store.pages = alloc_info.ppn_va; in vmci_host_do_alloc_queuepair()
494 page_store.len = alloc_info.num_ppns; in vmci_host_do_alloc_queuepair()
502 &page_store, in vmci_host_do_alloc_queuepair()
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Delan_i2c_i2c.c631 u8 *page_store; in elan_i2c_write_fw_block() local
636 page_store = kmalloc(fw_page_size + 4, GFP_KERNEL); in elan_i2c_write_fw_block()
637 if (!page_store) in elan_i2c_write_fw_block()
640 page_store[0] = ETP_I2C_IAP_REG_L; in elan_i2c_write_fw_block()
641 page_store[1] = ETP_I2C_IAP_REG_H; in elan_i2c_write_fw_block()
642 memcpy(&page_store[2], page, fw_page_size); in elan_i2c_write_fw_block()
644 put_unaligned_le16(checksum, &page_store[fw_page_size + 2]); in elan_i2c_write_fw_block()
646 ret = i2c_master_send(client, page_store, fw_page_size + 4); in elan_i2c_write_fw_block()
671 kfree(page_store); in elan_i2c_write_fw_block()
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Delan_i2c_i2c.c631 u8 *page_store; in elan_i2c_write_fw_block() local
636 page_store = kmalloc(fw_page_size + 4, GFP_KERNEL); in elan_i2c_write_fw_block()
637 if (!page_store) in elan_i2c_write_fw_block()
640 page_store[0] = ETP_I2C_IAP_REG_L; in elan_i2c_write_fw_block()
641 page_store[1] = ETP_I2C_IAP_REG_H; in elan_i2c_write_fw_block()
642 memcpy(&page_store[2], page, fw_page_size); in elan_i2c_write_fw_block()
644 put_unaligned_le16(checksum, &page_store[fw_page_size + 2]); in elan_i2c_write_fw_block()
646 ret = i2c_master_send(client, page_store, fw_page_size + 4); in elan_i2c_write_fw_block()
671 kfree(page_store); in elan_i2c_write_fw_block()

Completed in 11 milliseconds