Home
last modified time | relevance | path

Searched refs:prot (Results 51 - 75 of 190) sorted by relevance

12345678

/device/soc/rockchip/common/sdk_linux/arch/arm64/kernel/
H A Dprocess.c735 int arch_elf_adjust_prot(int prot, const struct arch_elf_state *state, bool has_interp, bool is_interp) in arch_elf_adjust_prot() argument
743 return prot; in arch_elf_adjust_prot()
747 return prot; in arch_elf_adjust_prot()
750 if (prot & PROT_EXEC) { in arch_elf_adjust_prot()
751 prot |= PROT_BTI; in arch_elf_adjust_prot()
754 return prot; in arch_elf_adjust_prot()
/third_party/mesa3d/src/drm-shim/
H A Ddrm_shim.c709 mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) in mmap() argument
715 return drm_shim_mmap(shim_fd, length, prot, flags, fd, offset); in mmap()
717 return real_mmap(addr, length, prot, flags, fd, offset); in mmap()
721 mmap64(void* addr, size_t length, int prot, int flags, int fd, off64_t offset) in mmap64() argument
727 return drm_shim_mmap(shim_fd, length, prot, flags, fd, offset); in mmap64()
729 return real_mmap64(addr, length, prot, flags, fd, offset); in mmap64()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
H A Ddrv_mmz_userdev.c420 unsigned long prot, flags, len, addr; in ioctl_mmb_user_remap_get_virt_addr() local
433 prot = mi->prot; in ioctl_mmb_user_remap_get_virt_addr()
434 if (!prot || !(prot & PROT_READ) || !(prot & PROT_WRITE)) { in ioctl_mmb_user_remap_get_virt_addr()
435 prot = prot | PROT_READ | PROT_WRITE; in ioctl_mmb_user_remap_get_virt_addr()
455 addr = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); in ioctl_mmb_user_remap_get_virt_addr()
457 addr = do_mmap(file, addr, len, prot, flag in ioctl_mmb_user_remap_get_virt_addr()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dgas_query_ap.c262 int res, prot = pmf_in_use(gas->hapd, query->addr); in gas_query_tx() local
265 "freq=%d prot=%d using src addr " MACSTR_SEC, in gas_query_tx()
267 query->freq, prot, MAC2STR_SEC(query->sa)); in gas_query_tx()
268 if (prot) { in gas_query_tx()
473 int prot, pmf; in gas_query_ap_rx() local
487 prot = categ == WLAN_ACTION_PROTECTED_DUAL; in gas_query_ap_rx()
489 if (prot && !pmf) { in gas_query_ap_rx()
493 if (!prot && pmf) { in gas_query_ap_rx()
H A Dgas_serv.h77 int prot; /* whether Protected Dual of Public Action frame is used */ member
93 int prot, struct wpabuf *buf);
H A Dgas_serv.c1453 struct anqp_query_info *qi, int prot, in gas_serv_req_local_processing()
1498 di->prot = prot; in gas_serv_req_local_processing()
1513 if (prot) in gas_serv_req_local_processing()
1530 int prot, struct wpabuf *buf) in gas_serv_req_dpp_processing()
1558 di->prot = prot; in gas_serv_req_dpp_processing()
1586 if (prot) in gas_serv_req_dpp_processing()
1598 const u8 *data, size_t len, int prot, in gas_serv_rx_gas_initial_req()
1663 if (prot) in gas_serv_rx_gas_initial_req()
1451 gas_serv_req_local_processing(struct hostapd_data *hapd, const u8 *sa, u8 dialog_token, struct anqp_query_info *qi, int prot, int std_addr3) gas_serv_req_local_processing() argument
1528 gas_serv_req_dpp_processing(struct hostapd_data *hapd, const u8 *sa, u8 dialog_token, int prot, struct wpabuf *buf) gas_serv_req_dpp_processing() argument
1596 gas_serv_rx_gas_initial_req(struct hostapd_data *hapd, const u8 *sa, const u8 *data, size_t len, int prot, int std_addr3) gas_serv_rx_gas_initial_req() argument
1739 gas_serv_rx_gas_comeback_req(struct hostapd_data *hapd, const u8 *sa, const u8 *data, size_t len, int prot, int std_addr3) gas_serv_rx_gas_comeback_req() argument
1856 int prot, std_addr3; gas_serv_rx_public_action() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dgas_query_ap.c262 int res, prot = pmf_in_use(gas->hapd, query->addr); in gas_query_tx() local
265 "freq=%d prot=%d using src addr " MACSTR, in gas_query_tx()
267 query->freq, prot, MAC2STR(query->sa)); in gas_query_tx()
268 if (prot) { in gas_query_tx()
473 int prot, pmf; in gas_query_ap_rx() local
487 prot = categ == WLAN_ACTION_PROTECTED_DUAL; in gas_query_ap_rx()
489 if (prot && !pmf) { in gas_query_ap_rx()
493 if (!prot && pmf) { in gas_query_ap_rx()
H A Dgas_serv.h77 int prot; /* whether Protected Dual of Public Action frame is used */ member
93 int prot, struct wpabuf *buf);
H A Dgas_serv.c1450 struct anqp_query_info *qi, int prot, in gas_serv_req_local_processing()
1495 di->prot = prot; in gas_serv_req_local_processing()
1510 if (prot) in gas_serv_req_local_processing()
1527 int prot, struct wpabuf *buf) in gas_serv_req_dpp_processing()
1555 di->prot = prot; in gas_serv_req_dpp_processing()
1580 if (prot) in gas_serv_req_dpp_processing()
1592 const u8 *data, size_t len, int prot, in gas_serv_rx_gas_initial_req()
1655 if (prot) in gas_serv_rx_gas_initial_req()
1448 gas_serv_req_local_processing(struct hostapd_data *hapd, const u8 *sa, u8 dialog_token, struct anqp_query_info *qi, int prot, int std_addr3) gas_serv_req_local_processing() argument
1525 gas_serv_req_dpp_processing(struct hostapd_data *hapd, const u8 *sa, u8 dialog_token, int prot, struct wpabuf *buf) gas_serv_req_dpp_processing() argument
1590 gas_serv_rx_gas_initial_req(struct hostapd_data *hapd, const u8 *sa, const u8 *data, size_t len, int prot, int std_addr3) gas_serv_rx_gas_initial_req() argument
1731 gas_serv_rx_gas_comeback_req(struct hostapd_data *hapd, const u8 *sa, const u8 *data, size_t len, int prot, int std_addr3) gas_serv_rx_gas_comeback_req() argument
1844 int prot, std_addr3; gas_serv_rx_public_action() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap06.c28 int prot; member
59 TESTPTR(mmap(NULL, tc->length, tc->prot, tc->flags, fd, 0)); in run()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_debug_mem_view.c113 pgprot_t prot = PAGE_KERNEL; in debug_mem_show() local
125 prot = pgprot_writecombine(prot); in debug_mem_show()
129 mapping = vmap(&page, 1, VM_MAP, prot); in debug_mem_show()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_debug_mem_view.c124 pgprot_t prot = PAGE_KERNEL; in debug_mem_show() local
136 prot = pgprot_writecombine(prot); in debug_mem_show()
140 mapping = vmap(&page, 1, VM_MAP, prot); in debug_mem_show()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_debug_mem_view.c117 pgprot_t prot = PAGE_KERNEL; in debug_mem_show() local
130 prot = pgprot_writecombine(prot); in debug_mem_show()
133 mapping = vmap(&page, 1, VM_MAP, prot); in debug_mem_show()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_debug_mem_view.c113 pgprot_t prot = PAGE_KERNEL; in debug_mem_show() local
126 prot = pgprot_writecombine(prot); in debug_mem_show()
129 mapping = vmap(&page, 1, VM_MAP, prot); in debug_mem_show()
/third_party/curl/lib/
H A Dpingpong.c261 enum protection_level prot = data->conn->data_prot; in pingpong_read() local
266 DEBUGASSERT(prot > PROT_NONE && prot < PROT_LAST); in pingpong_read()
267 data->conn->data_prot = (unsigned char)prot; in pingpong_read()
/third_party/pcre2/pcre2/src/sljit/
H A DsljitExecAllocator.c174 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; in alloc_chunk() local
179 prot |= PROT_MAX(prot); in alloc_chunk()
191 retval = mmap(NULL, size, prot, flags, fd, 0); in alloc_chunk()
/third_party/musl/src/hook/linux/
H A Dmalloc_common.c131 void* mmap(void* addr, size_t length, int prot, int flags, int fd, off_t offset) in mmap() argument
135 return dispatch_table->mmap(addr, length, prot, flags, fd, offset); in mmap()
137 return MuslMalloc(mmap)(addr, length, prot, flags, fd, offset); in mmap()
/third_party/ltp/include/old/
H A Dsafe_macros.h165 int prot, int flags, int fd, off_t offset) in safe_mmap()
169 rval = mmap(addr, length, prot, flags, fd, offset); in safe_mmap()
173 file, lineno, addr, length, prot, flags, fd, in safe_mmap()
179 #define SAFE_MMAP(cleanup_fn, addr, length, prot, flags, fd, offset) \
180 safe_mmap(__FILE__, __LINE__, (cleanup_fn), (addr), (length), (prot), \
163 safe_mmap(const char *file, const int lineno, void (*cleanup_fn)(void), void *addr, size_t length, int prot, int flags, int fd, off_t offset) safe_mmap() argument
/device/soc/rockchip/common/sdk_linux/drivers/iommu/
H A Drockchip-iommu.c321 /* set cache flags per prot IOMMU_CACHE */
322 static u32 rk_mk_pte(phys_addr_t page, int prot) in rk_mk_pte() argument
325 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte()
326 flags |= (prot & IOMMU_WRITE) ? RK_PTE_PAGE_WRITABLE : 0; in rk_mk_pte()
331 static u32 rk_mk_pte_v2(phys_addr_t page, int prot) in rk_mk_pte_v2() argument
335 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE_V2 : 0; in rk_mk_pte_v2()
336 flags |= (prot & IOMMU_WRITE) ? RK_PTE_PAGE_WRITABLE_V2 : 0; in rk_mk_pte_v2()
998 phys_addr_t paddr, size_t size, int prot) in rk_iommu_map_iova()
1013 pte_addr[pte_count] = rk_mk_pte(paddr, prot); in rk_iommu_map_iova()
1038 pr_err("iova: %pad already mapped to %pa cannot remap to phys: %pa prot in rk_iommu_map_iova()
997 rk_iommu_map_iova(struct rk_iommu_domain *rk_domain, u32 *pte_addr, dma_addr_t pte_dma, dma_addr_t iova, phys_addr_t paddr, size_t size, int prot) rk_iommu_map_iova() argument
1043 rk_iommu_map_iova_v2(struct rk_iommu_domain *rk_domain, u32 *pte_addr, dma_addr_t pte_dma, dma_addr_t iova, phys_addr_t paddr, size_t size, int prot) rk_iommu_map_iova_v2() argument
1089 rk_iommu_map(struct iommu_domain *domain, unsigned long _iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) rk_iommu_map() argument
1125 rk_iommu_map_v2(struct iommu_domain *domain, unsigned long _iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) rk_iommu_map_v2() argument
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-protocols-plugins.h122 * \param prot: protocol the instance is related to
130 const struct lws_protocols *prot, int size);
136 * \param prot: protocol the instance is related to
143 const struct lws_protocols *prot);
/third_party/ltp/testcases/kernel/syscalls/mprotect/
H A Dmprotect01.c55 int prot; member
101 TEST(tst_syscall(__NR_mprotect, TC[i].addr, TC[i].len, TC[i].prot)); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_eke_common.h107 u8 *prot, size_t *prot_len);
109 const u8 *prot, size_t prot_len,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_eke_common.h107 u8 *prot, size_t *prot_len);
109 const u8 *prot, size_t prot_len,
/third_party/python/Modules/
H A Dmmapmodule.c1156 Unix: mmap(fileno, length[, flags[, prot[, access[, offset]]]])\n\
1221 int fd, flags = MAP_SHARED, prot = PROT_WRITE | PROT_READ; in new_mmap_object() local
1225 "flags", "prot", in new_mmap_object()
1229 &fd, &map_size, &flags, &prot, in new_mmap_object()
1244 ((flags != MAP_SHARED) || (prot != (PROT_WRITE | PROT_READ)))) in new_mmap_object()
1246 "mmap can't specify both access and flags, prot."); in new_mmap_object()
1250 prot = PROT_READ; in new_mmap_object()
1254 prot = PROT_READ | PROT_WRITE; in new_mmap_object()
1258 prot = PROT_READ | PROT_WRITE; in new_mmap_object()
1261 /* map prot t in new_mmap_object()
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_SharedMemory.c123 static int ion_map(int fd, ion_user_handle_t handle, size_t length, int prot, in ion_map() argument
149 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); in ion_map()
212 typedef void *(*func_mmap64)(void* addr, size_t length, int prot, int flags,
233 static void* drm_mmap(int fd, size_t len, int prot, int flags, loff_t offset) in drm_mmap() argument
251 return mmap64(NULL, len, prot, flags, fd, offset); in drm_mmap()
302 static int drm_map(int fd, RK_U32 handle, size_t length, int prot, in drm_map() argument
333 *ptr = drm_mmap(fd, length, prot, flags, dmmd.offset); in drm_map()

Completed in 21 milliseconds

12345678