Lines Matching defs:ptr
45 static inline bool needs_unaligned_copy(const void *ptr)
50 return ((uintptr_t)ptr & 3) != 0;
54 static bool sg_dwiter_get_next_block(struct sg_mapping_iter *miter, uint32_t **ptr)
65 *ptr = miter->addr + miter->consumed;
92 uint32_t *ptr = NULL;
94 if (likely(sg_dwiter_get_next_block(miter, &ptr)))
95 return ptr ? *ptr : 0;
133 uint32_t *ptr = NULL;
135 if (likely(sg_dwiter_get_next_block(miter, &ptr))) {
136 if (ptr)
137 *ptr = data;