Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 25 of 676) sorted by relevance

12345678910>>...28

/freebsd/sys/netgraph/
H A Dng_l2tp.c157 struct l2tp_seq seq; /* ctrl sequence number state */ member
335 static void ng_l2tp_seq_check(struct l2tp_seq *seq);
336 #define SEQ_LOCK(seq) do { \ argument
337 mtx_lock(&(seq)->mtx); \
338 ng_l2tp_seq_check(seq); \
340 #define SEQ_UNLOCK(seq) do { \ argument
341 ng_l2tp_seq_check(seq); \
342 mtx_unlock(&(seq)->mtx); \
345 #define SEQ_LOCK(seq) mtx_lock(&(seq)->mtx) argument
346 #define SEQ_UNLOCK(seq) mtx_unlock(&(seq)->mtx) argument
[all …]
/freebsd/sys/dev/ocs_fc/
H A Docs_unsol.c54 static int32_t ocs_unsol_process(ocs_t *ocs, ocs_hw_sequence_t *seq);
55 static int32_t ocs_dispatch_fcp_cmd(ocs_node_t *node, ocs_hw_sequence_t *seq);
56 static int32_t ocs_dispatch_fcp_cmd_auto_xfer_rdy(ocs_node_t *node, ocs_hw_sequence_t *seq);
57 static int32_t ocs_dispatch_fcp_data(ocs_node_t *node, ocs_hw_sequence_t *seq);
58 static int32_t ocs_domain_dispatch_frame(void *arg, ocs_hw_sequence_t *seq);
59 static int32_t ocs_node_dispatch_frame(void *arg, ocs_hw_sequence_t *seq);
65 static int32_t ocs_sframe_send_task_set_full_or_busy(ocs_node_t *node, ocs_hw_sequence_t *seq);
81 ocs_hw_sequence_t *seq; in ocs_unsol_rq_thread() local
86 seq = ocs_cbuf_get(thread_data->seq_cbuf, 100000); in ocs_unsol_rq_thread()
87 if (seq == NULL) { in ocs_unsol_rq_thread()
[all …]
H A Docs_hw_queues.c1678 static int32_t ocs_hw_rqpair_put(ocs_hw_t *hw, ocs_hw_sequence_t *seq);
1679 …s_hw_rtn_e ocs_hw_rqpair_auto_xfer_rdy_buffer_sequence_reset(ocs_hw_t *hw, ocs_hw_sequence_t *seq);
1705 ocs_hw_sequence_t *seq; in ocs_hw_rqpair_process_rq() local
1721 seq = ocs_hw_rqpair_get(hw, rqindex, index); in ocs_hw_rqpair_process_rq()
1724 if (ocs_hw_rqpair_sequence_free(hw, seq)) { in ocs_hw_rqpair_process_rq()
1750 seq = ocs_hw_rqpair_get(hw, rqindex, index); in ocs_hw_rqpair_process_rq()
1751 ocs_hw_assert(seq != NULL); in ocs_hw_rqpair_process_rq()
1753 seq->hw = hw; in ocs_hw_rqpair_process_rq()
1754 seq->auto_xrdy = 0; in ocs_hw_rqpair_process_rq()
1755 seq->out_of_xris = 0; in ocs_hw_rqpair_process_rq()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dder8 >0 der seq
10 >>>&0 der seq
14 >>>&0 der seq
18 >>>&0 der seq
22 >>>&0 der seq
25 >>&0 der seq
28 0 der seq
29 >&0 der seq
34 0 der seq
39 0 der seq
[all …]
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c58 static void *sdp_get_idx(struct seq_file *seq, loff_t pos) in sdp_get_idx() argument
73 static void *sdp_seq_start(struct seq_file *seq, loff_t *pos) in sdp_seq_start() argument
76 struct sdp_iter_state *st = seq->private; in sdp_seq_start()
84 start = sdp_get_idx(seq, *pos - 1); in sdp_seq_start()
92 static void *sdp_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sdp_seq_next() argument
94 struct sdp_iter_state *st = seq->private; in sdp_seq_next()
99 next = sdp_get_idx(seq, 0); in sdp_seq_next()
101 next = sdp_get_idx(seq, *pos); in sdp_seq_next()
112 static void sdp_seq_stop(struct seq_file *seq, void *v) in sdp_seq_stop() argument
118 static int sdp_seq_show(struct seq_file *seq, void *v) in sdp_seq_show() argument
[all …]
/freebsd/contrib/netbsd-tests/ipf/input/
H A Df111 in on e0 tcp 1.1.1.1,1 2.1.2.2,23 S seq=1 ack=0
2 in on e0 tcp 1.1.1.1,1 2.1.2.2,24 SA seq=1 ack=1
3 in on e1 tcp 2.1.2.2,23 1.1.1.1,2 SA seq=101 ack=2
4 in on e1 tcp 2.1.2.2,23 1.1.1.1,1 SA seq=101 ack=2
5 in on e0 tcp 1.1.1.1,1 2.1.2.2,23 A seq=2 ack=102
6 in on e0 tcp 1.1.1.1,1 2.1.2.2,25 A seq=2 ack=102
7 in on e1 tcp 2.1.2.2,23 1.1.1.1,1 A seq=102 ack=2
8 in on e1 tcp 2.1.2.2,25 1.1.1.1,1 A seq=102 ack=2
9 in on e0 tcp 1.1.1.1,1 2.1.2.2,23 FA seq=2 ack=102
10 in on e0 tcp 1.1.1.1,1 2.1.2.2,23 A seq=2 ack=102
[all …]
/freebsd/crypto/openssl/apps/
H A Dnseq.c42 NETSCAPE_CERT_SEQUENCE *seq = NULL; in nseq_main() local
88 seq = NETSCAPE_CERT_SEQUENCE_new(); in nseq_main()
89 if (seq == NULL) in nseq_main()
91 seq->certs = sk_X509_new_null(); in nseq_main()
92 if (seq->certs == NULL) in nseq_main()
95 if (!sk_X509_push(seq->certs, x509)) in nseq_main()
99 if (!sk_X509_num(seq->certs)) { in nseq_main()
105 PEM_write_bio_NETSCAPE_CERT_SEQUENCE(out, seq); in nseq_main()
110 seq = PEM_read_bio_NETSCAPE_CERT_SEQUENCE(in, NULL, NULL, NULL); in nseq_main()
111 if (seq == NULL) { in nseq_main()
[all …]
/freebsd/usr.sbin/ppp/
H A Dmp.c110 inc_seq(unsigned is12bit, u_int32_t seq) in inc_seq() argument
112 seq++; in inc_seq()
114 if (seq & 0xfffff000) in inc_seq()
115 seq = 0; in inc_seq()
116 } else if (seq & 0xff000000) in inc_seq()
117 seq = 0; in inc_seq()
118 return seq; in inc_seq()
148 header->seq = val & 0x0fff; in mp_ReadHeader()
151 ua_ntohl(MBUF_CTOP(m), &header->seq); in mp_ReadHeader()
152 if (header->seq & 0x3f000000) { in mp_ReadHeader()
[all …]
/freebsd/lib/libc/tests/stdio/
H A Dflushlbuf_test.c14 static const char seq[] = variable
61 if ((ret = fprintf(f, "%c", seq[i++])) < 0) in ATF_TC_BODY()
64 ATF_CHECK_EQ(seq[i - 1], buf[BUFSIZE - 1]); in ATF_TC_BODY()
75 ret = fprintf(f, "%c", seq[i]); in ATF_TC_BODY()
85 fprintf(f, "%c", seq[i++]); in ATF_TC_BODY()
87 ATF_CHECK_EQ(seq[i - 1], buf[BUFSIZE - 1]); in ATF_TC_BODY()
94 fprintf(f, "%c", seq[i++]); in ATF_TC_BODY()
116 if ((ret = fprintf(f, "%c", seq[i++])) < 0) in ATF_TC_BODY()
119 ATF_CHECK_EQ(seq[i - 1], buf[BUFSIZE - 1]); in ATF_TC_BODY()
130 ret = fprintf(f, "%c", seq[i]); in ATF_TC_BODY()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_dfs.c152 struct mt76x02_dfs_sequence *seq) in mt76x02_dfs_seq_pool_put() argument
156 list_add(&seq->head, &dfs_pd->seq_pool); in mt76x02_dfs_seq_pool_put()
166 struct mt76x02_dfs_sequence *seq; in mt76x02_dfs_seq_pool_get() local
169 seq = devm_kzalloc(dev->mt76.dev, sizeof(*seq), GFP_ATOMIC); in mt76x02_dfs_seq_pool_get()
171 seq = list_first_entry(&dfs_pd->seq_pool, in mt76x02_dfs_seq_pool_get()
174 list_del(&seq->head); in mt76x02_dfs_seq_pool_get()
177 if (seq) in mt76x02_dfs_seq_pool_get()
180 return seq; in mt76x02_dfs_seq_pool_get()
208 struct mt76x02_dfs_sequence *seq, *tmp_seq; in mt76x02_dfs_detector_reset() local
220 list_for_each_entry_safe(seq, tmp_seq, &dfs_pd->sequences, head) { in mt76x02_dfs_detector_reset()
[all …]
H A Dmt76x02_mcu.c14 struct sk_buff *skb, int seq) in mt76x02_mcu_parse_response() argument
21 abs(cmd), seq); in mt76x02_mcu_parse_response()
27 if (seq != FIELD_GET(MT_RX_FCE_INFO_CMD_SEQ, *rxfce)) in mt76x02_mcu_parse_response()
42 u8 seq; in mt76x02_mcu_msg_send() local
53 seq = ++mdev->mcu.msg_seq & 0xf; in mt76x02_mcu_msg_send()
54 if (!seq) in mt76x02_mcu_msg_send()
55 seq = ++mdev->mcu.msg_seq & 0xf; in mt76x02_mcu_msg_send()
59 FIELD_PREP(MT_MCU_MSG_CMD_SEQ, seq) | in mt76x02_mcu_msg_send()
69 ret = mt76x02_mcu_parse_response(mdev, cmd, skb, seq); in mt76x02_mcu_msg_send()
/freebsd/contrib/lib9p/pytest/
H A Dprotocol.py478 def __init__(self, seq): argument
479 self.seq = seq
481 for pair in seq: # (cond, code) pair
491 return '{0}({1!r})'.format(self.__class__.__name__, self.seq)
531 return self.seq.pack(data, conditions)
742 seq = self.pfods[cls].seq
747 seq = dotl.pfods[rrd.Rlerror].seq
753 seq.unpack(vdict, self.conditions, data, noerror)
1451 def _debug_print_sequencer(seq): argument
1453 print('sequencer is {0!r}'.format(seq), file=sys.stderr)
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_seq_file.c77 seq_write(struct seq_file *seq, const void *data, size_t len) in seq_write() argument
81 ret = sbuf_bcpy(seq->buf, data, len); in seq_write()
83 seq->size = sbuf_len(seq->buf); in seq_write()
89 seq_putc(struct seq_file *seq, char c) in seq_putc() argument
93 ret = sbuf_putc(seq->buf, c); in seq_putc()
95 seq->size = sbuf_len(seq->buf); in seq_putc()
99 seq_puts(struct seq_file *seq, const char *str) in seq_puts() argument
103 ret = sbuf_printf(seq->buf, "%s", str); in seq_puts()
105 seq->size = sbuf_len(seq->buf); in seq_puts()
253 struct seq_file *seq; in seq_release_private() local
[all …]
/freebsd/tools/diag/prtblknos/
H A Dprtblknos.c231 static int seq; local
236 if (seq == 0) {
237 seq = howmany(numfrags, fs->fs_frag);
243 seq = howmany(numfrags, fs->fs_frag);
253 blkno == firstblk + seq * fs->fs_frag)) {
254 seq += howmany(numfrags, fs->fs_frag);
259 if (seq == 0)
262 if (seq == 1)
263 printf("\tlbn %jd %s\n", (intmax_t)(lbn - seq),
269 (intmax_t)lbn - seq, (intmax_t)lbn - 1,
[all …]
/freebsd/sys/kern/
H A Dsysv_ipc.c54 unsigned short *seq) = NULL;
73 shmobjinfo(struct vm_object *obj, key_t *key, unsigned short *seq) in shmobjinfo() argument
76 *seq = 0; in shmobjinfo()
78 shmobjinfo_hook(obj, key, seq); in shmobjinfo()
170 new->seq = old->seq; in ipcperm_old2new()
184 old->seq = new->seq; in ipcperm_new2old()
210 CP(*ip32, *ip, seq); in freebsd32_ipcperm_old_in()
223 CP(*ip, *ip32, seq); in freebsd32_ipcperm_old_out()
237 CP(*ip32, *ip, seq); in freebsd32_ipcperm_in()
250 CP(*ip, *ip32, seq); in freebsd32_ipcperm_out()
/freebsd/crypto/openssl/ssl/record/
H A Ddtls1_bitmap.c42 const unsigned char *seq = s->rlayer.read_sequence; in dtls1_record_replay_check() local
44 cmp = satsub64be(seq, bitmap->max_seq_num); in dtls1_record_replay_check()
46 SSL3_RECORD_set_seq_num(RECORD_LAYER_get_rrec(&s->rlayer), seq); in dtls1_record_replay_check()
55 SSL3_RECORD_set_seq_num(RECORD_LAYER_get_rrec(&s->rlayer), seq); in dtls1_record_replay_check()
63 const unsigned char *seq = RECORD_LAYER_get_read_sequence(&s->rlayer); in dtls1_record_bitmap_update() local
65 cmp = satsub64be(seq, bitmap->max_seq_num); in dtls1_record_bitmap_update()
72 memcpy(bitmap->max_seq_num, seq, SEQ_NUM_SIZE); in dtls1_record_bitmap_update()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_super.c176 __zpl_show_devname(struct seq_file *seq, zfsvfs_t *zfsvfs) in __zpl_show_devname() argument
192 seq_puts(seq, "\\040"); in __zpl_show_devname()
194 seq_putc(seq, fsname[i]); in __zpl_show_devname()
206 zpl_show_devname(struct seq_file *seq, struct dentry *root) in zpl_show_devname() argument
208 return (__zpl_show_devname(seq, root->d_sb->s_fs_info)); in zpl_show_devname()
212 __zpl_show_options(struct seq_file *seq, zfsvfs_t *zfsvfs) in __zpl_show_options() argument
214 seq_printf(seq, ",%s", in __zpl_show_options()
220 seq_puts(seq, ",posixacl"); in __zpl_show_options()
223 seq_puts(seq, ",noacl"); in __zpl_show_options()
230 seq_puts(seq, ",casesensitive"); in __zpl_show_options()
[all …]
/freebsd/tests/sys/netpfil/pf/
H A Dmodulate.sh43 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-seq 42 # Sanity check
44 ping_dummy_check_request exit:1 --ping-type=tcpsyn --send-seq 42 --expect-seq 42
66 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-seq 42 # Sanity check
67 ping_dummy_check_request exit:1 --ping-type=tcpsyn --send-seq 42 --expect-seq 42
/freebsd/usr.sbin/fifolog/lib/
H A Dfifolog_reader.c96 unsigned seq, seqs; in fifolog_reader_findsync() local
102 seq = be32dec(ff->recbuf); in fifolog_reader_findsync()
103 if (*o == 0 && seq == 0) in fifolog_reader_findsync()
111 seq++; in fifolog_reader_findsync()
118 if (seqs != seq) in fifolog_reader_findsync()
134 unsigned seq, seqs; in fifolog_reader_seek() local
150 seq = be32dec(fr->ff->recbuf); in fifolog_reader_seek()
164 seq = be32dec(fr->ff->recbuf); in fifolog_reader_seek()
184 if (seqs != seq + st) { in fifolog_reader_seek()
200 seq = seqs; in fifolog_reader_seek()
[all …]
/freebsd/sys/kgssapi/krb5/
H A Dkrb5_mech.c756 krb5_insert_seq(struct krb5_msg_order *mo, uint32_t seq, int index) in krb5_insert_seq() argument
765 mo->km_elem[index] = seq; in krb5_insert_seq()
772 krb5_sequence_check(struct krb5_context *kc, uint32_t seq) in krb5_sequence_check() argument
785 if (mo->km_length == 0 || seq == mo->km_elem[0] + 1) { in krb5_sequence_check()
789 krb5_insert_seq(mo, seq, 0); in krb5_sequence_check()
794 if (seq > mo->km_elem[0]) { in krb5_sequence_check()
798 krb5_insert_seq(mo, seq, 0); in krb5_sequence_check()
806 if (seq < mo->km_elem[mo->km_length - 1]) { in krb5_sequence_check()
815 if (mo->km_elem[i] == seq) { in krb5_sequence_check()
819 if (mo->km_elem[i] < seq) { in krb5_sequence_check()
[all …]
/freebsd/contrib/mandoc/
H A Dterm.c526 const char *seq, *cp; in term_word() local
567 esc = mandoc_escape(&word, &seq, &sz); in term_word()
570 uc = mchars_num2uc(seq + 1, sz - 1); in term_word()
573 uc = mchars_num2char(seq, sz); in term_word()
579 cp = mchars_spec2str(seq, sz, &ssz); in term_word()
583 uc = mchars_spec2cp(seq, sz); in term_word()
589 uc = *seq; in term_word()
630 if (*seq == '|') { in term_word()
631 seq++; in term_word()
635 if (a2roffsu(seq, &su, SCALE_EM) == NULL) in term_word()
[all …]
/freebsd/crypto/openssl/test/
H A Dbad_dtls_test.c281 static unsigned char seq[6] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; in send_record() local
293 seq[0] = (seqnr >> 40) & 0xff; in send_record()
294 seq[1] = (seqnr >> 32) & 0xff; in send_record()
295 seq[2] = (seqnr >> 24) & 0xff; in send_record()
296 seq[3] = (seqnr >> 16) & 0xff; in send_record()
297 seq[4] = (seqnr >> 8) & 0xff; in send_record()
298 seq[5] = seqnr & 0xff; in send_record()
319 || !EVP_MAC_update(ctx, seq, 6) in send_record()
345 BIO_write(rbio, seq, 6); in send_record()
448 uint64_t seq; member
[all...]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dseq.h12 atomic_zu_t seq; \
26 size_t old_seq = atomic_load_zu(&dst->seq, ATOMIC_RELAXED); \
27 atomic_store_zu(&dst->seq, old_seq + 1, ATOMIC_RELAXED); \
32 atomic_store_zu(&dst->seq, old_seq + 2, ATOMIC_RELEASE); \
39 size_t seq1 = atomic_load_zu(&src->seq, ATOMIC_ACQUIRE); \
47 size_t seq2 = atomic_load_zu(&src->seq, ATOMIC_RELAXED); \
/freebsd/contrib/libfido2/src/
H A Dio.c23 uint8_t seq; in PACKED_TYPE()
98 tx_frame(fido_dev_t *d, uint8_t seq, const void *buf, size_t count, int *ms) in tx_frame() argument
111 fp->body.cont.seq = seq; in tx_frame()
132 for (uint8_t seq = 0; sent < count; sent += n) { in tx() local
133 if (seq & 0x80) { in tx()
137 if ((n = tx_frame(d, seq++, buf + sent, count - sent, in tx()
265 for (int seq = 0; r < payload_len; seq++) { in rx() local
274 f.body.cont.seq = (uint8_t)seq; in rx()
277 if (f.cid != d->cid || f.body.cont.seq != seq) { in rx()
279 __func__, f.cid, d->cid, f.body.cont.seq, seq); in rx()
/freebsd/crypto/heimdal/lib/gssapi/ntlm/
H A Dcrypto.c93 key->seq = 0; in _gss_ntlm_set_key()
119 uint32_t seq, in v1_sign_message() argument
130 encode_le_uint32(seq, &sigature[8]); in v1_sign_message()
146 uint32_t seq, in v2_sign_message() argument
158 encode_le_uint32(seq, hmac); in v2_sign_message()
179 uint32_t seq, in v2_verify_message() argument
185 ret = v2_sign_message(in, signkey, sealkey, seq, out); in v2_verify_message()
198 uint32_t seq, in v2_seal_message() argument
214 ret = v2_sign_message(in, signkey, sealkey, seq, &p[in->length]); in v2_seal_message()
229 uint32_t seq, in v2_unseal_message() argument
[all …]

12345678910>>...28