Searched refs:PTR_SUB (Results 1 – 3 of 3) sorted by relevance
290 #define PTR_SUB(_a, _b) ((u8_t *) (_a) - (u8_t *) (_b)) macro
126 ((u32_t) PTR_SUB(mem_virt, 0) & LM_PAGE_MASK) != in lm_bd_chain_set_next_ptrs()
464 #define OFFSETOF(_s, _m) ((u32_t) PTR_SUB(&((_s *) 0)->_m, (u8_t *) 0))