/external/linux-kselftest/tools/testing/selftests/futex/include/ |
futextest.h | 63 * @opflags: flags to be bitwise OR'd with op, such as FUTEX_PRIVATE_FLAG 74 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ 75 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) 82 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) 84 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); 92 futex_wake(futex_t *uaddr, int nr_wake, int opflags) 94 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); 103 u_int32_t bitset, int opflags) 106 opflags); 114 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) [all...] |
/external/ltp/testcases/kernel/syscalls/futex/ |
futextest.h | 94 * @opflags: flags to be bitwise OR'd with op, such as FUTEX_PRIVATE_FLAG 105 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ 106 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) 113 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) 115 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); 123 futex_wake(futex_t *uaddr, int nr_wake, int opflags) 125 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); 134 u_int32_t bitset, int opflags) 137 opflags); 145 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) [all...] |
futex_wake01.c | 33 int opflags; member in struct:testcase 54 res = futex_wake(tc->f_addr, tc->nr_wake, tc->opflags);
|
futex_wait01.c | 39 int opflags; member in struct:testcase 59 res = futex_wait(tc->f_addr, tc->f_val, &to, tc->opflags);
|
/system/core/trusty/storage/lib/include/trusty/lib/ |
storage.h | 72 * @opflags: a combination of @storage_op_flags 77 const char *name, uint32_t flags, uint32_t opflags); 89 * @opflags: a combination of @storage_op_flags 94 uint32_t opflags); 114 * @opflags: a combination of @storage_op_flags 120 uint32_t opflags); 126 * @opflags: a combination of @storage_op_flags 131 uint32_t opflags);
|
/system/core/trusty/storage/lib/ |
storage.c | 47 static inline uint32_t _to_msg_flags(uint32_t opflags) 51 if (opflags & STORAGE_OP_COMPLETE) 144 uint32_t flags, uint32_t opflags) 146 struct storage_msg msg = { .cmd = STORAGE_FILE_OPEN, .flags = _to_msg_flags(opflags)}; 180 int storage_delete_file(storage_session_t session, const char *name, uint32_t opflags) 182 struct storage_msg msg = { .cmd = STORAGE_FILE_DELETE, .flags = _to_msg_flags(opflags)}; 239 const void *buf, size_t size, uint32_t opflags) 245 uint32_t msg_flags = _to_msg_flags(opflags & ~STORAGE_OP_COMPLETE); 251 msg_flags = _to_msg_flags(opflags); 268 int storage_set_file_size(file_handle_t fh, storage_off_t file_size, uint32_t opflags) [all...] |
/device/linaro/bootloader/edk2/OptionRomPkg/UndiRuntimeDxe/ |
Undi32.h | 77 UINT16 opflags;
member in struct:__anon11301 112 UINTN E100bReset (NIC_DATA_INSTANCE *AdapterInfo, INT32 OpFlags);
114 UINTN E100bTransmit (NIC_DATA_INSTANCE *AdapterInfo, UINT64 cpb, UINT16 opflags);
|
E100b.c | 1005 @param opflags TODO: add argument description
1014 UINT16 opflags
1065 if ((opflags & PXE_OPFLAGS_TRANSMIT_FRAGMENTED) != 0) {
1128 if ((opflags & PXE_OPFLAGS_TRANSMIT_BLOCK) != 0) {
1143 if ((opflags & PXE_OPFLAGS_TRANSMIT_FRAGMENTED) != 0) {
[all...] |
Decode.c | 339 if ((CdbPtr->OpFlags != PXE_OPFLAGS_INITIALIZE_DETECT_CABLE) &&
340 (CdbPtr->OpFlags != PXE_OPFLAGS_INITIALIZE_DO_NOT_DETECT_CABLE)) {
367 AdapterInfo->CableDetect = (UINT8) ((CdbPtr->OpFlags == (UINT16) PXE_OPFLAGS_INITIALIZE_DO_NOT_DETECT_CABLE) ? (UINT8) 0 : (UINT8) 1);
404 if (CdbPtr->OpFlags != PXE_OPFLAGS_NOT_USED &&
405 CdbPtr->OpFlags != PXE_OPFLAGS_RESET_DISABLE_INTERRUPTS &&
406 CdbPtr->OpFlags != PXE_OPFLAGS_RESET_DISABLE_FILTERS ) {
413 CdbPtr->StatCode = (UINT16) E100bReset (AdapterInfo, CdbPtr->OpFlags);
480 IntMask = (UINT8)(UINTN)(CdbPtr->OpFlags & (PXE_OPFLAGS_INTERRUPT_RECEIVE |
485 switch (CdbPtr->OpFlags & PXE_OPFLAGS_INTERRUPT_OPMASK) {
553 UINT16 OpFlags;
[all...] |