Searched refs:op (Results 1 - 25 of 1001) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dloop2.c1 extern int op(void);
7 op();
/illumos-gate/usr/src/lib/libpp/common/
H A Dppcontext.c27 * args op return
40 struct ppcontext* op; local
44 if (!(op = pp.context)) op = pp.context = newof(0, struct ppcontext, 1, 0);
45 memcpy(op, _PP_CONTEXT_BASE_, sizeof(struct ppcontext));
49 if (!(op = np)) op = (struct ppcontext*)_PP_CONTEXT_BASE_;
50 if (op->filtab) hashfree(op->filtab);
51 if (op
[all...]
/illumos-gate/usr/src/lib/libast/common/string/
H A Dswapop.c35 * if size<0 then (-size) used and (-size==4)&&(op==3) => op=7
42 register int op; local
51 for (op = 0; op < z; op++)
52 if (!memcmp(internal, swapmem(op, external, tmp, z), z))
54 if (size < 0 && z == 4 && op == 3)
55 op = 7;
56 return op;
[all...]
H A Dswapput.c34 * put v of n chars into b according to op
38 swapput(int op, void* b, int n, intmax_t v) argument
47 if (op)
48 swapmem(op, p, p, n);
/illumos-gate/usr/src/cmd/fs.d/nfs/dtrace/
H A Dnfs-trace.d33 * nfsv3:::op-*-start {}
34 * nfsv3:::op-*-done {}
61 nfsv3:::op-getattr-start,
62 nfsv3:::op-setattr-start,
63 nfsv3:::op-lookup-start,
64 nfsv3:::op-access-start,
65 nfsv3:::op-commit-start,
66 nfsv3:::op-create-start,
67 nfsv3:::op-fsinfo-start,
68 nfsv3:::op
[all...]
/illumos-gate/usr/src/test/crypto-tests/tests/common/
H A Dcryptotest_pkcs.c57 crypto_op_t *op = malloc(sizeof (*op)); local
59 if (op == NULL) {
64 op->in = (CK_BYTE_PTR)arg->in;
65 op->out = (CK_BYTE_PTR)arg->out;
66 op->key = (CK_BYTE_PTR)arg->key;
67 op->param = (CK_BYTE_PTR)arg->param;
69 op->inlen = arg->inlen;
70 op->outlen = arg->outlen;
71 op
98 cryptotest_close(crypto_op_t *op) argument
110 get_mech_info(crypto_op_t *op) argument
125 get_hsession_by_mech(crypto_op_t *op) argument
143 sign_init(crypto_op_t *op) argument
167 sign_single(crypto_op_t *op) argument
179 sign_update(crypto_op_t *op, size_t offset, size_t len) argument
190 sign_final(crypto_op_t *op) argument
203 mac_init(crypto_op_t *op) argument
209 mac_single(crypto_op_t *op) argument
215 mac_update(crypto_op_t *op, size_t offset, size_t len, size_t *dummy __unused) argument
221 mac_final(crypto_op_t *op, size_t dummy __unused) argument
230 verify_init(crypto_op_t *op) argument
254 verify_single(crypto_op_t *op) argument
266 verify_update(crypto_op_t *op, size_t offset, size_t len) argument
276 verify_final(crypto_op_t *op) argument
290 encrypt_init(crypto_op_t *op) argument
314 encrypt_single(crypto_op_t *op) argument
326 encrypt_update(crypto_op_t *op, size_t offset, size_t plainlen, size_t *encrlen) argument
340 encrypt_final(crypto_op_t *op, size_t encrlen) argument
354 decrypt_init(crypto_op_t *op) argument
378 decrypt_single(crypto_op_t *op) argument
390 decrypt_update(crypto_op_t *op, size_t offset, size_t len, size_t *encrlen) argument
404 decrypt_final(crypto_op_t *op, size_t encrlen) argument
418 digest_init(crypto_op_t *op) argument
434 digest_single(crypto_op_t *op) argument
446 digest_update(crypto_op_t *op, size_t offset, size_t len, size_t *dummy __unused) argument
458 digest_final(crypto_op_t *op, size_t dummy __unused) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_open_andx.c221 struct open_param *op = &sr->arg.open; local
224 bzero(op, sizeof (sr->arg.open));
226 rc = smbsr_decode_vwv(sr, "ww", &op->omode, &op->fqi.fq_sattr);
228 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
244 struct open_param *op = &sr->arg.open; local
251 op->desired_access = smb_omode_to_amask(op->omode);
252 op->share_access = smb_denymode_to_sharemode(op
330 struct open_param *op = &sr->arg.open; local
384 struct open_param *op = &sr->arg.open; local
507 struct open_param *op = &sr->arg.open; local
[all...]
H A Dsmb_oplock.c42 smb_arg_open_t *op = &sr->arg.open; local
48 op->op_oplock_level = SMB_OPLOCK_NONE;
53 op->op_oplock_level = SMB_OPLOCK_NONE;
65 switch (op->op_oplock_level) {
67 op->op_oplock_state = OPLOCK_LEVEL_BATCH;
70 op->op_oplock_state = OPLOCK_LEVEL_ONE;
73 op->op_oplock_state = OPLOCK_LEVEL_TWO;
77 op->op_oplock_level = SMB_OPLOCK_NONE;
85 op->op_oplock_state = OPLOCK_LEVEL_TWO;
91 if ((op
[all...]
H A Dsmb_create.c38 struct open_param *op = &sr->arg.open; local
41 bzero(op, sizeof (sr->arg.open));
43 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec);
45 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path);
47 op->create_disposition = FILE_OVERWRITE_IF;
48 op->create_options = FILE_NON_DIRECTORY_FILE;
80 struct open_param *op = &sr->arg.open; local
83 bzero(op, sizeof (sr->arg.open));
85 rc = smbsr_decode_vwv(sr, "wl", &op
121 struct open_param *op = &sr->arg.open; local
148 struct open_param *op = &sr->arg.open; local
179 struct open_param *op = &sr->arg.open; local
[all...]
H A Dsmb_nt_transact_create.c57 struct open_param *op = &sr->arg.open; local
67 bzero(op, sizeof (sr->arg.open));
71 &op->nt_flags,
72 &op->rootdirfid,
73 &op->desired_access,
74 &op->dsize,
75 &op->dattr,
76 &op->share_access,
77 &op->create_disposition,
78 &op
148 struct open_param *op = &sr->arg.open; local
[all...]
H A Dsmb_nt_create_andx.c173 struct open_param *op = &sr->arg.open; local
179 bzero(op, sizeof (sr->arg.open));
183 &op->nt_flags,
184 &op->rootdirfid,
185 &op->desired_access,
186 &op->dsize,
187 &op->dattr,
188 &op->share_access,
189 &op->create_disposition,
190 &op
237 struct open_param *op = &sr->arg.open; local
[all...]
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfseek.c31 fseek(Sfio_t* f, long off, int op) argument
33 STDIO_INT(f, "fseek", int, (Sfio_t*, long, int), (f, off, op))
35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
41 fseek64(Sfio_t* f, int64_t off, int op) argument
43 STDIO_INT(f, "fseek64", int, (Sfio_t*, int64_t, int), (f, off, op))
45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
H A Dfseeko.c31 fseeko(Sfio_t* f, off_t off, int op) argument
33 STDIO_INT(f, "fseeko", int, (Sfio_t*, off_t, int), (f, off, op))
35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
41 fseeko64(Sfio_t* f, int64_t off, int op) argument
43 STDIO_INT(f, "fseeko64", int, (Sfio_t*, int64_t, int), (f, off, op))
45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dgetsubopt.c42 getsubopt(register char** op, char* const* tp, char** vp)
48 if (*(b = *op))
74 *op = s;
76 for (op = (char**)tp; *op; op++)
77 if (streq(b, *op))
78 return op - (char**)tp;
H A Dopen.c48 _ast_open(const char* path, int op, ...)
57 va_start(ap, op);
58 mode = (op & O_CREAT) ? va_arg(ap, int) : S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
60 if (op & ~(_ast_O_LOCAL-1))
62 if (!(op & O_CREAT))
63 op &= ~O_EXCL;
66 if (op & O_TRUNC)
68 if ((op & O_EXCL) && !access(path, F_OK))
73 if ((fd = creat(path, (op & O_EXCL) ? 0 : mode)) < 0)
75 if (op
[all...]
H A Dfcntl.c52 _ast_fcntl(int fd, int op, ...)
60 va_start(ap, op);
61 if (op >= _ast_F_LOCAL) switch (op)
66 op = dup2(fd, n);
71 op = fstat(fd, &st);
77 op = ioctl(fd, n == FD_CLOEXEC ? FIOCLEX : FIONCLEX, 0);
82 op = -1;
87 op = fcntl(fd, op, va_ar
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Ddiscovery.h34 #define FCT_ELS_NAME(op) (((op > 0x7f) || (fct_els_names[(op)] == 0)) ? \
35 "" : (fct_els_names[(op)]))
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dremove_hash.c22 iplookupop_t op; local
30 op.iplo_type = IPLT_HASH;
31 op.iplo_unit = iphp->iph_unit;
32 strncpy(op.iplo_name, iphp->iph_name, sizeof(op.iplo_name));
33 if (*op.iplo_name == '\0')
34 op.iplo_arg = IPHASH_ANON;
35 op.iplo_size = sizeof(iph);
36 op.iplo_struct = &iph;
44 if ((*iocfunc)(hashfd, SIOCLOOKUPDELTABLE, &op))
[all...]
H A Dremove_pool.c22 iplookupop_t op; local
30 op.iplo_type = IPLT_POOL;
31 op.iplo_unit = poolp->ipo_unit;
32 strncpy(op.iplo_name, poolp->ipo_name, sizeof(op.iplo_name));
33 op.iplo_size = sizeof(pool);
34 op.iplo_struct = &pool;
41 if ((*iocfunc)(poolfd, SIOCLOOKUPDELTABLE, &op))
H A Daddipopt.c12 int addipopt(op, io, len, class)
13 char *op;
29 *op++ = io->on_value;
31 s = op;
32 *op++ = io->on_siz;
33 *op++ = IPOPT_MINOFF;
40 *(op - 1) = lvl;
46 bcopy((char *)&ipadr, op, sizeof(ipadr));
50 bcopy((char *)&val, op, 2);
55 op
[all...]
H A Dload_pool.c28 iplookupop_t op; local
41 op.iplo_unit = plp->ipo_unit;
42 op.iplo_type = IPLT_POOL;
43 op.iplo_arg = 0;
44 strncpy(op.iplo_name, plp->ipo_name, sizeof(op.iplo_name));
45 op.iplo_size = sizeof(pool);
46 op.iplo_struct = &pool;
50 op.iplo_arg |= IPOOL_ANON;
53 if ((*iocfunc)(poolfd, SIOCLOOKUPADDTABLE, &op))
[all...]
/illumos-gate/usr/src/contrib/zlib/
H A Dinffast.c72 unsigned op; /* code bits, operation, extra bits, or */ local
110 op = (unsigned)(here.bits);
111 hold >>= op; local
112 bits -= op;
113 op = (unsigned)(here.op);
114 if (op == 0) { /* literal */
120 else if (op & 16) { /* length base */
122 op &= 15; /* number of extra bits */
123 if (op) {
129 hold >>= op; local
142 hold >>= op; local
164 hold >>= op; local
[all...]
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsgcvt.c190 sfpututf(Sfio_t* op, register int w) argument
193 return sfputc(op, w);
195 sfputc(op, 0xC0 + (w >> 6));
198 sfputc(op, 0xE0 + (w >> 12));
199 sfputc(op, 0x80 + (w >> 6 ) & 0x3F);
202 return sfputc(op, '?');
203 return sfputc(op, 0x80 + (w & 0x3F));
216 html2msg(register Sfio_t* ip, register Sfio_t* op, int flags) argument
258 sfpututf(op, c);
277 sfputc(op,
411 encode(Sfio_t* op, register int c) argument
430 msg2html(register Sfio_t* ip, register Sfio_t* op, register int flags) argument
[all...]
/illumos-gate/usr/src/lib/iconv_modules/vi/common/
H A DUTF-8%tcvn.c79 unsigned char *op = (unsigned char*)*inbuf; local
104 if(0x00 == (*op & 0x80)) {
106 uni = (unsigned short)*op;
113 if ( 0xc0 == (*op & 0xe0) &&
114 0x80 == (*(op + 1) & 0xc0) ) {
116 temp1 = (unsigned short)(*op & 0x1f);
118 temp1 |= (unsigned short)(*(op + 1) & 0x3f);
126 if ( 0xe0 == (*op & 0xf0) &&
127 0x80 == (*(op + 1) & 0xc0) &&
128 0x80 == (*(op
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dfastlz.c201 unsigned char *op = (unsigned char *) output; local
214 *op++ = length - 1;
217 *op++ = *ip++;
229 *op++ = MAX_COPY - 1;
230 *op++ = *ip++;
231 *op++ = *ip++;
333 *(op - copy - 1) = copy - 1;
336 op--;
349 *op++ = (len << 5) + (distance >> 8);
350 *op
449 unsigned char *op = (unsigned char *) output; local
[all...]

Completed in 87 milliseconds

1234567891011>>