Searched refs:priv_size (Results 1 – 8 of 8) sorted by relevance
502 size_t priv_size = usbi_backend->device_priv_size; in usbi_alloc_device() local503 struct libusb_device *dev = malloc(sizeof(*dev) + priv_size); in usbi_alloc_device()516 memset(&dev->os_priv, 0, priv_size); in usbi_alloc_device()861 size_t priv_size = usbi_backend->device_handle_priv_size; in libusb_open() local866 _handle = malloc(sizeof(*_handle) + priv_size); in libusb_open()876 memset(&_handle->os_priv, 0, priv_size); in libusb_open()
95 unsigned short priv_size; member140 return ((void *)sym) - symbol_conf.priv_size; in symbol__priv()
219 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new()224 if (symbol_conf.priv_size) in symbol__new()225 sym = ((void *)sym) + symbol_conf.priv_size; in symbol__new()241 free(((void *)sym) - symbol_conf.priv_size); in symbol__delete()1447 symbol_conf.priv_size = PERF_ALIGN(symbol_conf.priv_size, sizeof(u64)); in symbol__init()1452 symbol_conf.priv_size += (sizeof(struct symbol_name_rb_node) - in symbol__init()
509 size_t priv_size = usbi_backend->device_priv_size; in usbi_alloc_device() local510 struct libusb_device *dev = calloc(1, sizeof(*dev) + priv_size); in usbi_alloc_device()1083 size_t priv_size = usbi_backend->device_handle_priv_size; in libusb_open() local1091 _handle = malloc(sizeof(*_handle) + priv_size); in libusb_open()1104 memset(&_handle->os_priv, 0, priv_size); in libusb_open()
230 symbol_conf.priv_size = sizeof(int); in cmd_test()
340 symbol_conf.priv_size = sizeof(struct annotation); in cmd_annotate()
926 symbol_conf.priv_size = sizeof(struct annotation); in cmd_report()941 symbol_conf.priv_size += sizeof(u32); in cmd_report()
1228 symbol_conf.priv_size = sizeof(struct annotation); in cmd_top()