Searched refs:hptr (Results 1 – 4 of 4) sorted by relevance
| /openbmc/qemu/bsd-user/ |
| H A D | qemu.h | 310 #define __put_user_e(x, hptr, e) \ argument 313 (__builtin_choose_expr(sizeof(*(hptr)) == 1, stb_p, \ 314 __builtin_choose_expr(sizeof(*(hptr)) == 2, stw_##e##_p, \ 315 __builtin_choose_expr(sizeof(*(hptr)) == 4, stl_##e##_p, \ 316 __builtin_choose_expr(sizeof(*(hptr)) == 8, stq_##e##_p, abort)))) \ 317 ((hptr), (x)), (void)0); \ 321 #define __get_user_e(x, hptr, e) \ argument 324 ((x) = (typeof(*hptr))( \ 325 __builtin_choose_expr(sizeof(*(hptr)) == 1, ldub_p, \ 326 __builtin_choose_expr(sizeof(*(hptr)) == 2, lduw_##e##_p, \ [all …]
|
| H A D | uaccess.c | 11 abi_long copy_from_user(void *hptr, abi_ulong gaddr, size_t len) in copy_from_user() argument 17 memcpy(hptr, ghptr, len); in copy_from_user() 26 abi_long copy_to_user(abi_ulong gaddr, void *hptr, size_t len) in copy_to_user() argument 32 memcpy(ghptr, hptr, len); in copy_to_user()
|
| /openbmc/qemu/linux-user/ |
| H A D | uaccess.c | 59 int copy_from_user(void *hptr, abi_ulong gaddr, ssize_t len) in copy_from_user() argument 65 memcpy(hptr, ghptr, len); in copy_from_user() 73 int copy_to_user(abi_ulong gaddr, void *hptr, ssize_t len) in copy_to_user() argument 79 memcpy(ghptr, hptr, len); in copy_to_user()
|
| /openbmc/u-boot/fs/yaffs2/ |
| H A D | yaffsfs.c | 261 static int yaffsfs_NewHandle(struct yaffsfs_Handle **hptr) in yaffsfs_NewHandle() argument 272 if (hptr) in yaffsfs_NewHandle() 273 *hptr = h; in yaffsfs_NewHandle()
|