Lines Matching defs:buffer
19 static void *buffer;
220 static int _test_ioctl_ioas_map(int fd, unsigned int ioas_id, void *buffer,
227 .user_va = (uintptr_t)buffer,
239 #define test_ioctl_ioas_map(buffer, length, iova_p) \
240 ASSERT_EQ(0, _test_ioctl_ioas_map(self->fd, self->ioas_id, buffer, \
245 #define test_err_ioctl_ioas_map(_errno, buffer, length, iova_p) \
247 _test_ioctl_ioas_map(self->fd, self->ioas_id, buffer, \
252 #define test_ioctl_ioas_map_id(ioas_id, buffer, length, iova_p) \
253 ASSERT_EQ(0, _test_ioctl_ioas_map(self->fd, ioas_id, buffer, length, \
258 #define test_ioctl_ioas_map_fixed(buffer, length, iova) \
262 self->fd, self->ioas_id, buffer, length, \
269 #define test_err_ioctl_ioas_map_fixed(_errno, buffer, length, iova) \
274 self->fd, self->ioas_id, buffer, length, \
333 .uptr = (uintptr_t)buffer },
382 * Trailing bytes should be 0 if user buffer is larger than