Home
last modified time | relevance | path

Searched refs:seqno (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/musl/libc-test/src/regression/
Dpthread_cancel-sem_wait.c15 static int seqno; variable
22 seqno = 1; in wait_cancel()
29 seqno = 2; in start_sem_wait()
37 seqno = 2; in start_sem_timedwait()
45 seqno = 2; in start_sem_timedwait_time64()
59 seqno = 0; in main()
65 TESTC(seqno == 1, "uncontended sem_wait"); in main()
68 seqno = 0; in main()
75 TESTC(seqno == 1, "blocking sem_wait"); in main()
78 seqno = 0; in main()
[all …]
/third_party/selinux/libselinux/src/
Dsestatus.c63 uint32_t seqno = 0; in read_sequence() local
70 if (seqno & 0x0001) in read_sequence()
73 seqno = status->sequence; in read_sequence()
77 } while (seqno & 0x0001); in read_sequence()
79 return seqno; in read_sequence()
154 uint32_t seqno; in selinux_status_getenforce() local
171 seqno = read_sequence(selinux_status); in selinux_status_getenforce()
175 } while (seqno != read_sequence(selinux_status)); in selinux_status_getenforce()
191 uint32_t seqno; in selinux_status_policyload() local
208 seqno = read_sequence(selinux_status); in selinux_status_policyload()
[all …]
Davc_internal.h37 extern int avc_process_policyload(uint32_t seqno);
167 uint32_t seqno) ;
170 access_vector_t perms, uint32_t seqno,
174 uint32_t seqno) ;
175 int avc_ss_reset(uint32_t seqno) ;
178 uint32_t seqno, uint32_t enable) ;
181 uint32_t seqno, uint32_t enable) ;
Davc.c474 if (ae->avd.seqno < avc_cache.latest_notif) { in avc_insert()
477 ae->avd.seqno, avc_cache.latest_notif); in avc_insert()
741 avd->seqno = avc_cache.latest_notif; in avd_init()
1012 uint32_t seqno, access_vector_t * out_retained) in avc_control() argument
1053 if (seqno > avc_cache.latest_notif) in avc_control()
1054 avc_cache.latest_notif = seqno; in avc_control()
1071 uint32_t seqno) in avc_ss_grant() argument
1074 ssid, tsid, tclass, perms, seqno, 0); in avc_ss_grant()
1092 access_vector_t perms, uint32_t seqno, in avc_ss_try_revoke() argument
1096 ssid, tsid, tclass, perms, seqno, out_retained); in avc_ss_try_revoke()
[all …]
Dcompute_av.c58 &avd->seqno, &avd->flags); in security_compute_av_flags_raw()
100 avd->seqno = lavd.seqno; in security_compute_av_raw()
152 avd->seqno = lavd.seqno; in security_compute_av()
Davc_internal.c79 int avc_process_policyload(uint32_t seqno) in avc_process_policyload() argument
85 avc_prefix, seqno); in avc_process_policyload()
86 rc = avc_ss_reset(seqno); in avc_process_policyload()
96 return selinux_netlink_policyload(seqno); in avc_process_policyload()
231 rc = avc_process_policyload(msg->seqno); in avc_netlink_process()
/third_party/ltp/testcases/kernel/logging/kmsg/
Dkmsg01.c114 unsigned long *seqno) in get_msg_fields() argument
120 if (seqno) in get_msg_fields()
121 *seqno = s; in get_msg_fields()
279 unsigned long prefix, seqno, seqno_last = 0; in test_inject() local
305 if (get_msg_fields(tmp, &prefix, &seqno) != 0) { in test_inject()
315 if (seqno > seqno_last) { in test_inject()
316 seqno_last = seqno; in test_inject()
319 "last: %lu", seqno, seqno_last); in test_inject()
330 unsigned long seqno[NUM_READ_MSGS + 1]; in test_read_returns_first_message() local
346 if (get_msg_fields(msg, NULL, &seqno[i]) != 0) in test_read_returns_first_message()
[all …]
/third_party/lwip/src/core/
Dtcp_in.c80 static u32_t seqno, ackno; variable
230 seqno = tcphdr->seqno = lwip_ntohl(tcphdr->seqno);
579 tcp_rst(NULL, ackno, seqno + tcplen, ip_current_dest_addr(),
649 tcp_rst((const struct tcp_pcb *)pcb, ackno, seqno + tcplen, ip_current_dest_addr(),
681 npcb->rcv_nxt = seqno + 1;
688 npcb->snd_wl1 = seqno - 1;/* initialise to seqno-1 to force window update */
756 if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt, pcb->rcv_nxt + pcb->rcv_wnd)) {
758 tcp_rst(pcb, ackno, seqno + tcplen, ip_current_dest_addr(),
810 if (seqno == pcb->rcv_nxt) {
812 } else if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt,
[all …]
Dtcp_out.c158 tcp_create_segment(const struct tcp_pcb *pcb, struct pbuf *p, u8_t hdrflags, u32_t seqno, u8_t optf… in tcp_create_segment() argument
199 seg->tcphdr->seqno = lwip_htonl(seqno); in tcp_create_segment()
690 lwip_ntohl(seg->tcphdr->seqno), in tcp_write()
691 lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg))); in tcp_write()
914 …seg = tcp_create_segment(pcb, p, remainder_flags, lwip_ntohl(useg->tcphdr->seqno) + split, optflag… in tcp_split_unsent_seg()
1096 lwip_ntohl(seg->tcphdr->seqno), in tcp_enqueue_flags()
1097 lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg), in tcp_enqueue_flags()
1287 lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len, in tcp_output()
1288 lwip_ntohl(seg->tcphdr->seqno), pcb->lastack)); in tcp_output()
1306 if (lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len > wnd) { in tcp_output()
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_emit.h155 unsigned seqno = 0; in fd6_event_write() local
163 seqno = ++fd6_ctx->seqno; in fd6_event_write()
164 OUT_RELOC(ring, control_ptr(fd6_ctx, seqno)); /* ADDR_LO/HI */ in fd6_event_write()
165 OUT_RING(ring, seqno); in fd6_event_write()
168 return seqno; in fd6_event_write()
183 unsigned seqno; in fd6_cache_flush() local
185 seqno = fd6_event_write(batch, ring, RB_DONE_TS, true); in fd6_cache_flush()
190 OUT_RELOC(ring, control_ptr(fd6_ctx, seqno)); in fd6_cache_flush()
191 OUT_RING(ring, CP_WAIT_REG_MEM_3_REF(seqno)); in fd6_cache_flush()
195 seqno = fd6_event_write(batch, ring, CACHE_FLUSH_TS, true); in fd6_cache_flush()
[all …]
Dfd6_texture.c101 so->seqno = ++fd6_context(fd_context(pctx))->tex_seqno; in fd6_sampler_state_create()
146 if (samp->seqno == state->key.samp[i].seqno) { in fd6_sampler_state_delete()
225 so->seqno = ++fd6_context(ctx)->tex_seqno; in fd6_sampler_view_update()
227 so->rsc_seqno = rsc->seqno; in fd6_sampler_view_update()
355 if (view->seqno == state->key.view[i].seqno) { in fd6_sampler_view_destroy()
407 key.view[i].rsc_seqno = fd_resource(view->base.texture)->seqno; in fd6_texture_state()
408 key.view[i].seqno = view->seqno; in fd6_texture_state()
418 key.samp[i].seqno = sampler->seqno; in fd6_texture_state()
484 if (rsc->seqno == state->key.view[i].rsc_seqno) { in fd6_rebind_resource()
Dfd6_texture.h43 uint16_t seqno; member
58 uint16_t seqno; member
149 uint16_t seqno; member
152 uint16_t seqno; member
/third_party/mesa3d/src/virtio/vulkan/
Dvn_ring.c74 vn_ring_retire_submits(struct vn_ring *ring, uint32_t seqno) in vn_ring_retire_submits() argument
78 if (!vn_ring_ge_seqno(ring, seqno, submit->seqno)) in vn_ring_retire_submits()
90 vn_ring_wait_seqno(const struct vn_ring *ring, uint32_t seqno) in vn_ring_wait_seqno() argument
98 if (vn_ring_ge_seqno(ring, head, seqno)) in vn_ring_wait_seqno()
210 uint32_t *seqno) in vn_ring_submit() argument
226 submit->seqno = ring->cur; in vn_ring_submit()
229 *seqno = submit->seqno; in vn_ring_submit()
237 vn_ring_wait(const struct vn_ring *ring, uint32_t seqno) in vn_ring_wait() argument
239 vn_ring_wait_seqno(ring, seqno); in vn_ring_wait()
Dvn_ring.h53 uint32_t seqno; member
97 uint32_t *seqno);
100 vn_ring_wait(const struct vn_ring *ring, uint32_t seqno);
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_resource.h76 uint32_t seqno; member
109 return (int)(a->seqno - b->seqno) > 0; in etna_resource_newer()
116 return (int)(a->seqno - b->seqno) < 0; in etna_resource_older()
127 return etna_resource_has_valid_ts(res) && ((int)(res->seqno - res->flush_seqno) > 0); in etna_resource_needs_flush()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_pipe_control.c216 const uint64_t seqno = READ_ONCE(bo->last_seqnos[i]); in iris_emit_buffer_barrier_for() local
223 if (seqno > batch->coherent_seqnos[access][i]) { in iris_emit_buffer_barrier_for()
226 if (seqno > batch->coherent_seqnos[i][i]) in iris_emit_buffer_barrier_for()
240 const uint64_t seqno = READ_ONCE(bo->last_seqnos[i]); in iris_emit_buffer_barrier_for() local
245 if (seqno > batch->coherent_seqnos[i][i]) in iris_emit_buffer_barrier_for()
256 const uint64_t seqno = READ_ONCE(bo->last_seqnos[i]); in iris_emit_buffer_barrier_for() local
263 if (seqno > batch->coherent_seqnos[access][i]) { in iris_emit_buffer_barrier_for()
266 if (seqno > batch->coherent_seqnos[i][i]) in iris_emit_buffer_barrier_for()
Diris_fine_fence.c27 uint32_t seqno = batch->fine_fences.next++; in iris_fine_fence_next() local
32 return seqno; in iris_fine_fence_next()
53 fine->seqno = iris_fine_fence_next(batch); in iris_fine_fence_new()
76 fine->seqno); in iris_fine_fence_new()
/third_party/musl/libc-test/src/functional/
Dpthread_cancel-points.c19 static int seqno; variable
119 seqno = 1; in run_execute()
121 seqno = 2; in run_execute()
135 seqno = 0; in main()
142 && TESTC(seqno == 1, "seqno"); in main()
145 && TESTC(seqno == 2, "seqno"); in main()
/third_party/mesa3d/src/freedreno/computerator/
Da6xx.c45 unsigned seqno; member
60 uint32_t seqno; /* seqno for async CP_EVENT_WRITE, etc */ member
338 unsigned seqno = 0; in event_write() local
345 seqno = ++a6xx_backend->seqno; in event_write()
346 OUT_RELOC(ring, control_ptr(a6xx_backend, seqno)); /* ADDR_LO/HI */ in event_write()
347 OUT_RING(ring, seqno); in event_write()
350 return seqno; in event_write()
358 unsigned seqno; in cache_flush() local
360 seqno = event_write(ring, kernel, RB_DONE_TS, true); in cache_flush()
365 OUT_RELOC(ring, control_ptr(a6xx_backend, seqno)); in cache_flush()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_fence.c49 uint64_t seqno; member
88 return vc4_wait_seqno(screen, f->seqno, timeout_ns, "fence wait"); in vc4_fence_finish()
92 vc4_fence_create(struct vc4_screen *screen, uint64_t seqno, int fd) in vc4_fence_create() argument
100 f->seqno = seqno; in vc4_fence_create()
/third_party/ltp/testcases/kernel/security/filecaps/
Dprint_caps.c47 int seqno = 0; in main() local
51 seqno = atoi(argv[1]); in main()
64 snprintf(buf, 2000, "%d.%s", seqno, cap_to_text(cap, NULL)); in main()
Dverify_caps_exec.c162 static int seqno; in fork_drop_and_exec() local
170 sprintf(buf, "%d", seqno); in fork_drop_and_exec()
183 if (c == 1 && s == seqno) in fork_drop_and_exec()
187 seqno); in fork_drop_and_exec()
205 seqno++; in fork_drop_and_exec()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_fine_fence.c31 uint32_t seqno = batch->fine_fences.next++; in crocus_fine_fence_next() local
36 return seqno; in crocus_fine_fence_next()
57 fine->seqno = crocus_fine_fence_next(batch); in crocus_fine_fence_new()
82 fine->seqno); in crocus_fine_fence_new()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_fence.c62 uint32_t seqno; member
149 if (!vmw_fence_seq_is_signaled(fence->seqno, signaled, emitted)) in vmw_fences_signal()
188 uint32_t seqno, uint32_t mask, int32_t fd) in vmw_fence_create() argument
199 fence->seqno = seqno; in vmw_fence_create()
216 if (vmw_fence_seq_is_signaled(seqno, ops->last_signaled, seqno)) { in vmw_fence_create()
/third_party/nghttp2/python/
Dhpackcheck.py32 seqno = item['seqno']
34 seqno = casenum
36 sys.stderr.write('FAIL seqno#{}\n'.format(seqno))

1234