Lines Matching refs:len
20 size_t len; member
27 memory_hotplug_cb(enum rte_mem_event event_type, const void *addr, size_t len, void *arg) in memory_hotplug_cb() argument
35 printf("register %p %ju\n", addr, len); in memory_hotplug_cb()
37 allocation->len = len; in memory_hotplug_cb()
41 if (allocation->vaddr == (uintptr_t)addr && allocation->len == len) { in memory_hotplug_cb()
45 printf("unregister %p %ju %s\n", addr, len, allocation == NULL ? "FAILED" : "PASSED"); in memory_hotplug_cb()
54 const struct rte_memseg *ms, size_t len, void *arg) in memory_iter_cb() argument
61 printf("register %p %ju\n", ms->addr, len); in memory_iter_cb()
63 allocation->len = len; in memory_iter_cb()
70 verify_buffer(void *_buf, size_t len) in verify_buffer() argument
76 printf("buf %p len %ju ", _buf, len); in verify_buffer()
79 buf + len <= allocation->vaddr + allocation->len) { in verify_buffer()