Searched refs:rsrc_id (Results 1 – 2 of 2) sorted by relevance
288 *rsrc_id = TSRM_SHUFFLE_RSRC_ID(id_count++); in ts_allocate_id()297 *rsrc_id = 0; in ts_allocate_id()304 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].size = size; in ts_allocate_id()305 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].ctor = ctor; in ts_allocate_id()308 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].done = 0; in ts_allocate_id()314 return *rsrc_id; in ts_allocate_id()334 *rsrc_id = TSRM_SHUFFLE_RSRC_ID(id_count++); in ts_allocate_fast_id()340 *rsrc_id = 0; in ts_allocate_fast_id()355 *rsrc_id = 0; in ts_allocate_fast_id()366 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].done = 0; in ts_allocate_fast_id()[all …]
90 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo…94 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca…158 #define TSRM_SHUFFLE_RSRC_ID(rsrc_id) ((rsrc_id)+1) argument159 #define TSRM_UNSHUFFLE_RSRC_ID(rsrc_id) ((rsrc_id)-1) argument
Completed in 8 milliseconds