Searched refs:opc (Results 1 - 25 of 100) sorted by relevance

1234

/freebsd-current/contrib/wpa/src/crypto/
H A Dmilenage.c27 * @opc: OPc = 128-bit value derived from OP and K
36 int milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand, argument
44 tmp1[i] = _rand[i] ^ opc[i];
57 tmp3[(i + 8) % 16] = tmp2[i] ^ opc[i];
67 tmp1[i] ^= opc[i];
78 * @opc: OPc = 128-bit value derived from OP and K
88 int milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand, argument
96 tmp1[i] = _rand[i] ^ opc[i];
108 tmp1[i] = tmp2[i] ^ opc[i];
114 tmp3[i] ^= opc[
173 milenage_generate(const u8 *opc, const u8 *amf, const u8 *k, const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len) argument
208 milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts, u8 *sqn) argument
235 gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres, u8 *kc) argument
270 milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand, const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len, u8 *auts) argument
[all...]
H A Dmilenage.h12 void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k,
15 int milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts,
17 int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres,
19 int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand,
22 int milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand,
24 int milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand,
/freebsd-current/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs_vnops.c43 dtfs_node_lookup(struct puffs_usermount *pu, void *opc, argument
46 struct puffs_node *pn_dir = opc;
47 struct dtfs_file *df = DTFS_CTOF(opc);
99 dtfs_node_access(struct puffs_usermount *pu, void *opc, int acc_mode, argument
102 struct puffs_node *pn = opc;
109 dtfs_node_setattr(struct puffs_usermount *pu, void *opc, argument
112 struct puffs_node *pn = opc;
165 /* create a new node in the parent directory specified by opc */
167 dtfs_node_create(struct puffs_usermount *pu, void *opc, argument
171 struct puffs_node *pn_parent = opc;
186 dtfs_node_remove(struct puffs_usermount *pu, void *opc, void *targ, const struct puffs_cn *pcn) argument
204 dtfs_node_mkdir(struct puffs_usermount *pu, void *opc, struct puffs_newinfo *pni, const struct puffs_cn *pcn, const struct vattr *va) argument
220 dtfs_node_rmdir(struct puffs_usermount *pu, void *opc, void *targ, const struct puffs_cn *pcn) argument
236 dtfs_node_readdir(struct puffs_usermount *pu, void *opc, struct dirent *dent, off_t *readoff, size_t *reslen, const struct puffs_cred *pcr, int *eofflag, off_t *cookies, size_t *ncookies) argument
281 dtfs_node_poll(struct puffs_usermount *pu, void *opc, int *events) argument
301 dtfs_node_mmap(struct puffs_usermount *pu, void *opc, vm_prot_t prot, const struct puffs_cred *pcr) argument
313 dtfs_node_rename(struct puffs_usermount *pu, void *opc, void *src, const struct puffs_cn *pcn_src, void *targ_dir, void *targ, const struct puffs_cn *pcn_targ) argument
372 dtfs_node_link(struct puffs_usermount *pu, void *opc, void *targ, const struct puffs_cn *pcn) argument
390 dtfs_node_symlink(struct puffs_usermount *pu, void *opc, struct puffs_newinfo *pni, const struct puffs_cn *pcn_src, const struct vattr *va, const char *link_target) argument
413 dtfs_node_readlink(struct puffs_usermount *pu, void *opc, const struct puffs_cred *cred, char *linkname, size_t *linklen) argument
427 dtfs_node_mknod(struct puffs_usermount *pu, void *opc, struct puffs_newinfo *pni, const struct puffs_cn *pcn, const struct vattr *va) argument
453 dtfs_node_read(struct puffs_usermount *pu, void *opc, uint8_t *buf, off_t offset, size_t *resid, const struct puffs_cred *pcr, int ioflag) argument
491 dtfs_node_write(struct puffs_usermount *pu, void *opc, uint8_t *buf, off_t offset, size_t *resid, const struct puffs_cred *pcr, int ioflag) argument
527 dtfs_node_pathconf(struct puffs_usermount *pu, puffs_cookie_t opc, int name, register_t *retval) argument
568 dtfs_node_inactive(struct puffs_usermount *pu, puffs_cookie_t opc) argument
578 dtfs_node_reclaim(struct puffs_usermount *pu, void *opc) argument
[all...]
/freebsd-current/contrib/processor-trace/libipt/src/
H A Dpt_decoder_function.c224 uint8_t opc, ext, ext2; local
241 opc = *pos++;
242 switch (opc) {
245 if ((opc & pt_opm_tnt_8) == pt_opc_tnt_8) {
250 if ((opc & pt_opm_cyc) == pt_opc_cyc) {
255 if ((opc & pt_opm_tip) == pt_opc_tip) {
260 if ((opc & pt_opm_fup) == pt_opc_fup) {
265 if ((opc & pt_opm_tip) == pt_opc_tip_pge) {
270 if ((opc & pt_opm_tip) == pt_opc_tip_pgd) {
H A Dpt_packet.c549 uint8_t opc, plc; local
558 opc = *pos++;
559 plc = (opc >> pt_opm_ptw_pb_shr) & pt_opm_ptw_pb_shr_mask;
570 packet->ip = opc & pt_opm_ptw_ip ? 1 : 0;
/freebsd-current/sys/dev/nvme/
H A Dnvme_test.c50 enum nvme_nvm_opcode opc; member in struct:nvme_io_test_thread
60 enum nvme_nvm_opcode opc; member in struct:nvme_io_test_internal
105 bio->bio_cmd = (io_test->opc == NVME_OPC_READ) ?
181 switch (tth->opc) {
207 tth->opc = io_test->opc;
245 if ((io_test->opc != NVME_OPC_READ) &&
246 (io_test->opc != NVME_OPC_WRITE))
254 io_test_internal->opc = io_test->opc;
[all...]
H A Dnvme_ctrlr_cmd.c43 cmd->opc = NVME_OPC_IDENTIFY;
65 cmd->opc = NVME_OPC_IDENTIFY;
85 cmd->opc = NVME_OPC_CREATE_IO_CQ;
109 cmd->opc = NVME_OPC_CREATE_IO_SQ;
133 cmd->opc = NVME_OPC_DELETE_IO_CQ;
154 cmd->opc = NVME_OPC_DELETE_IO_SQ;
177 cmd->opc = NVME_OPC_SET_FEATURES;
199 cmd->opc = NVME_OPC_GET_FEATURES;
265 cmd->opc = NVME_OPC_GET_LOG_PAGE;
325 cmd->opc
[all...]
H A Dnvme_qpair.c102 get_opcode_string(const char *op[DEFAULT_INDEX + 1], uint16_t opc) argument
104 const char *nm = opc < DEFAULT_INDEX ? op[opc] : op[DEFAULT_INDEX];
110 get_admin_opcode_string(uint16_t opc) argument
112 return (get_opcode_string(admin_opcode, opc));
116 get_io_opcode_string(uint16_t opc) argument
118 return (get_opcode_string(io_opcode, opc));
128 get_admin_opcode_string(cmd->opc), cmd->opc, qpair->id, cmd->cid,
137 switch (cmd->opc) {
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocOverflowSecurityChecker.cpp84 BinaryOperatorKind opc = binop->getOpcode(); local
86 if (mulop == nullptr && opc == BO_Mul)
88 if (opc != BO_Mul && opc != BO_Add && opc != BO_Sub && opc != BO_Shl)
96 if (EvaluatesToZero(maxVal, opc))
98 } else if ((opc == BO_Add || opc == BO_Mul) &&
101 if (EvaluatesToZero(maxVal, opc))
[all...]
/freebsd-current/sys/cam/nvme/
H A Dnvme_all.c69 nvmeio->cmd.opc = cmd;
143 if (cmd->opc >= nitems(nvme_opc2str))
145 return nvme_opc2str[cmd->opc];
182 "opc=%x fuse=%x nsid=%x prp1=%llx prp2=%llx cdw=%x %x %x %x %x %x",
183 cmd->opc, cmd->fuse, cmd->nsid,
/freebsd-current/sbin/nvmecontrol/
H A Dperftest.c124 io_test->opc == NVME_OPC_READ ? "READ" : "WRITE",
166 io_test.opc = NVME_OPC_READ;
168 io_test.opc = NVME_OPC_WRITE;
H A Dnvmecontrol.c104 pt.cmd.opc = NVME_OPC_IDENTIFY;
127 pt.cmd.opc = NVME_OPC_IDENTIFY;
H A Dns.c423 pt.cmd.opc = NVME_OPC_IDENTIFY;
468 pt.cmd.opc = NVME_OPC_IDENTIFY;
513 pt.cmd.opc = NVME_OPC_IDENTIFY;
613 pt.cmd.opc = NVME_OPC_NAMESPACE_MANAGEMENT;
663 pt.cmd.opc = NVME_OPC_NAMESPACE_MANAGEMENT;
730 pt.cmd.opc = NVME_OPC_IDENTIFY;
749 pt.cmd.opc = NVME_OPC_NAMESPACE_ATTACHMENT;
800 pt.cmd.opc = NVME_OPC_IDENTIFY;
826 pt.cmd.opc = NVME_OPC_NAMESPACE_ATTACHMENT;
875 pt.cmd.opc
[all...]
H A Dresv.c254 pt.cmd.opc = NVME_OPC_RESERVATION_ACQUIRE;
293 pt.cmd.opc = NVME_OPC_RESERVATION_REGISTER;
331 pt.cmd.opc = NVME_OPC_RESERVATION_RELEASE;
371 pt.cmd.opc = NVME_OPC_RESERVATION_REPORT;
H A Dselftest.c61 pt.cmd.opc = NVME_OPC_DEVICE_SELF_TEST;
/freebsd-current/crypto/openssl/crypto/bio/
H A Dbss_log.c370 opcdef_p->opc$b_ms_type = OPC$_RQ_RQST;
371 memcpy(opcdef_p->opc$z_ms_target_classes, &VMS_OPC_target, 3);
372 opcdef_p->opc$l_ms_rqstid = 0;
373 memcpy(&opcdef_p->opc$l_ms_text, buf, len);
/freebsd-current/usr.sbin/nvmfd/
H A Dcontroller.c194 cmd->opc != NVME_OPC_FABRICS_COMMANDS) {
196 cmd->opc);
208 switch (cmd->opc) {
217 warnx("Unsupported admin opcode %#x", cmd->opc);
/freebsd-current/sys/dev/nvmf/host/
H A Dnvmf_cmd.c82 cmd.opc = NVME_OPC_KEEP_ALIVE;
100 cmd.opc = NVME_OPC_IDENTIFY;
126 cmd.opc = NVME_OPC_IDENTIFY;
157 cmd.opc = NVME_OPC_GET_LOG_PAGE;
/freebsd-current/sys/cam/ctl/
H A Dctl_nvme_all.c81 s = admin_opcode[ctnio->cmd.opc];
84 s = nvm_opcode[ctnio->cmd.opc];
88 sbuf_printf(sb, "%s:0x%02x", type, ctnio->cmd.opc);
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp46 unsigned opc, ///< opcode of the second cast constant expression
52 assert(CastInst::isCast(opc) && "Invalid cast opcode");
58 Instruction::CastOps secondOp = Instruction::CastOps(opc);
183 static Constant *foldMaybeUndesirableCast(unsigned opc, Constant *V, argument
185 return ConstantExpr::isDesirableCastOp(opc)
186 ? ConstantExpr::getCast(opc, V, DestTy)
187 : ConstantFoldCastInstruction(opc, V, DestTy);
190 Constant *llvm::ConstantFoldCastInstruction(unsigned opc, Constant *V, argument
199 if (opc == Instruction::ZExt || opc
45 foldConstantCastPair( unsigned opc, ConstantExpr *Op, Type *DstTy ) argument
[all...]
/freebsd-current/contrib/llvm-project/lld/ELF/Arch/
H A DPPC64.cpp163 OPC_AND_RST = 0xffe00000, // Primary opc (0-5) and R[ST] (6-10).
464 uint32_t opc = encoding & 0xfc000000; local
468 if ((opc == 0xe4000000 || opc == 0xe8000000 || opc == 0xf4000000 ||
469 opc == 0xf8000000) &&
471 opc = encoding & 0xfc000003;
472 else if (opc == 0xf4000000)
473 opc = encoding & 0xfc000007;
474 else if (opc
[all...]
/freebsd-current/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c86 u8 opc[16]; member in struct:milenage_parameters
127 " opc CHAR(32) NOT NULL,"
179 if (os_strcmp(col[i], "opc") == 0 && argv[i] &&
180 hexstr2bin(argv[i], m->opc, sizeof(m->opc))) {
448 hexstr2bin(pos, m->opc, 16)) {
541 pos += wpa_snprintf_hex(pos, end - pos, m->opc, 16);
621 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
688 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
763 milenage_generate(m->opc,
[all...]
/freebsd-current/contrib/llvm-project/lld/ELF/
H A DAArch64ErrataFix.cpp98 // | 0 Q 00 | 1101 | 0 L R 0 | 0000 | opc (3) S | size (2) | Rn (5) | Rt (5)|
100 // | 0 Q 00 | 1101 | 1 L R | Rm (5) | opc (3) S | size (2) | Rn (5) | Rt (5)|
141 // | opc (2) 01 | 1 V 00 | imm19 | Rt (5) |
148 // | opc (2) 10 | 1 V 00 | 0 L | imm7 | Rt2 (5) | Rn (5) | Rt (5) |
157 // | opc (2) 10 | 1 V 00 | 1 L | imm7 | Rt2 (5) | Rn (5) | Rt (5) |
165 // | opc (2) 10 | 1 V 01 | 0 L | imm7 | Rt2 (5) | Rn (5) | Rt (5) |
171 // | opc (2) 10 | 1 V 01 | 1 L | imm7 | Rt2 (5) | Rn (5) | Rt (5) |
182 // | size (2) 11 | 1 V 00 | opc (2) 0 | imm9 | 00 | Rn (5) | Rt (5) |
189 // | size (2) 11 | 1 V 00 | opc (2) 0 | imm9 | 01 | Rn (5) | Rt (5) |
195 // | size (2) 11 | 1 V 00 | opc (
258 uint32_t opc = (instr >> 22) & 0x3; local
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.cpp695 uint32_t opc = Bits32(opcode, 31, 30); local
718 if (opc == 3)
722 scale = 2 + UInt(opc);
724 scale = (opc & 2) ? 3 : 2;
725 is_signed = (opc & 1) != 0;
930 uint32_t opc = Bits32(opcode, 23, 22); local
958 if (Bit32(opc, 1) == 0) {
959 memop = Bit32(opc, 0) == 1 ? MemOp_LOAD : MemOp_STORE;
962 if (size == 2 && Bit32(opc, 0) == 1)
/freebsd-current/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrInfo.cpp247 unsigned opc[2]; local
254 opc[0] = VE::BRCFWir;
255 opc[1] = VE::BRCFWrr;
257 opc[0] = VE::BRCFLir;
258 opc[1] = VE::BRCFLrr;
262 opc[0] = VE::BRCFSir;
263 opc[1] = VE::BRCFSrr;
265 opc[0] = VE::BRCFDir;
266 opc[1] = VE::BRCFDrr;
270 BuildMI(&MBB, DL, get(opc[
[all...]

Completed in 186 milliseconds

1234