Searched refs:ws_mem (Results 1 – 1 of 1) sorted by relevance
23 struct irdma_virt_mem ws_mem; in irdma_alloc_node() local27 ws_mem.size = sizeof(struct irdma_ws_node); in irdma_alloc_node()28 ws_mem.va = kzalloc(ws_mem.size, GFP_KERNEL); in irdma_alloc_node()29 if (!ws_mem.va) in irdma_alloc_node()35 kfree(ws_mem.va); in irdma_alloc_node()40 node = ws_mem.va; in irdma_alloc_node()73 struct irdma_virt_mem ws_mem; in irdma_free_node() local78 ws_mem.va = node; in irdma_free_node()79 ws_mem.size = sizeof(struct irdma_ws_node); in irdma_free_node()80 kfree(ws_mem.va); in irdma_free_node()