Home
last modified time | relevance | path

Searched refs:prot (Results 1 - 25 of 190) sorted by relevance

12345678

/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_msgbuf.c363 #define DHD_RING_IN_FLOWRINGS_POOL(prot, flowid) \
364 (msgbuf_ring_t*)((prot)->h2d_flowrings_pool) + \
368 #define FOREACH_RING_IN_FLOWRINGS_POOL(prot, ring, flowid, total_flowrings) \
370 (ring) = DHD_RING_IN_FLOWRINGS_POOL(prot, flowid); \
876 dhd->prot->d2h_sync_wait_max, dhd->prot->d2h_sync_wait_tot, in dhd_prot_d2h_sync_livelock()
919 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_seqnum() local
963 if (total_tries > prot->d2h_sync_wait_max) in dhd_prot_d2h_sync_seqnum()
964 prot in dhd_prot_d2h_sync_seqnum()
998 dhd_prot_t *prot = dhd->prot; dhd_prot_d2h_sync_xorcsum() local
1115 dhd_prot_t *prot = dhd->prot; dhd_prot_d2h_sync_edl() local
1282 dhd_prot_t *prot = dhd->prot; dhd_prot_d2h_sync_init() local
1332 dhd_prot_t *prot = dhd->prot; dhd_prot_h2d_sync_init() local
1593 dhd_prot_t *prot = dhd->prot; dhd_pktid_logging_dump() local
1874 dhd_prot_t *prot = dhd->prot; dhd_get_pktid_map_type() local
2822 dhd_prot_t *prot; dhd_prot_attach() local
3032 dhd_prot_t *prot = dhd->prot; dhd_alloc_host_scbs() local
3064 dhd_prot_t *prot = dhd->prot; dhd_set_host_cap() local
3191 dhd_prot_t *prot = dhd->prot; dhd_prot_init() local
3448 dhd_prot_t *prot = dhd->prot; dhd_prot_detach() local
3540 struct dhd_prot *prot = dhd->prot; dhd_prot_reset() local
3702 dhd_prot_t *prot = dhd->prot; dhd_lb_tx_compl_handler() local
3757 dhd_prot_t *prot = dhdp->prot; dhd_lb_dispatch_rx_compl() local
3783 dhd_prot_t *prot = dhd->prot; dhd_prot_rx_dataoffset() local
3790 dhd_prot_t *prot = dhd->prot; dhd_check_create_info_rings() local
3873 dhd_prot_t *prot = dhd->prot; dhd_prot_init_info_rings() local
3930 dhd_prot_t *prot = dhd->prot; dhd_check_create_hp2p_rings() local
4001 dhd_prot_t *prot = dhd->prot; dhd_prot_init_hp2p_rings() local
4068 dhd_prot_t *prot = dhd->prot; dhd_check_create_edl_rings() local
4118 dhd_prot_t *prot = dhd->prot; dhd_prot_init_edl_rings() local
4164 dhd_prot_t *prot = dhd->prot; dhd_sync_with_dongle() local
4436 dhd_prot_t *prot = dhd->prot; dhd_msgbuf_rxbuf_post() local
4485 dhd_prot_t *prot = dhd->prot; dhd_prot_rxbuf_post() local
4678 dhd_prot_t *prot = dhd->prot; dhd_prot_infobufpost() local
4889 dhd_prot_t *prot = dhd->prot; dhd_prot_rxbufpost_ctrl() local
5150 dhd_prot_t *prot = dhd->prot; dhd_msgbuf_rxbuf_post_ioctlresp_bufs() local
5167 dhd_prot_t *prot = dhd->prot; dhd_msgbuf_rxbuf_post_event_bufs() local
5189 dhd_prot_t *prot = dhd->prot; dhd_prot_process_msgbuf_infocpl() local
5254 dhd_prot_t *prot = dhd->prot; dhd_prot_process_msgbuf_edl() local
5340 dhd_prot_t *prot = NULL; dhd_prot_process_edl_complete() local
5500 dhd_prot_t *prot = NULL; dhd_prot_edl_ring_tcm_rd_update() local
5524 dhd_prot_t *prot = dhd->prot; dhd_prot_process_msgbuf_rxcpl() local
5902 dhd_prot_t *prot = dhd->prot; dhd_prot_process_ctrlbuf() local
6197 dhd_prot_t *prot = dhd->prot; dhd_prot_ioctcmplt_process() local
6331 dhd_prot_t *prot = dhd->prot; dhd_prot_txstatus_process() local
6521 dhd_prot_t *prot = dhd->prot; dhd_prot_event_process() local
6649 dhd_prot_t *prot = dhd->prot; dhd_prot_txdata() local
6987 dhd_prot_t *prot = dhd->prot; dhd_prot_return_rxbuf() local
7037 dhd_prot_t *prot = dhd->prot; dhd_prot_wlioctl_intercept() local
7156 dhd_prot_t *prot = dhd->prot; dhdmsgbuf_lpbk_req() local
7220 dhd_prot_t *prot = dhdp->prot; dhd_prepare_schedule_dmaxfer_free() local
7311 dhd_prot_t *prot = dhd->prot; dhd_msgbuf_dmaxfer_process() local
7400 dhd_prot_t *prot = dhd->prot; dhdmsgbuf_dmaxfer_req() local
7471 dhd_prot_t *prot = dhd->prot; dhdmsgbuf_dmaxfer_status() local
7565 dhd_prot_t *prot = dhd->prot; dhd_msgbuf_iovar_timeout_dump() local
7618 dhd_prot_t *prot = dhd->prot; dhd_msgbuf_wait_ioctl_cmplt() local
7784 dhd_prot_t *prot; dhd_d2h_h2d_ring_dump() local
7971 dhd_prot_t *prot = dhd->prot; dhd_post_dummy_msg() local
8055 dhd_prot_t *prot = dhd->prot; dhd_fillup_ioct_reqst() local
8158 dhd_prot_t *prot = dhd->prot; dhd_prot_ring_attach() local
8319 dhd_prot_t *prot = dhd->prot; dhd_prot_ring_detach() local
8383 dhd_prot_t *prot = dhd->prot; dhd_prot_flowrings_pool_attach() local
8461 dhd_prot_t *prot = dhd->prot; dhd_prot_flowrings_pool_reset() local
8489 dhd_prot_t *prot = dhd->prot; dhd_prot_flowrings_pool_detach() local
8524 dhd_prot_t *prot = dhd->prot; dhd_prot_flowrings_pool_fetch() local
8554 dhd_prot_t *prot = dhd->prot; dhd_prot_flowrings_pool_release() local
8628 dhd_prot_t *prot = dhd->prot; __dhd_prot_ring_write_complete() local
8715 dhd_prot_t *prot = dhd->prot; dhd_prot_upd_read_idx() local
8912 dhd_prot_t *prot = dhd->prot; dhd_prot_dma_indx_set() local
8961 dhd_prot_t *prot = dhd->prot; dhd_prot_dma_indx_get() local
9032 dhd_prot_t *prot = dhd->prot; dhd_prot_dma_indx_init() local
9261 dhd_prot_t *prot = dhd->prot; dhd_prot_flow_ring_create() local
9552 dhd_prot_t *prot = dhd->prot; dhd_prot_print_info() local
9614 dhd_prot_t *prot = dhd->prot; dhd_prot_flow_ring_delete() local
9743 dhd_prot_t *prot = dhd->prot; dhd_prot_flow_ring_flush() local
9806 dhd_prot_t *prot = dhd->prot; dhd_msgbuf_ring_config_d2h_soft_doorbell() local
9882 dhd_prot_t *prot = dhd->prot; dhd_prot_debug_info_print() local
10157 dhd_prot_t *prot = dhd->prot; dhd_prot_metadata_dbg_set() local
10167 dhd_prot_t *prot = dhd->prot; dhd_prot_metadata_dbg_get() local
10174 dhd_prot_t *prot = dhd->prot; dhd_prot_metadatalen_set() local
10185 dhd_prot_t *prot = dhd->prot; dhd_prot_metadatalen_get() local
10196 dhd_prot_t *prot = dhd->prot; dhd_prot_txp_threshold() local
10216 dhd_prot_t *prot = dhd->prot; dhd_rxchain_frame() local
10271 dhd_prot_t *prot = dhd->prot; dhd_rxchain_commit() local
10292 dhd_prot_t *prot = dhd->prot; dhd_prot_flow_ring_resume() local
10358 dhd_prot_t *prot = dhd->prot; dhd_prot_flow_ring_batch_suspend_request() local
10776 dhd_prot_t *prot = dhdp->prot; dhd_prot_send_host_timestamp() local
10895 dhd_prot_t *prot = dhd->prot; dhd_prot_dma_indx_free() local
[all...]
H A Ddhd_cdc.c95 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local
96 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg()
112 prot->ctl_completed = FALSE; in dhdcdc_msg()
113 err = dbus_send_ctl(dhd->bus, (void *)&prot->msg, len); in dhdcdc_msg()
121 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg()
125 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg()
126 if ((!timeout) || (!prot->ctl_completed)) { in dhdcdc_msg()
128 timeout, prot->ctl_completed)); in dhdcdc_msg()
140 prot in dhdcdc_msg()
167 dhd_prot_t *prot = dhd->prot; dhdcdc_cmplt() local
209 dhd_prot_t *prot = dhd->prot; dhdcdc_query_ioctl() local
306 dhd_prot_t *prot = dhd->prot; dhdcdc_set_ioctl() local
398 dhd_prot_t *prot; dhd_prot_ctl_complete() local
417 dhd_prot_t *prot = dhd->prot; dhd_prot_ioctl() local
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D5-1.c9 * The prot shall be either PROT_NONE or the bitwise-inclusive OR of
17 * specified by prot, the call to mmap() shall fail.
38 int prot; member
43 {.flags = MAP_SHARED,.prot = PROT_NONE},
44 {.flags = MAP_SHARED,.prot = PROT_READ},
45 {.flags = MAP_SHARED,.prot = PROT_WRITE},
46 {.flags = MAP_SHARED,.prot = PROT_EXEC},
47 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_WRITE},
48 {.flags = MAP_SHARED,.prot = PROT_READ | PROT_EXEC},
49 {.flags = MAP_SHARED,.prot
[all...]
/third_party/ffmpeg/libavformat/
H A Davio.c40 if (h->prot) in urlcontext_to_name()
41 return h->prot->name; in urlcontext_to_name()
49 if (!prev && h->priv_data && h->prot->priv_data_class) in urlcontext_child_next()
103 uc->prot = up; in url_alloc_for_protocol()
181 if (uc->protocol_whitelist && av_match_list(uc->prot->name, uc->protocol_whitelist, ',') <= 0) { in ffurl_connect()
182 av_log(uc, AV_LOG_ERROR, "Protocol '%s' not on whitelist '%s'!\n", uc->prot->name, uc->protocol_whitelist); in ffurl_connect()
186 if (uc->protocol_blacklist && av_match_list(uc->prot->name, uc->protocol_blacklist, ',') > 0) { in ffurl_connect()
187 av_log(uc, AV_LOG_ERROR, "Protocol '%s' on blacklist '%s'!\n", uc->prot->name, uc->protocol_blacklist); in ffurl_connect()
191 if (!uc->protocol_whitelist && uc->prot->default_whitelist) { in ffurl_connect()
192 av_log(uc, AV_LOG_DEBUG, "Setting default whitelist '%s'\n", uc->prot in ffurl_connect()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DprivateProtectedMembersAreNotAccessibleDestructuring.js4 protected prot;
7 let { priv: a, prot: b } = this; // ok
8 let { priv, prot } = new K(); // ok
14 let { prot: b } = this; // ok
19 let { prot } = k; // error
21 let { priv: a, prot: b, privateMethod: pm } = k; // error
22 function f({ priv, prot, privateMethod }: K) {
48 var _a = this, a = _a.priv, b = _a.prot; // ok
49 var _b = new K(), priv = _b.priv, prot = _b.prot; // o
66 var prot = k.prot; // error global() variable
[all...]
/test/xts/acts/kernel_lite/mem_posix/src/
H A DMprotectApiTest.cpp46 int prot = PROT_WRITE; in HWTEST_F() local
47 int mprot = prot | PROT_READ; in HWTEST_F()
50 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
79 int prot = PROT_READ; in HWTEST_F() local
80 int mprot = prot | PROT_WRITE; in HWTEST_F()
83 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
111 int prot = PROT_READ | PROT_WRITE; in HWTEST_F() local
112 int mprot = prot | PROT_EXEC; in HWTEST_F()
115 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
149 int prot in HWTEST_F() local
180 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; HWTEST_F() local
220 int prot = PROT_WRITE; HWTEST_F() local
270 int prot = PROT_READ; HWTEST_F() local
325 int prot = PROT_READ | PROT_WRITE; HWTEST_F() local
369 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; HWTEST_F() local
413 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; HWTEST_F() local
[all...]
H A DMmapApiTest.cpp48 int prot = PROT_READ | PROT_WRITE; in HWTEST_F() local
51 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
87 int prot = PROT_READ | PROT_WRITE; in HWTEST_F() local
90 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
121 int prot = PROT_READ; in HWTEST_F() local
124 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
149 int prot = PROT_WRITE; in HWTEST_F() local
152 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
182 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; in HWTEST_F() local
186 mem = (char *)mmap(nullptr, len, prot, flag in HWTEST_F()
230 int prot = PROT_READ | PROT_WRITE | PROT_EXEC; HWTEST_F() local
279 int prot = PROT_READ | PROT_WRITE; HWTEST_F() local
319 int prot = PROT_READ | PROT_WRITE; HWTEST_F() local
365 int prot = PROT_READ | PROT_WRITE; HWTEST_F() local
411 int prot = PROT_READ; HWTEST_F() local
451 int prot = PROT_WRITE; HWTEST_F() local
495 int prot = PROT_READ | PROT_EXEC; HWTEST_F() local
542 int prot = PROT_READ | PROT_EXEC; HWTEST_F() local
589 int prot = PROT_READ; HWTEST_F() local
[all...]
H A DMremapApiTest.cpp72 int prot = PROT_READ | PROT_WRITE; in HWTEST_F() local
75 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
114 int prot = PROT_READ | PROT_WRITE; in HWTEST_F() local
117 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
153 int prot = PROT_READ | PROT_WRITE; in HWTEST_F() local
157 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
197 int prot = PROT_READ | PROT_WRITE; in HWTEST_F() local
201 char *mem = (char *)mmap(nullptr, len, prot, flags, -1, 0); in HWTEST_F()
236 int prot = PROT_READ | PROT_WRITE; in HWTEST_F() local
247 char *mem = (char *)mmap(nullptr, len, prot, flag in HWTEST_F()
288 int prot = PROT_READ | PROT_WRITE; HWTEST_F() local
339 int prot = PROT_READ | PROT_WRITE; HWTEST_F() local
394 int prot = PROT_READ | PROT_WRITE; HWTEST_F() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Ddirect_mmap.h74 inline void* DirectMmap(void* start, size_t length, int prot, int flags, int fd,
100 return __mmap2(start, length, prot, flags, fd, offset / pagesize);
103 syscall(SYS_mmap2, start, length, prot, flags, fd,
110 static_cast<unsigned long>(prot), // NOLINT
125 MMAP_SYSCALL_ARG(prot), MMAP_SYSCALL_ARG(flags),
131 syscall(SYS_mmap, start, length, prot, flags, fd, offset));
152 inline void* DirectMmap(void* start, size_t length, int prot, int flags, int fd,
154 return mmap(start, length, prot, flags, fd, offset);
/third_party/node/deps/openssl/openssl/crypto/cmp/
H A Dcmp_protect.c33 ASN1_BIT_STRING *prot = NULL; in ossl_cmp_calc_protection() local
92 if ((prot = ASN1_BIT_STRING_new()) == NULL) in ossl_cmp_calc_protection()
95 prot->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); in ossl_cmp_calc_protection()
96 prot->flags |= ASN1_STRING_FLAG_BITS_LEFT; in ossl_cmp_calc_protection()
97 if (!ASN1_BIT_STRING_set(prot, protection, sig_len)) { in ossl_cmp_calc_protection()
98 ASN1_BIT_STRING_free(prot); in ossl_cmp_calc_protection()
99 prot = NULL; in ossl_cmp_calc_protection()
105 return prot; in ossl_cmp_calc_protection()
121 if ((prot = ASN1_BIT_STRING_new()) == NULL) in ossl_cmp_calc_protection()
124 NULL, prot, in ossl_cmp_calc_protection()
[all...]
/third_party/openssl/crypto/cmp/
H A Dcmp_protect.c33 ASN1_BIT_STRING *prot = NULL; in ossl_cmp_calc_protection() local
92 if ((prot = ASN1_BIT_STRING_new()) == NULL) in ossl_cmp_calc_protection()
95 prot->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); in ossl_cmp_calc_protection()
96 prot->flags |= ASN1_STRING_FLAG_BITS_LEFT; in ossl_cmp_calc_protection()
97 if (!ASN1_BIT_STRING_set(prot, protection, sig_len)) { in ossl_cmp_calc_protection()
98 ASN1_BIT_STRING_free(prot); in ossl_cmp_calc_protection()
99 prot = NULL; in ossl_cmp_calc_protection()
105 return prot; in ossl_cmp_calc_protection()
121 if ((prot = ASN1_BIT_STRING_new()) == NULL) in ossl_cmp_calc_protection()
124 NULL, prot, in ossl_cmp_calc_protection()
[all...]
/third_party/pcre2/pcre2/src/sljit/
H A DsljitWXExecAllocator.c99 int prot = PROT_READ | PROT_WRITE | SLJIT_PROT_WX; in sljit_malloc_exec() local
106 prot |= PROT_MAX(PROT_READ | PROT_WRITE | PROT_EXEC); in sljit_malloc_exec()
110 ptr = (sljit_uw*)mmap(NULL, size, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in sljit_malloc_exec()
144 int prot = PROT_READ | (enable_exec ? PROT_EXEC : PROT_WRITE); in sljit_update_wx_flags() local
151 mprotect((void*)start, end - start, prot); in sljit_update_wx_flags()
189 DWORD prot = enable_exec ? PAGE_EXECUTE : PAGE_READWRITE; in sljit_update_wx_flags() local
196 VirtualProtect((void*)start, end - start, prot, &oldprot); in sljit_update_wx_flags()
/third_party/musl/src/mman/
H A Dmmap.c14 void *__mmap(void *start, size_t len, int prot, int flags, int fd, off_t off) in __mmap() argument
33 ret = __syscall(SYS_mmap2, start, len, prot, flags, fd, off/UNIT); in __mmap()
35 ret = __syscall(SYS_mmap, start, len, prot, flags, fd, off); in __mmap()
58 void *__lldb_mmap(void *start, size_t len, int prot, int flags, int fd, intptr_t off) { in __lldb_mmap() argument
59 return mmap(start, len, prot, flags, fd, off); in __lldb_mmap()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/
H A Dcma_allocator.c73 pgprot_t prot = *(pgprot_t*)data; in __dma_update_pte() local
78 set_pte_ext(pte, mk_pte(page, prot), 0); in __dma_update_pte()
91 static void __dma_remap(struct page* page, size_t size, pgprot_t prot) in __dma_remap() argument
96 apply_to_page_range(&init_mm, start, size, __dma_update_pte, &prot); in __dma_remap()
339 pgprot_t prot; local
357 prot = PAGE_KERNEL;
360 prot = __pgprot(PROT_NORMAL_NC);
367 prot = pgprot_kernel;
370 prot = pgprot_noncached(pgprot_kernel);
373 __dma_remap(page, mmb->length, prot);
484 pgprot_t prot; global() local
[all...]
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-macos.cc41 vm_prot_t prot) { in mach_vm_map_wrapper()
42 vm_prot_t current_prot = prot; in mach_vm_map_wrapper()
75 vm_prot_t prot = GetVMProtFromMemoryPermission(access); in AllocateShared() local
78 shared_mem_port, offset, prot); in AllocateShared()
83 offset, prot); in AllocateShared()
123 vm_prot_t prot = GetVMProtFromMemoryPermission(access); in AllocateShared() local
128 shared_mem_port, offset, prot); in AllocateShared()
37 mach_vm_map_wrapper(mach_vm_address_t* address, mach_vm_size_t size, int flags, mach_port_t port, memory_object_offset_t offset, vm_prot_t prot) mach_vm_map_wrapper() argument
/third_party/mesa3d/src/gallium/auxiliary/os/
H A Dos_mman.h55 # define os_mmap(addr, length, prot, flags, fd, offset) \
56 mmap64(addr, length, prot, flags, fd, offset)
63 # define os_mmap(addr, length, prot, flags, fd, offset) \
64 mmap(addr, length, prot, flags, fd, offset)
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dbcmip.h129 uint8 prot; /* Protocol */ member
183 #define IPV6_EXTHDR(prot) (((prot) == IPV6_EXTHDR_HOP) || \
184 ((prot) == IPV6_EXTHDR_ROUTING) || \
185 ((prot) == IPV6_EXTHDR_FRAGMENT) || \
186 ((prot) == IPV6_EXTHDR_AUTH) || \
187 ((prot) == IPV6_EXTHDR_NONE) || \
188 ((prot) == IPV6_EXTHDR_DEST))
/third_party/libdrm/
H A Dlibdrm_macros.h51 static inline void *drm_mmap(void *addr, size_t length, int prot, int flags, in drm_mmap() argument
60 return mmap64(addr, length, prot, flags, fd, offset); in drm_mmap()
70 # define drm_mmap(addr, length, prot, flags, fd, offset) \
71 mmap(addr, length, prot, flags, fd, offset)
/third_party/ltp/testcases/kernel/syscalls/memfd_create/
H A Dmemfd_create_common.h41 #define CHECK_MMAP(addr, length, prot, flags, fd, offset) \
42 check_mmap(__FILE__, __LINE__, (addr), (length), (prot), \
45 #define CHECK_MMAP_FAIL(addr, length, prot, flags, fd, offset) \
46 check_mmap_fail(__FILE__, __LINE__, (addr), (length), (prot), \
121 int prot, int flags, int fd, off_t offset);
123 size_t length, int prot, int flags, int fd, off_t offset);
130 size_t length, int prot);
H A Dmemfd_create_common.c173 int prot, int flags, int fd, off_t offset) in check_mmap()
177 p = safe_mmap(file, lineno, addr, length, prot, flags, fd, offset); in check_mmap()
181 length, prot, flags, fd, (long)offset); in check_mmap()
187 size_t length, int prot, int flags, int fd, off_t offset) in check_mmap_fail()
189 if (mmap(addr, length, prot, flags, fd, offset) != MAP_FAILED) { in check_mmap_fail()
193 addr, length, prot, flags, fd, (long)offset); in check_mmap_fail()
200 addr, length, prot, flags, fd, (long)offset); in check_mmap_fail()
224 size_t length, int prot) in check_mprotect()
226 if (mprotect(addr, length, prot) < 0) { in check_mprotect()
228 "mprotect(%p, %zu, %d) failed", addr, length, prot); in check_mprotect()
172 check_mmap(const char *file, const int lineno, void *addr, size_t length, int prot, int flags, int fd, off_t offset) check_mmap() argument
186 check_mmap_fail(const char *file, const int lineno, void *addr, size_t length, int prot, int flags, int fd, off_t offset) check_mmap_fail() argument
223 check_mprotect(const char *file, const int lineno, void *addr, size_t length, int prot) check_mprotect() argument
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Diommu.h166 * @prot: IOMMU Protection flags (READ/WRITE/...)
173 int prot; member
266 int (*map)(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp);
268 int prot, gfp_t gfp, size_t *mapped);
269 int (*map_sg)(struct iommu_domain *domain, unsigned long iova, struct scatterlist *sg, unsigned int nents, int prot,
292 int (*domain_window_enable)(struct iommu_domain *domain, u32 wnd_nr, phys_addr_t paddr, u64 size, int prot);
447 extern int iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot);
448 extern int iommu_map_atomic(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot);
453 int prot);
455 unsigned int nents, int prot);
682 iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot) iommu_map() argument
687 iommu_map_atomic(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot) iommu_map_atomic() argument
704 iommu_map_sg(struct iommu_domain *domain, unsigned long iova, struct scatterlist *sg, unsigned int nents, int prot) iommu_map_sg() argument
710 iommu_map_sg_atomic(struct iommu_domain *domain, unsigned long iova, struct scatterlist *sg, unsigned int nents, int prot) iommu_map_sg_atomic() argument
724 iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr, phys_addr_t paddr, u64 size, int prot) iommu_domain_window_enable() argument
1028 iommu_map_sgtable(struct iommu_domain *domain, unsigned long iova, struct sg_table *sgt, int prot) iommu_map_sgtable() argument
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/
H A D4-1.c53 int prot; in main() local
74 prot = PROT_READ | PROT_WRITE; in main()
76 pa = mmap(addr, size, prot, flag, fd, off); in main()
97 pa = mmap(addr, size, prot, flag, fd, off); in main()
/third_party/libwebsockets/test-apps/
H A Dtest-client.c601 const char *prot, *p; in main() local
695 if (lws_parse_uri(argv[optind], &prot, &i.address, &i.port, &p)) in main()
706 if (!strcmp(prot, "http") || !strcmp(prot, "ws")) in main()
708 if (!strcmp(prot, "https") || !strcmp(prot, "wss")) in main()
797 if (!strcmp(prot, "http") || !strcmp(prot, "https")) { in main()
798 lwsl_notice("using %s mode (non-ws)\n", prot); in main()
807 if (!strcmp(prot, "ra in main()
[all...]
/third_party/rust/crates/rustix/src/mm/
H A Dmmap.rs19 /// `mmap(ptr, len, prot, flags, fd, offset)`—Create a file-backed memory
39 prot: ProtFlags, in mmap()
44 backend::mm::syscalls::mmap(ptr, len, prot, flags, fd.as_fd(), offset) in mmap()
47 /// `mmap(ptr, len, prot, MAP_ANONYMOUS | flags, -1, 0)`—Create an anonymous
67 prot: ProtFlags, in mmap_anonymous()
70 backend::mm::syscalls::mmap_anonymous(ptr, len, prot, flags) in mmap_anonymous()
/third_party/libwebsockets/lib/core-net/
H A Dvhost.c138 lws_role_call_adoption_bind(struct lws *wsi, int type, const char *prot) in lws_role_call_adoption_bind() argument
152 if (!prot) in lws_role_call_adoption_bind()
153 prot = wsi->a.vhost->listen_accept_protocol; in lws_role_call_adoption_bind()
164 adoption_bind(wsi, type, prot); in lws_role_call_adoption_bind()
179 wsi->a.vhost->listen_accept_role, prot, type); in lws_role_call_adoption_bind()
190 adoption_bind(wsi, type, prot)) in lws_role_call_adoption_bind()
198 adoption_bind(wsi, type, prot)) in lws_role_call_adoption_bind()
209 adoption_bind(wsi, type, prot)) in lws_role_call_adoption_bind()
246 const struct lws_protocols *prot, int size) in lws_protocol_vh_priv_zalloc()
250 if (!vhost || !prot || !vhos in lws_protocol_vh_priv_zalloc()
245 lws_protocol_vh_priv_zalloc(struct lws_vhost *vhost, const struct lws_protocols *prot, int size) lws_protocol_vh_priv_zalloc() argument
286 lws_protocol_vh_priv_get(struct lws_vhost *vhost, const struct lws_protocols *prot) lws_protocol_vh_priv_get() argument
[all...]

Completed in 20 milliseconds

12345678