/illumos-gate/usr/src/cmd/fs.d/nfs/dtrace/ |
H A D | nfs-trace.d | 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-fsstat-start, 69 nfsv3:::op-link-start, 70 nfsv3:::op-mkdir-start, [all …]
|
/illumos-gate/usr/src/test/crypto-tests/tests/common/ |
H A D | cryptotest_pkcs.c | 57 crypto_op_t *op = malloc(sizeof (*op)); in cryptotest_init() local 59 if (op == NULL) { in cryptotest_init() 64 op->in = (CK_BYTE_PTR)arg->in; in cryptotest_init() 65 op->out = (CK_BYTE_PTR)arg->out; in cryptotest_init() 66 op->key = (CK_BYTE_PTR)arg->key; in cryptotest_init() 67 op->param = (CK_BYTE_PTR)arg->param; in cryptotest_init() 69 op->inlen = arg->inlen; in cryptotest_init() 70 op->outlen = arg->outlen; in cryptotest_init() 71 op->keylen = arg->keylen; in cryptotest_init() 72 op->paramlen = arg->plen; in cryptotest_init() [all …]
|
H A D | cryptotest_kcf.c | 82 crypto_op_t *op = malloc(sizeof (*op)); in cryptotest_init() local 84 if (op == NULL) { in cryptotest_init() 93 free(op); in cryptotest_init() 98 op->in = (char *)arg->in; in cryptotest_init() 99 op->out = (char *)arg->out; in cryptotest_init() 100 op->key = (char *)arg->key; in cryptotest_init() 101 op->param = (char *)arg->param; in cryptotest_init() 103 op->inlen = arg->inlen; in cryptotest_init() 104 op->outlen = arg->outlen; in cryptotest_init() 105 op->keylen = arg->keylen * 8; /* kcf uses keylen in bits */ in cryptotest_init() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_open_andx.c | 221 struct open_param *op = &sr->arg.open; in smb_pre_open() local 224 bzero(op, sizeof (sr->arg.open)); in smb_pre_open() 226 rc = smbsr_decode_vwv(sr, "ww", &op->omode, &op->fqi.fq_sattr); in smb_pre_open() 228 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path); in smb_pre_open() 244 struct open_param *op = &sr->arg.open; in smb_com_open() local 251 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open() 252 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open() 253 op->fqi.fq_path.pn_path); in smb_com_open() 254 op->crtime.tv_sec = op->crtime.tv_nsec = 0; in smb_com_open() 255 op->create_disposition = FILE_OPEN; in smb_com_open() [all …]
|
H A D | smb_nt_create_andx.c | 173 struct open_param *op = &sr->arg.open; in smb_pre_nt_create_andx() local 179 bzero(op, sizeof (sr->arg.open)); in smb_pre_nt_create_andx() 183 &op->nt_flags, in smb_pre_nt_create_andx() 184 &op->rootdirfid, in smb_pre_nt_create_andx() 185 &op->desired_access, in smb_pre_nt_create_andx() 186 &op->dsize, in smb_pre_nt_create_andx() 187 &op->dattr, in smb_pre_nt_create_andx() 188 &op->share_access, in smb_pre_nt_create_andx() 189 &op->create_disposition, in smb_pre_nt_create_andx() 190 &op->create_options, in smb_pre_nt_create_andx() [all …]
|
H A D | smb_nt_transact_create.c | 57 struct open_param *op = &sr->arg.open; in smb_pre_nt_transact_create() local 67 bzero(op, sizeof (sr->arg.open)); in smb_pre_nt_transact_create() 71 &op->nt_flags, in smb_pre_nt_transact_create() 72 &op->rootdirfid, in smb_pre_nt_transact_create() 73 &op->desired_access, in smb_pre_nt_transact_create() 74 &op->dsize, in smb_pre_nt_transact_create() 75 &op->dattr, in smb_pre_nt_transact_create() 76 &op->share_access, in smb_pre_nt_transact_create() 77 &op->create_disposition, in smb_pre_nt_transact_create() 78 &op->create_options, in smb_pre_nt_transact_create() [all …]
|
H A D | smb_common_open.c | 256 smb_arg_open_t *op = &sr->sr_open; in smb_common_open() local 257 smb_pathname_t *pn = &op->fqi.fq_path; in smb_common_open() 292 is_dir = (op->create_options & FILE_DIRECTORY_FILE) ? 1 : 0; in smb_common_open() 300 if ((op->create_disposition != FILE_CREATE) && in smb_common_open() 301 (op->create_disposition != FILE_OPEN_IF) && in smb_common_open() 302 (op->create_disposition != FILE_OPEN)) { in smb_common_open() 307 if (op->desired_access & MAXIMUM_ALLOWED) { in smb_common_open() 309 op->desired_access &= ~MAXIMUM_ALLOWED; in smb_common_open() 311 op->desired_access = smb_access_generic_to_file(op->desired_access); in smb_common_open() 327 op->devstate = 0; in smb_common_open() [all …]
|
H A D | smb_create.c | 38 struct open_param *op = &sr->arg.open; in smb_pre_create() local 41 bzero(op, sizeof (sr->arg.open)); in smb_pre_create() 43 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec); in smb_pre_create() 45 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path); in smb_pre_create() 47 op->create_disposition = FILE_OVERWRITE_IF; in smb_pre_create() 48 op->create_options = FILE_NON_DIRECTORY_FILE; in smb_pre_create() 80 struct open_param *op = &sr->arg.open; in smb_pre_create_new() local 83 bzero(op, sizeof (sr->arg.open)); in smb_pre_create_new() 85 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec); in smb_pre_create_new() 87 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path); in smb_pre_create_new() [all …]
|
H A D | smb2_create.c | 107 smb_arg_open_t *op = &sr->arg.open; in smb2_create() local 125 op->create_ctx = &cctx; /* for debugging */ in smb2_create() 150 &op->op_oplock_level, /* b */ in smb2_create() 154 &op->desired_access, /* l */ in smb2_create() 155 &op->dattr, /* l */ in smb2_create() 156 &op->share_access, /* l */ in smb2_create() 157 &op->create_disposition, /* l */ in smb2_create() 158 &op->create_options, /* l */ in smb2_create() 189 op->fqi.fq_path.pn_path = ""; in smb2_create() 192 NameLength, &op->fqi.fq_path.pn_path); in smb2_create() [all …]
|
H A D | smb2_oplock.c | 411 smb_arg_open_t *op = &sr->arg.open; in smb2_oplock_acquire() local 420 op->op_oplock_level = SMB2_OPLOCK_LEVEL_NONE; in smb2_oplock_acquire() 425 op->op_oplock_level = SMB2_OPLOCK_LEVEL_NONE; in smb2_oplock_acquire() 432 switch (op->op_oplock_level) { in smb2_oplock_acquire() 434 op->op_oplock_state = OPLOCK_LEVEL_BATCH; in smb2_oplock_acquire() 437 op->op_oplock_state = OPLOCK_LEVEL_ONE; in smb2_oplock_acquire() 440 op->op_oplock_state = OPLOCK_LEVEL_TWO; in smb2_oplock_acquire() 447 op->op_oplock_level = SMB2_OPLOCK_LEVEL_NONE; in smb2_oplock_acquire() 458 op->op_oplock_state = OPLOCK_LEVEL_TWO; in smb2_oplock_acquire() 464 if ((op->op_oplock_state & BATCH_OR_EXCL) != 0) { in smb2_oplock_acquire() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/ |
H A D | msgcvt.c | 190 sfpututf(Sfio_t* op, register int w) in sfpututf() argument 193 return sfputc(op, w); in sfpututf() 195 sfputc(op, 0xC0 + (w >> 6)); in sfpututf() 198 sfputc(op, 0xE0 + (w >> 12)); in sfpututf() 199 sfputc(op, 0x80 + (w >> 6 ) & 0x3F); in sfpututf() 202 return sfputc(op, '?'); in sfpututf() 203 return sfputc(op, 0x80 + (w & 0x3F)); in sfpututf() 216 html2msg(register Sfio_t* ip, register Sfio_t* op, int flags) in html2msg() argument 258 sfpututf(op, c); in html2msg() 277 sfputc(op, q); in html2msg() [all …]
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | inffast.c | 72 unsigned op; /* code bits, operation, extra bits, or */ in inflate_fast() local 110 op = (unsigned)(here->bits); in inflate_fast() 111 hold >>= op; in inflate_fast() 112 bits -= op; in inflate_fast() 113 op = (unsigned)(here->op); in inflate_fast() 114 if (op == 0) { /* literal */ in inflate_fast() 120 else if (op & 16) { /* length base */ in inflate_fast() 122 op &= 15; /* number of extra bits */ in inflate_fast() 123 if (op) { in inflate_fast() 124 if (bits < op) { in inflate_fast() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppproto.c | 86 char* op; /* output buffer pointer */ member 391 init(Proto_t* proto, char* op, int flags) in init() argument 397 op = strcopy(op, "\ in init() 459 op = strcopy(op, "\ in init() 491 switch (*op++ = *s++) in init() 494 op--; in init() 497 op = strcopy(op - 1, proto->package); in init() 505 return op; in init() 508 #define BACKOUT() (op=ko) 511 #define CACHEOUT() (op=proto->op) [all …]
|
H A D | ppcontext.c | 40 struct ppcontext* op; in ppcontext() local 44 if (!(op = pp.context)) op = pp.context = newof(0, struct ppcontext, 1, 0); in ppcontext() 45 memcpy(op, _PP_CONTEXT_BASE_, sizeof(struct ppcontext)); in ppcontext() 49 if (!(op = np)) op = (struct ppcontext*)_PP_CONTEXT_BASE_; in ppcontext() 50 if (op->filtab) hashfree(op->filtab); in ppcontext() 51 if (op->prdtab) hashfree(op->prdtab); in ppcontext() 52 if (op->symtab) hashfree(op->symtab); in ppcontext() 53 if (op->date) free(op->date); in ppcontext() 54 if (op->time) free(op->time); in ppcontext() 60 memzero(op, sizeof(struct ppcontext)); in ppcontext() [all …]
|
/illumos-gate/usr/src/lib/libbsdmalloc/common/ |
H A D | malloc.bsd43.c | 98 union overhead *op; in malloc() local 109 op = sbrk(0); in malloc() 110 n = pagesz - sizeof (*op) - ((uintptr_t)op & (pagesz - 1)); in malloc() 123 op = sbrk(0); in malloc() 124 sbrk_adjust = (uintptr_t)(op + 1) & (pagesz - 1); in malloc() 141 if (nbytes <= (n = pagesz - sizeof (*op))) { in malloc() 144 n = -(ssize_t)(sizeof (*op)); in malloc() 159 if ((op = nextf[bucket]) == NULL) { in malloc() 161 if ((op = nextf[bucket]) == NULL) in malloc() 165 nextf[bucket] = op->ov_next; in malloc() [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | fastlz.c | 201 unsigned char *op = (unsigned char *) output; in FASTLZ_COMPRESSOR() local 214 *op++ = length - 1; in FASTLZ_COMPRESSOR() 217 *op++ = *ip++; in FASTLZ_COMPRESSOR() 229 *op++ = MAX_COPY - 1; in FASTLZ_COMPRESSOR() 230 *op++ = *ip++; in FASTLZ_COMPRESSOR() 231 *op++ = *ip++; in FASTLZ_COMPRESSOR() 333 *(op - copy - 1) = copy - 1; in FASTLZ_COMPRESSOR() 336 op--; in FASTLZ_COMPRESSOR() 349 *op++ = (len << 5) + (distance >> 8); in FASTLZ_COMPRESSOR() 350 *op++ = (distance & 255); in FASTLZ_COMPRESSOR() [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_set.c | 45 struct option *op; in set() local 261 for (op = options; op < &options[vi_NOPTS]; op++) in set() 262 if (eq(op->oname, cp) || op->oabbrev && eq(op->oabbrev, cp)) in set() 264 if (op->oname == 0) in set() 273 propt(op); in set() 277 if (op->otype == ONOFF) { in set() 278 op->ovalue = 1 - no; in set() 279 if (op == &options[vi_PROMPT]) in set() 285 gettext("Option %s is not a toggle"), op->oname); in set() 293 op->oname); in set() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_lookup.c | 221 iplookupop_t op; local 227 err = BCOPYIN(data, &op, sizeof(op)); 231 op.iplo_name[sizeof(op.iplo_name) - 1] = '\0'; 233 switch (op.iplo_type) 236 if (op.iplo_size != sizeof(node)) 239 err = COPYIN(op.iplo_struct, &node, sizeof(node)); 243 p = ip_pool_find(op.iplo_unit, op.iplo_name, ifs); 260 if (op.iplo_size != sizeof(hte)) 263 err = COPYIN(op.iplo_struct, &hte, sizeof(hte)); 267 iph = fr_findhtable(op.iplo_unit, op.iplo_name, ifs); [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | proto.c | 257 int op; member 942 ppfsm __PARAM__((int op, register char* s), (op, s)) __OTORP__(int op; register char* s;){ in __OTORP__() 953 switch (op) 1317 char* op; member 2684 init __PARAM__((Proto_t* proto, char* op, int flags), (proto, op, flags)) __OTORP__(Proto_t* proto;… in __OTORP__() 2689 op = strcopy(op, "\ 2751 op = strcopy(op, "\ 2783 switch (*op++ = *s++) 2786 op--; 2789 op = strcopy(op - 1, proto->package); [all …]
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | who.c | 49 Objinfo *op, *cur, *prev; in add_object() local 55 if ((op = calloc(1, sizeof (Objinfo))) == NULL) { in add_object() 72 op->o_lpc = lpc; in add_object() 73 op->o_hpc = hpc; in add_object() 74 op->o_lmp = lmp; in add_object() 77 op->o_flags |= FLG_OB_FIXED; in add_object() 80 *objlist = op; in add_object() 88 op->o_next = *objlist; in add_object() 89 *objlist = op; in add_object() 98 op->o_next = *objlist; in add_object() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | printer.c | 85 papi_attribute_t **request = NULL, **op = NULL, **response = NULL; in papiPrintersList() local 97 ipp_initialize_operational_attributes(svc, &op, NULL, -1); in papiPrintersList() 103 papiAttributeListAddString(&op, PAPI_ATTR_APPEND, in papiPrintersList() 108 "operational-attributes-group", op); in papiPrintersList() 109 papiAttributeListFree(op); in papiPrintersList() 113 op = NULL; in papiPrintersList() 115 "printer-attributes-group", &op); in papiPrintersList() 118 NULL, &op)) { in papiPrintersList() 124 copy_attributes(&p->attributes, op); in papiPrintersList() 125 op = NULL; in papiPrintersList() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/Documentation/ |
H A D | IR.rst | 25 .. op:: OP_RET 31 .. op:: OP_BR 36 .. op:: OP_CBR 43 .. op:: OP_SWITCH 50 .. op:: OP_COMPUTEDGOTO 63 .. op:: OP_ADD 66 .. op:: OP_SUB 69 .. op:: OP_MUL 72 .. op:: OP_DIVU 75 .. op:: OP_DIVS [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/vi/common/ |
H A D | UTF-8%tcvn.c | 79 unsigned char *op = (unsigned char*)*inbuf; in _icv_iconv() local 104 if(0x00 == (*op & 0x80)) { in _icv_iconv() 106 uni = (unsigned short)*op; in _icv_iconv() 113 if ( 0xc0 == (*op & 0xe0) && in _icv_iconv() 114 0x80 == (*(op + 1) & 0xc0) ) { in _icv_iconv() 116 temp1 = (unsigned short)(*op & 0x1f); in _icv_iconv() 118 temp1 |= (unsigned short)(*(op + 1) & 0x3f); in _icv_iconv() 126 if ( 0xe0 == (*op & 0xf0) && in _icv_iconv() 127 0x80 == (*(op + 1) & 0xc0) && in _icv_iconv() 128 0x80 == (*(op + 2) & 0xc0) ) { in _icv_iconv() [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sse.c | 100 inst->op = (int)cvtsi2ss + simd + dbl; in __fex_parse_sse() 102 inst->op = (int)inst->op + (rex & 8); in __fex_parse_sse() 106 inst->op = (int)cvttss2si + simd + dbl; in __fex_parse_sse() 108 inst->op = (int)inst->op + (rex & 8); in __fex_parse_sse() 112 inst->op = (int)cvtss2si + simd + dbl; in __fex_parse_sse() 114 inst->op = (int)inst->op + (rex & 8); in __fex_parse_sse() 121 inst->op = (int)ucomiss + dbl; in __fex_parse_sse() 128 inst->op = (int)comiss + dbl; in __fex_parse_sse() 132 inst->op = (int)sqrtss + simd + dbl; in __fex_parse_sse() 136 inst->op = (int)addss + simd + dbl; in __fex_parse_sse() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | open.c | 48 _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 & O_EXCL) [all …]
|