Searched refs:sop (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-13-stable/contrib/pf/libevent/
H A Dselect.c90 static int select_resize(struct selectop *sop, int fdsz);
95 struct selectop *sop; local
101 if (!(sop = calloc(1, sizeof(struct selectop))))
104 select_resize(sop, howmany(32 + 1, NFDBITS)*sizeof(fd_mask));
108 return (sop);
113 check_selectop(struct selectop *sop) argument
116 for (i=0;i<=sop->event_fds;++i) {
117 if (FD_ISSET(i, sop->event_readset_in)) {
118 assert(sop->event_r_by_fd[i]);
119 assert(sop
146 struct selectop *sop = arg; local
157 struct selectop *sop = arg; local
214 select_resize(struct selectop *sop, int fdsz) argument
275 struct selectop *sop = arg; local
325 struct selectop *sop = arg; local
353 struct selectop *sop = arg; local
[all...]
/freebsd-13-stable/contrib/libevent/
H A Dselect.c106 static int select_resize(struct selectop *sop, int fdsz);
107 static void select_free_selectop(struct selectop *sop);
112 struct selectop *sop; local
114 if (!(sop = mm_calloc(1, sizeof(struct selectop))))
117 if (select_resize(sop, SELECT_ALLOC_SIZE(32 + 1))) {
118 select_free_selectop(sop);
126 return (sop);
131 check_selectop(struct selectop *sop) argument
136 #define check_selectop(sop) do { (void) sop; } whil
143 struct selectop *sop = base->evbase; local
212 select_resize(struct selectop *sop, int fdsz) argument
254 struct selectop *sop = base->evbase; local
301 struct selectop *sop = base->evbase; local
323 select_free_selectop(struct selectop *sop) argument
[all...]
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Dselect.c106 static int select_resize(struct selectop *sop, int fdsz);
107 static void select_free_selectop(struct selectop *sop);
112 struct selectop *sop; local
114 if (!(sop = mm_calloc(1, sizeof(struct selectop))))
117 if (select_resize(sop, SELECT_ALLOC_SIZE(32 + 1))) {
118 select_free_selectop(sop);
126 return (sop);
131 check_selectop(struct selectop *sop) argument
136 #define check_selectop(sop) do { (void) sop; } whil
143 struct selectop *sop = base->evbase; local
212 select_resize(struct selectop *sop, int fdsz) argument
254 struct selectop *sop = base->evbase; local
301 struct selectop *sop = base->evbase; local
323 select_free_selectop(struct selectop *sop) argument
[all...]
/freebsd-13-stable/sys/dev/cxgbe/cudbg/
H A Dcudbg_wtp.c328 wtp->sge_pcie_cmd_req.sop[0] = sge_dbg_reg->debug_PC_Req_SOP0_cnt;
329 wtp->sge_pcie_cmd_req.sop[1] = sge_dbg_reg->debug_PC_Req_SOP1_cnt;
337 wtp->pcie_core_cmd_req.sop[0] = ((value >> 0) & 0xFF); /*bit 0:7*/
338 wtp->pcie_core_cmd_req.sop[1] = ((value >> 8) & 0xFF); /*bit 8:15*/
346 wtp->pcie_t5_dma_stat3.sop[i] = value & 0xFF;
352 wtp->sge_debug_data_high_index_6.sop[0] = ((value >> 4) & 0x0F);
354 wtp->sge_debug_data_high_index_6.sop[1] = ((value >> 12) & 0x0F);
356 wtp->sge_debug_data_high_index_6.sop[2] = ((value >> 20) & 0x0F);
358 wtp->sge_debug_data_high_index_6.sop[3] = ((value >> 28) & 0x0F);
363 wtp->sge_debug_data_high_index_3.sop[
[all...]
H A Dcudbg_entity.h419 u32 sop; member in struct:wtp_type_0
424 u32 sop[2]; member in struct:wtp_type_1
429 u32 sop[4]; member in struct:wtp_type_2
434 u32 sop[4]; member in struct:wtp_type_3
548 u32 sop[8]; /* => undef,*/ member in struct:wtp_data::_xgm_mps
/freebsd-13-stable/tests/sys/opencrypto/
H A Dblake2_test.c101 struct session2_op sop; local
103 memset(&sop, 0, sizeof(sop));
105 sop.mac = alg;
106 sop.mackey = key;
107 sop.mackeylen = klen;
108 sop.crid = crid;
110 ATF_REQUIRE_MSG(ioctl(fd, CIOCGSESSION2, &sop) >= 0,
113 return (sop.ses);
H A Dpoly1305_test.c315 struct session2_op sop; local
317 memset(&sop, 0, sizeof(sop));
319 sop.mac = alg;
320 sop.mackey = key;
321 sop.mackeylen = klen;
322 sop.crid = crid;
324 ATF_REQUIRE_MSG(ioctl(fd, CIOCGSESSION2, &sop) >= 0,
327 return (sop.ses);
/freebsd-13-stable/tools/tools/crypto/
H A Dcryptotest.c253 struct session2_op sop; local
264 bzero(&sop, sizeof(sop));
266 sop.keylen = (ealg->minkeylen + ealg->maxkeylen)/2;
267 key = (char *) malloc(sop.keylen);
270 for (i = 0; i < sop.keylen; i++)
272 sop.key = key;
273 sop.cipher = ealg->code;
276 sop.mackeylen = (alg->minkeylen + alg->maxkeylen)/2;
277 key = (char *) malloc(sop
[all...]
H A Dcryptocheck.c415 ocf_init_sop(struct session2_op *sop) argument
417 memset(sop, 0, sizeof(*sop));
418 sop->crid = requested_crid;
422 ocf_init_session(struct session2_op *sop, const char *type, const char *name, argument
428 if (ioctl(fd, CIOCGSESSION2, sop) < 0) {
430 type, name, crfind(sop->crid));
435 ses->ses = sop->ses;
436 ses->crid = sop->crid;
469 struct session2_op sop; local
579 struct session2_op sop; local
693 struct session2_op sop; local
825 struct session2_op sop; local
1061 struct session2_op sop; local
1282 struct session2_op sop; local
[all...]
/freebsd-13-stable/lib/libc/regex/
H A Dregcomp.c96 sop *strip; /* malloced strip */
155 static void doemit(struct parse *p, sop op, size_t opnd);
156 static void doinsert(struct parse *p, sop op, size_t opnd, sopno pos);
157 static void dofwd(struct parse *p, sopno pos, sop value);
161 static int altoffset(sop *scan, int offset);
198 #define EMIT(op, sopnd) doemit(p, (sop)(op), (size_t)(sopnd))
199 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos)
201 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos)
251 maxlen = ((size_t)-1 >> 1) / sizeof(sop) *
[all...]
H A Dregex2.h77 typedef unsigned long sop; /* strip operator */ typedef
178 sop *strip; /* malloced area for strip */
H A Dengine.c423 sopno ss; /* start sop of current subRE */
424 sopno es; /* end sop of current subRE */
429 sopno ssub; /* start sop of subsubRE */
430 sopno esub; /* end sop of subsubRE */
447 while (OP(m->g->strip[es]) != (sop)O_CH)
565 if (OP(m->g->strip[esub]) == (sop)OOR2)
627 sopno ss; /* start sop of current subRE */
629 sopno ssub; /* start sop of subsubRE */
630 sopno esub; /* end sop of subsubRE */
635 sop
[all...]
/freebsd-13-stable/contrib/nvi/regex/
H A Dregex2.h76 typedef char sop; /* strip operator */ typedef
137 sop *strip; /* malloced area for strip */
H A Dregcomp.c64 sop *strip; /* malloced strip */
118 static void doemit(struct parse *p, sop op, size_t opnd);
119 static void doinsert(struct parse *p, sop op, size_t opnd, sopno pos);
120 static void dofwd(struct parse *p, sopno pos, sop value);
154 #define EMIT(op, sopnd) doemit(p, (sop)(op), (size_t)(sopnd))
155 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos)
157 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos)
173 (p)->ssize * sizeof(sop))
210 p->strip = (sop *)mallo
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A Dregcomp.c196 sop *strip; /* malloced strip */
236 static void doemit(struct parse *, sop, size_t);
237 static void doinsert(struct parse *, sop, size_t, sopno);
238 static void dofwd(struct parse *, sopno, sop);
267 #define EMIT(op, sopnd) doemit(p, (sop)(op), (size_t)(sopnd))
268 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos)
270 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos)
323 p->strip = (sop *)calloc(p->ssize, sizeof(sop));
[all...]
H A Dregex2.h68 typedef unsigned long sop; /* strip operator */ typedef
135 sop *strip; /* malloced area for strip */
/freebsd-13-stable/sys/opencrypto/
H A Dcryptodev.c392 cse_create(struct fcrypt *fcr, struct session2_op *sop) argument
403 switch (sop->cipher) {
437 switch (sop->mac) {
467 if (sop->cipher != CRYPTO_AES_NIST_GCM_16) {
475 switch (sop->mackeylen * 8) {
492 switch (sop->mackeylen) {
503 CRYPTDEB("Invalid CBC MAC key size %d", sop->keylen);
550 if (sop->cipher == CRYPTO_AES_NIST_GCM_16) {
551 switch (sop->mac) {
556 if (sop
1394 struct session2_op *sop; local
[all...]
/freebsd-13-stable/lib/libc/regex/grot/
H A Ddebug.c63 sop *s;
67 sop opnd;
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-srxx-defs.h318 uint64_t sop : 1; /**< SW Tick SOP member in struct:cvmx_srxx_sw_tick_ctl::cvmx_srxx_sw_tick_ctl_s
330 uint64_t sop : 1;
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/regex/
H A Ddebug.c124 sop *s;
127 sop opnd;
/freebsd-13-stable/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c1305 struct vmxnet3_txdesc *txd, *sop; local
1323 sop = &txr->vxtxr_txd[pidx];
1355 sop->vtag_mode = 1;
1356 sop->vtag = pi->ipi_vtag;
1364 sop->offload_mode = VMXNET3_OM_TSO;
1365 sop->hlen = hdrlen + pi->ipi_tcp_hlen;
1366 sop->offload_pos = pi->ipi_tso_segsz;
1369 sop->offload_mode = VMXNET3_OM_CSUM;
1370 sop->hlen = hdrlen;
1371 sop
[all...]
H A Dif_vmxreg.h147 uint32_t sop:1; /* Start of packet */ member in struct:vmxnet3_rxcompdesc
/freebsd-13-stable/lib/libc/db/hash/
H A Dhash_page.c402 u_int16_t *bp, *sop; local
442 sop = (u_int16_t *)bufp->page;
444 if (PAIRFITS(sop, key, val))
445 putpair((char *)sop, key, val);
/freebsd-13-stable/sys/rpc/
H A Dsvc_vc.c104 static int svc_vc_accept(struct socket *head, struct socket **sop);
325 svc_vc_accept(struct socket *head, struct socket **sop) argument
357 *sop = so;
/freebsd-13-stable/sys/cam/scsi/
H A Dscsi_all.c5879 struct scsi_transportid_sop *sop; local
5882 sop = (struct scsi_transportid_sop *)hdr;
5883 rid = (struct scsi_sop_routing_id_norm *)sop->routing_id;
5922 { "sop", SCSI_PROTO_SOP }
6448 struct scsi_transportid_sop *sop; local
6560 sop = malloc(sizeof(*sop), type, flags);
6562 sop = malloc(sizeof(*sop));
6564 if (sop
[all...]

Completed in 1394 milliseconds

12