| /OK3568_Linux_fs/kernel/include/linux/sched/ |
| H A D | xacct.h | 12 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() argument 14 tsk->ioac.rchar += amt; in add_rchar() 17 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() argument 19 tsk->ioac.wchar += amt; in add_wchar() 37 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() argument 41 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() argument
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/iostreams/detail/adapter/ |
| H A D | non_blocking_adapter.hpp | 31 std::streamsize amt = iostreams::read(device_, s, n); in read() local 32 if (amt == -1) in read() 34 result += amt; in read() 42 std::streamsize amt = in write() local 45 if (amt == -1) in write() 47 result += amt; in write()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | omap-crypto.c | 161 int amt; in omap_crypto_copy_data() local 178 amt = min(src->length - srco, dst->length - dsto); in omap_crypto_copy_data() 179 amt = min(len, amt); in omap_crypto_copy_data() 184 memcpy(dstb, srcb, amt); in omap_crypto_copy_data() 192 srco += amt; in omap_crypto_copy_data() 193 dsto += amt; in omap_crypto_copy_data() 194 len -= amt; in omap_crypto_copy_data()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/ |
| H A D | fdlibm.h | 384 #define SAFE_LEFT_SHIFT(op,amt) \ argument 385 (((amt) < 8 * sizeof(op)) ? ((op) << (amt)) : 0) 387 #define SAFE_RIGHT_SHIFT(op,amt) \ argument 388 (((amt) < 8 * sizeof(op)) ? ((op) >> (amt)) : 0)
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/ |
| H A D | fdlibm.h | 384 #define SAFE_LEFT_SHIFT(op,amt) \ argument 385 (((amt) < 8 * sizeof(op)) ? ((op) << (amt)) : 0) 387 #define SAFE_RIGHT_SHIFT(op,amt) \ argument 388 (((amt) < 8 * sizeof(op)) ? ((op) >> (amt)) : 0)
|
| /OK3568_Linux_fs/kernel/kernel/sched/ |
| H A D | stats.h | 36 #define __schedstat_add(var, amt) do { var += (amt); } while (0) argument 37 #define schedstat_add(var, amt) do { if (schedstat_enabled()) { var += (amt); } } while (0) argument 50 # define __schedstat_add(var, amt) do { } while (0) argument 51 # define schedstat_add(var, amt) do { } while (0) argument
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/iostreams/ |
| H A D | read.hpp | 145 std::streamsize amt; in read() local 146 return (amt = t.sgetn(s, n)) != 0 ? in read() 147 amt : in read() 171 std::streamsize amt; in get() local 172 return (amt = t.read(&c, 1)) == 1 ? in get() 174 amt == -1 ? in get()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/iostreams/detail/ |
| H A D | buffer.hpp | 124 std::streamsize amt = static_cast<std::streamsize>(eptr_ - ptr_); in flush() local 125 std::streamsize result = iostreams::write_if(dest, ptr_, amt); in flush() 126 if (result < amt) { in flush() 129 static_cast<size_t>(amt - result) ); in flush() 131 this->set(0, amt - result); in flush()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/binutils/binutils/ |
| H A D | 0019-CVE-2022-4285.patch | 28 - elf_tdata (abfd)->verref = (Elf_Internal_Verneed *) bfd_alloc (abfd, amt); 29 + if (amt == 0) 31 + elf_tdata (abfd)->verref = (Elf_Internal_Verneed *) bfd_zalloc (abfd, amt);
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/riva/ |
| H A D | nv_driver.c | 161 u32 amt; in riva_get_memlen() local 231 pci_read_config_dword(dev, 0x7C, &amt); in riva_get_memlen() 233 memlen = (((amt >> 6) & 31) + 1) * 1024; in riva_get_memlen() 236 pci_read_config_dword(dev, 0x84, &amt); in riva_get_memlen() 238 memlen = (((amt >> 4) & 127) + 1) * 1024; in riva_get_memlen()
|
| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A D | diag.c | 158 int amt; in inet_sctp_diag_fill() local 161 amt = asoc->sndbuf_used; in inet_sctp_diag_fill() 163 amt = sk_wmem_alloc_get(sk); in inet_sctp_diag_fill() 164 mem[SK_MEMINFO_WMEM_ALLOC] = amt; in inet_sctp_diag_fill() 166 amt = atomic_read(&asoc->rmem_alloc); in inet_sctp_diag_fill() 168 amt = sk_rmem_alloc_get(sk); in inet_sctp_diag_fill() 169 mem[SK_MEMINFO_RMEM_ALLOC] = amt; in inet_sctp_diag_fill()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/nvidia/ |
| H A D | nv_setup.c | 246 u32 amt; in nv10GetConfig() local 248 pci_read_config_dword(dev, 0x7c, &amt); in nv10GetConfig() 249 par->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; in nv10GetConfig() 251 u32 amt; in nv10GetConfig() local 253 pci_read_config_dword(dev, 0x84, &amt); in nv10GetConfig() 254 par->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; in nv10GetConfig()
|
| /OK3568_Linux_fs/u-boot/drivers/bios_emulator/x86emu/ |
| H A D | ops.c | 3077 u8 amt; in x86emuOp_opcC0_byte_RM_MEM() local 3126 amt = fetch_byte_imm(); in x86emuOp_opcC0_byte_RM_MEM() 3127 DECODE_PRINTF2(",%x\n", amt); in x86emuOp_opcC0_byte_RM_MEM() 3130 destval = (*opcD0_byte_operation[rh]) (destval, amt); in x86emuOp_opcC0_byte_RM_MEM() 3134 amt = fetch_byte_imm(); in x86emuOp_opcC0_byte_RM_MEM() 3135 DECODE_PRINTF2(",%x\n", amt); in x86emuOp_opcC0_byte_RM_MEM() 3137 destval = (*opcD0_byte_operation[rh]) (*destreg, amt); in x86emuOp_opcC0_byte_RM_MEM() 3152 u8 amt; in x86emuOp_opcC1_word_RM_MEM() local 3204 amt = fetch_byte_imm(); in x86emuOp_opcC1_word_RM_MEM() 3205 DECODE_PRINTF2(",%x\n", amt); in x86emuOp_opcC1_word_RM_MEM() [all …]
|
| H A D | debug.c | 209 void X86EMU_dump_memory(u16 seg, u16 off, u32 amt) in X86EMU_dump_memory() argument 215 while (end <= off + amt) { in X86EMU_dump_memory()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/ |
| H A D | kvm_util.c | 535 size_t amt; in kvm_memcmp_hva_gva() local 541 for (uintptr_t offset = 0; offset < len; offset += amt) { in kvm_memcmp_hva_gva() 554 amt = len - offset; in kvm_memcmp_hva_gva() 555 if ((ptr1 >> vm->page_shift) != ((ptr1 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva() 556 amt = vm->page_size - (ptr1 % vm->page_size); in kvm_memcmp_hva_gva() 557 if ((ptr2 >> vm->page_shift) != ((ptr2 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva() 558 amt = vm->page_size - (ptr2 % vm->page_size); in kvm_memcmp_hva_gva() 560 assert((ptr1 >> vm->page_shift) == ((ptr1 + amt - 1) >> vm->page_shift)); in kvm_memcmp_hva_gva() 561 assert((ptr2 >> vm->page_shift) == ((ptr2 + amt - 1) >> vm->page_shift)); in kvm_memcmp_hva_gva() 568 int ret = memcmp((void *)ptr1, (void *)ptr2, amt); in kvm_memcmp_hva_gva()
|
| /OK3568_Linux_fs/kernel/fs/gfs2/ |
| H A D | aops.c | 518 unsigned amt; in gfs2_internal_read() local 523 amt = size - copied; in gfs2_internal_read() 525 amt = PAGE_SIZE - offset; in gfs2_internal_read() 530 memcpy(buf + copied, p + offset, amt); in gfs2_internal_read() 533 copied += amt; in gfs2_internal_read()
|
| /OK3568_Linux_fs/kernel/samples/mei/ |
| H A D | Makefile | 3 userprogs-always-y += mei-amt-version
|
| H A D | .gitignore | 2 mei-amt-version
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/x86emu/ |
| H A D | ops.c | 8678 u8 amt; in x86emuOp_opcC0_byte_RM_MEM() local 8728 amt = fetch_byte_imm(); in x86emuOp_opcC0_byte_RM_MEM() 8729 DECODE_PRINTF2(",%x\n", amt); in x86emuOp_opcC0_byte_RM_MEM() 8732 destval = (*opcD0_byte_operation[rh]) (destval, amt); in x86emuOp_opcC0_byte_RM_MEM() 8738 amt = fetch_byte_imm(); in x86emuOp_opcC0_byte_RM_MEM() 8739 DECODE_PRINTF2(",%x\n", amt); in x86emuOp_opcC0_byte_RM_MEM() 8742 destval = (*opcD0_byte_operation[rh]) (destval, amt); in x86emuOp_opcC0_byte_RM_MEM() 8748 amt = fetch_byte_imm(); in x86emuOp_opcC0_byte_RM_MEM() 8749 DECODE_PRINTF2(",%x\n", amt); in x86emuOp_opcC0_byte_RM_MEM() 8752 destval = (*opcD0_byte_operation[rh]) (destval, amt); in x86emuOp_opcC0_byte_RM_MEM() [all …]
|
| H A D | debug.c | 227 X86EMU_dump_memory(u16 seg, u16 off, u32 amt) in X86EMU_dump_memory() argument 233 while (end <= off + amt) { in X86EMU_dump_memory()
|
| H A D | x86emu.h | 190 void X86EMU_dump_memory(u16 seg, u16 off, u32 amt);
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | sock.h | 1375 sk_memory_allocated_add(struct sock *sk, int amt) in sk_memory_allocated_add() argument 1377 return atomic_long_add_return(amt, sk->sk_prot->memory_allocated); in sk_memory_allocated_add() 1381 sk_memory_allocated_sub(struct sock *sk, int amt) in sk_memory_allocated_sub() argument 1383 atomic_long_sub(amt, sk->sk_prot->memory_allocated); in sk_memory_allocated_sub() 1478 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind); 1504 static inline int sk_mem_pages(int amt) in sk_mem_pages() argument 1506 return (amt + SK_MEM_QUANTUM - 1) >> SK_MEM_QUANTUM_SHIFT; in sk_mem_pages() 2304 int amt = 0; in sock_wspace() local 2307 amt = sk->sk_sndbuf - refcount_read(&sk->sk_wmem_alloc); in sock_wspace() 2308 if (amt < 0) in sock_wspace() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/iostreams/detail/streambuf/ |
| H A D | indirect_streambuf.hpp | 405 std::streamsize avail, amt; in sync_impl() local 407 if ((amt = obj().write(pbase(), avail, next())) == avail) in sync_impl() 411 setp(out().begin() + amt, out().end()); in sync_impl()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/ |
| H A D | qib_init.c | 1545 unsigned amt; in qib_create_rcvhdrq() local 1552 amt = ALIGN(dd->rcvhdrcnt * dd->rcvhdrentsize * in qib_create_rcvhdrq() 1560 &dd->pcidev->dev, amt, &rcd->rcvhdrq_phys, in qib_create_rcvhdrq() 1567 amt, rcd->ctxt); in qib_create_rcvhdrq() 1588 rcd->rcvhdrq_size = amt; in qib_create_rcvhdrq() 1604 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, in qib_create_rcvhdrq()
|
| /OK3568_Linux_fs/u-boot/drivers/bios_emulator/include/ |
| H A D | x86emu.h | 195 void X86EMU_dump_memory(u16 seg, u16 off, u32 amt);
|