Home
last modified time | relevance | path

Searched refs:_voucher_priority_t (Results 1 – 2 of 2) sorted by relevance

/trueos/lib/libdispatch/src/
HDvoucher_internal.h203 typedef uint32_t _voucher_priority_t; typedef
204 #define _voucher_recipes_priority(r) ((_voucher_priority_t*) \
209 sizeof(_voucher_priority_t)))
211 (sizeof(_voucher_magic_t) + sizeof(_voucher_priority_t) + \
HDvoucher.c122 *_voucher_priority(voucher) = (_voucher_priority_t)priority; in _voucher_alloc()
389 *_voucher_recipes_priority(recipes) = (_voucher_priority_t)priority; in _voucher_create_mach_voucher_with_priority()
454 has_priority = (content_size >= sizeof(_voucher_priority_t)); in _voucher_create_with_mach_voucher()
455 activities = has_priority ? (content_size - sizeof(_voucher_priority_t)) in _voucher_create_with_mach_voucher()
460 priority = (pthread_priority_t)*(_voucher_priority_t*)content; in _voucher_create_with_mach_voucher()
461 content += sizeof(_voucher_priority_t); in _voucher_create_with_mach_voucher()
462 content_size -= sizeof(_voucher_priority_t); in _voucher_create_with_mach_voucher()