Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 7 of 7) sorted by path

/unit/auto/
H A Dcapability14 struct __user_cap_header_struct hdr;
15 hdr.version = _LINUX_CAPABILITY_VERSION;
16 syscall(SYS_capget, &hdr, 0);
/unit/src/
H A Dnxt_capability.c55 struct __user_cap_header_struct hdr; in nxt_capability_linux_get_version() local
57 hdr.version = NXT_CAPABILITY_VERSION; in nxt_capability_linux_get_version()
58 hdr.pid = nxt_pid; in nxt_capability_linux_get_version()
60 nxt_capget(&hdr, NULL); in nxt_capability_linux_get_version()
61 return hdr.version; in nxt_capability_linux_get_version()
69 struct __user_cap_header_struct hdr; in nxt_capability_specific_set() local
87 hdr.version = nxt_capability_linux_get_version(); in nxt_capability_specific_set()
88 hdr.pid = nxt_pid; in nxt_capability_specific_set()
90 if (nxt_slow_path(nxt_capget(&hdr, val) == -1)) { in nxt_capability_specific_set()
H A Dnxt_port_memory.c140 hdr = mmap_handler->hdr; in nxt_port_mmap_buf_completion()
167 b->is_port_mmap_sent, hdr->src_pid, hdr->dst_pid, hdr->id, c); in nxt_port_mmap_buf_completion()
256 mmap_handler->hdr = hdr; in nxt_port_incoming_port_mmap()
332 hdr = mmap_handler->hdr; in nxt_port_new_port_mmap()
464 hdr = mmap_handler->hdr; in nxt_port_mmap_get()
582 hdr = mmap_handler->hdr; in nxt_port_mmap_get_buf()
591 hdr->src_pid, hdr->dst_pid, hdr->id, c); in nxt_port_mmap_get_buf()
621 hdr = mmap_handler->hdr; in nxt_port_mmap_increase_buf()
692 hdr = mmap_handler->hdr; in nxt_port_mmap_get_incoming_buf()
704 hdr->src_pid, hdr->dst_pid, hdr->id, mmap_msg->chunk_id); in nxt_port_mmap_get_incoming_buf()
[all …]
H A Dnxt_port_memory_int.h64 nxt_port_mmap_header_t *hdr; member
103 nxt_port_mmap_chunk_id(nxt_port_mmap_header_t *hdr, const u_char *p) in nxt_port_mmap_chunk_id() argument
107 mm_start = (u_char *) hdr; in nxt_port_mmap_chunk_id()
114 nxt_port_mmap_chunk_start(nxt_port_mmap_header_t *hdr, nxt_chunk_id_t c) in nxt_port_mmap_chunk_start() argument
118 mm_start = (u_char *) hdr; in nxt_port_mmap_chunk_start()
H A Dnxt_port_socket.c274 nxt_port_mmap_header_t *hdr; in nxt_port_enqueue_buf() local
286 hdr = mmap_handler->hdr; in nxt_port_enqueue_buf()
289 mm->mmap_id = hdr->id; in nxt_port_enqueue_buf()
290 mm->chunk_id = nxt_port_mmap_chunk_id(hdr, b->mem.pos); in nxt_port_enqueue_buf()
H A Dnxt_router.c5009 nxt_port_mmap_header_t *hdr = mmap_handler->hdr; in nxt_router_app_prepare_request() local
5011 msg.mm.mmap_id = hdr->id; in nxt_router_app_prepare_request()
5012 msg.mm.chunk_id = nxt_port_mmap_chunk_id(hdr, buf->mem.pos); in nxt_router_app_prepare_request()
5444 m = mmap_handler->hdr->free_map; in nxt_router_oosm_handler()
H A Dnxt_unit.c2635 hdr = mmap_buf->hdr; in nxt_unit_mmap_buf_send()
3497 hdr = mm->hdr; in nxt_unit_mmap_get()
3598 return hdr; in nxt_unit_mmap_get()
3763 hdr = mem; in nxt_unit_new_mmap()
3765 memset(hdr->free_map, 0xFFU, sizeof(hdr->free_map)); in nxt_unit_new_mmap()
3968 mmap_buf->hdr = hdr; in nxt_unit_get_outgoing_buf()
4016 hdr = mem; in nxt_unit_incoming_mmap()
4042 mm->hdr = hdr; in nxt_unit_incoming_mmap()
4173 *hdr = mm->hdr; in nxt_unit_check_rbuf_mmap()
4276 b->hdr = hdr; in nxt_unit_mmap_read()
[all …]