/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_open_andx.c | 220 struct open_param *op = &sr->arg.open; in smb_pre_open() local 223 bzero(op, sizeof (sr->arg.open)); in smb_pre_open() 225 rc = smbsr_decode_vwv(sr, "ww", &op->omode, &op->fqi.fq_sattr); in smb_pre_open() 227 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path); in smb_pre_open() 230 struct open_param *, op); in smb_pre_open() 244 struct open_param *op = &sr->arg.open; in smb_com_open() local 250 op->desired_access = smb_omode_to_amask(op->omode); in smb_com_open() 251 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open() 252 op->fqi.fq_path.pn_path); in smb_com_open() 253 op->crtime.tv_sec = op->crtime.tv_nsec = 0; in smb_com_open() [all …]
|
H A D | smb_nt_create_andx.c | 171 struct open_param *op = &sr->arg.open; in smb_pre_nt_create_andx() local 177 bzero(op, sizeof (sr->arg.open)); in smb_pre_nt_create_andx() 181 &op->nt_flags, in smb_pre_nt_create_andx() 182 &op->rootdirfid, in smb_pre_nt_create_andx() 183 &op->desired_access, in smb_pre_nt_create_andx() 184 &op->dsize, in smb_pre_nt_create_andx() 185 &op->dattr, in smb_pre_nt_create_andx() 186 &op->share_access, in smb_pre_nt_create_andx() 187 &op->create_disposition, in smb_pre_nt_create_andx() 188 &op->create_options, in smb_pre_nt_create_andx() [all …]
|
H A D | smb_nt_transact_create.c | 55 struct open_param *op = &sr->arg.open; in smb_pre_nt_transact_create() local 65 bzero(op, sizeof (sr->arg.open)); in smb_pre_nt_transact_create() 69 &op->nt_flags, in smb_pre_nt_transact_create() 70 &op->rootdirfid, in smb_pre_nt_transact_create() 71 &op->desired_access, in smb_pre_nt_transact_create() 72 &op->dsize, in smb_pre_nt_transact_create() 73 &op->dattr, in smb_pre_nt_transact_create() 74 &op->share_access, in smb_pre_nt_transact_create() 75 &op->create_disposition, in smb_pre_nt_transact_create() 76 &op->create_options, in smb_pre_nt_transact_create() [all …]
|
H A D | smb_create.c | 37 struct open_param *op = &sr->arg.open; in smb_pre_create() local 40 bzero(op, sizeof (sr->arg.open)); in smb_pre_create() 42 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec); in smb_pre_create() 44 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path); in smb_pre_create() 46 op->create_disposition = FILE_OVERWRITE_IF; in smb_pre_create() 47 op->create_options = FILE_NON_DIRECTORY_FILE; in smb_pre_create() 50 struct open_param *, op); 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() [all …]
|
H A D | smb_common_open.c | 311 smb_arg_open_t *op = &sr->sr_open; in smb_open_subr() local 323 smb_pathname_t *pn = &op->fqi.fq_path; in smb_open_subr() 326 is_dir = (op->create_options & FILE_DIRECTORY_FILE) ? 1 : 0; in smb_open_subr() 334 if ((op->create_disposition != FILE_CREATE) && in smb_open_subr() 335 (op->create_disposition != FILE_OPEN_IF) && in smb_open_subr() 336 (op->create_disposition != FILE_OPEN)) { in smb_open_subr() 343 if (op->desired_access & MAXIMUM_ALLOWED) { in smb_open_subr() 345 op->desired_access &= ~MAXIMUM_ALLOWED; in smb_open_subr() 347 op->desired_access = smb_access_generic_to_file(op->desired_access); in smb_open_subr() 362 op->devstate = 0; in smb_open_subr() [all …]
|
/titanic_44/usr/src/cmd/ast/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 …]
|
/titanic_44/usr/src/lib/libpp/common/ |
H A D | ppproto.c | 80 char* op; /* output buffer pointer */ member 361 init(struct proto* proto, char* op, int flags) in init() argument 367 op = strcopy(op, "\ in init() 429 op = strcopy(op, "\ in init() 461 switch (*op++ = *s++) in init() 464 op--; in init() 467 op = strcopy(op - 1, proto->package); in init() 475 return op; in init() 478 #define BACKOUT() (op=ko) 481 #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 …]
|
/titanic_44/usr/src/uts/common/zmod/ |
H A D | inffast.c | 93 unsigned op; /* code bits, operation, extra bits, or */ local 131 op = (unsigned)(this.bits); 132 hold >>= op; 133 bits -= op; 134 op = (unsigned)(this.op); 135 if (op == 0) { /* literal */ 141 else if (op & 16) { /* length base */ 143 op &= 15; /* number of extra bits */ 144 if (op) { 145 if (bits < op) { [all …]
|
/titanic_44/usr/src/lib/libbsdmalloc/common/ |
H A D | malloc.bsd43.c | 99 union overhead *op; in malloc() local 110 op = sbrk(0); in malloc() 111 n = pagesz - sizeof (*op) - ((uintptr_t)op & (pagesz - 1)); in malloc() 124 op = sbrk(0); in malloc() 125 sbrk_adjust = (uintptr_t)(op + 1) & (pagesz - 1); in malloc() 142 if (nbytes <= (n = pagesz - sizeof (*op))) { in malloc() 145 n = -(ssize_t)(sizeof (*op)); in malloc() 160 if ((op = nextf[bucket]) == NULL) { in malloc() 162 if ((op = nextf[bucket]) == NULL) in malloc() 166 nextf[bucket] = op->ov_next; in malloc() [all …]
|
/titanic_44/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 …]
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | lz4.c | 535 BYTE *op = (BYTE *) dest; in LZ4_compressCtx() local 584 token = op++; in LZ4_compressCtx() 587 if unlikely(op + length + (2 + 1 + LASTLITERALS) + in LZ4_compressCtx() 595 *op++ = 255; in LZ4_compressCtx() 596 *op++ = (BYTE)len; in LZ4_compressCtx() 601 LZ4_BLINDCOPY(anchor, op, length); in LZ4_compressCtx() 605 LZ4_WRITE_LITTLEENDIAN_16(op, ip - ref); in LZ4_compressCtx() 638 if unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend) in LZ4_compressCtx() 644 *op++ = 255; in LZ4_compressCtx() 645 *op++ = 255; in LZ4_compressCtx() [all …]
|
/titanic_44/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 …]
|
/titanic_44/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 …]
|
/titanic_44/usr/src/lib/print/libpapi-ipp/common/ |
H A D | printer.c | 87 papi_attribute_t **request = NULL, **op = NULL, **response = NULL; in papiPrintersList() local 99 ipp_initialize_operational_attributes(svc, &op, NULL, -1); in papiPrintersList() 105 papiAttributeListAddString(&op, PAPI_ATTR_APPEND, in papiPrintersList() 110 "operational-attributes-group", op); in papiPrintersList() 111 papiAttributeListFree(op); in papiPrintersList() 115 op = NULL; in papiPrintersList() 117 "printer-attributes-group", &op); in papiPrintersList() 120 NULL, &op)) { in papiPrintersList() 126 copy_attributes(&p->attributes, op); in papiPrintersList() 127 op = NULL; in papiPrintersList() [all …]
|
/titanic_44/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/type/ |
H A D | Op.java | 162 Op op; in clone() local 165 op = (Op)super.clone(); in clone() 171 if (op.filter != null) in clone() 172 op.filter = (OpFilter)op.filter.clone(); in clone() 173 if (op.action != null) in clone() 174 op.action = (OpAction)op.action.clone(); in clone() 176 return op; in clone() 225 Op op = (Op)obj; in convertToString() local 227 if (op == null) in convertToString() 234 if (op.name != null) { in convertToString() [all …]
|
/titanic_44/usr/src/lib/libast/common/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 …]
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_hash.c | 81 refhash_insert(refhash_t *hp, void *op) in refhash_insert() argument 84 refhash_link_t *lp = obj_to_link(hp, op); in refhash_insert() 86 bucket = hp->rh_hash(obj_to_tag(hp, op)) % hp->rh_bucket_count; in refhash_insert() 96 refhash_delete(refhash_t *hp, void *op) in refhash_delete() argument 98 refhash_link_t *lp = obj_to_link(hp, op); in refhash_delete() 101 bucket = hp->rh_hash(obj_to_tag(hp, op)) % hp->rh_bucket_count; in refhash_delete() 104 hp->rh_dtor(op); in refhash_delete() 108 refhash_remove(refhash_t *hp, void *op) in refhash_remove() argument 110 refhash_link_t *lp = obj_to_link(hp, op); in refhash_remove() 115 refhash_delete(hp, op); in refhash_remove() [all …]
|
/titanic_44/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/ |
H A D | GBConstraints.java | 167 StringTokenizer op = new StringTokenizer(option_string, in parseConstraints() local 169 String option = op.nextToken(); in parseConstraints() 173 gridx = convertSymbolicValue(getValueToken(op)); in parseConstraints() 176 gridy = convertSymbolicValue(getValueToken(op)); in parseConstraints() 180 op)); in parseConstraints() 183 gridheight = convertSymbolicValue(getValueToken(op)); in parseConstraints() 186 Double x = new Double(getValueToken(op)); in parseConstraints() 189 Double x = new Double(getValueToken(op)); in parseConstraints() 192 anchor = convertSymbolicValue(getValueToken(op)); in parseConstraints() 194 fill = convertSymbolicValue(getValueToken(op)); in parseConstraints() [all …]
|
/titanic_44/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 …]
|
/titanic_44/usr/src/lib/libcurses/screen/ |
H A D | tparm.c | 257 long op; in tparm() local 307 op = tops(&stk); in tparm() 390 (char *) op); in tparm() 392 (void) sprintf(outp, formatbuffer, op); in tparm() 426 switch (op) { in tparm() 432 op = 0200; /* Parity should */ in tparm() 449 if (onrow && xp && op < lines-1 && in tparm() 451 op += 2; in tparm() 457 op--; in tparm() 475 *outp++ = (char)op; in tparm() [all …]
|
/titanic_44/usr/src/uts/i86xpv/io/ |
H A D | privcmd_hcall.c | 198 xen_domctl_t op; in privcmd_HYPERVISOR_domctl() local 202 if ((error = import_buffer(&op_ie, opp, &op, sizeof (op), in privcmd_HYPERVISOR_domctl() 211 if (op.interface_version != XEN_DOMCTL_INTERFACE_VERSION) { in privcmd_HYPERVISOR_domctl() 214 op.cmd, op.interface_version, XEN_DOMCTL_INTERFACE_VERSION); in privcmd_HYPERVISOR_domctl() 226 switch (op.cmd) { in privcmd_HYPERVISOR_domctl() 229 &op.u.createdomain); in privcmd_HYPERVISOR_domctl() 233 DTRACE_XPV1(dom__destroy__start, domid_t, op.domain); in privcmd_HYPERVISOR_domctl() 237 DTRACE_XPV1(dom__pause__start, domid_t, op.domain); in privcmd_HYPERVISOR_domctl() 241 DTRACE_XPV1(dom__unpause__start, domid_t, op.domain); in privcmd_HYPERVISOR_domctl() 245 error = import_handle(&sub_ie, &op.u.getmemlist.buffer, in privcmd_HYPERVISOR_domctl() [all …]
|
/titanic_44/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_lz4.c | 195 BYTE *restrict op = (BYTE *) dest; in LZ4_uncompress_unknownOutputSize() local 196 BYTE *const oend = op + maxOutputSize; in LZ4_uncompress_unknownOutputSize() 216 cpy = op + length; in LZ4_uncompress_unknownOutputSize() 218 if (cpy < op) in LZ4_uncompress_unknownOutputSize() 234 memcpy(op, ip, length); in LZ4_uncompress_unknownOutputSize() 235 op += length; in LZ4_uncompress_unknownOutputSize() 243 LZ4_WILDCOPY(ip, op, cpy); in LZ4_uncompress_unknownOutputSize() 244 ip -= (op - cpy); in LZ4_uncompress_unknownOutputSize() 245 op = cpy; in LZ4_uncompress_unknownOutputSize() 268 if unlikely(op - ref < STEPSIZE) { in LZ4_uncompress_unknownOutputSize() [all …]
|
/titanic_44/usr/src/uts/common/fs/zev/ |
H A D | zev_callbacks.c | 23 zev_queue_error(op, "znode write: " \ 47 int op = ZEV_OP_ZFS_MOUNT; in zev_zfs_mount_cb() local 80 zev_queue_error(op, "unresolvable mountpoint, dataset=%s", in zev_zfs_mount_cb() 85 zev_queue_error(op, "can't get root znode, dataset=%s", in zev_zfs_mount_cb() 95 zev_queue_error(op, "can't create tx, dataset=%s", dataset); in zev_zfs_mount_cb() 108 rec->op = op; in zev_zfs_mount_cb() 119 zev_queue_message(op, msg); in zev_zfs_mount_cb() 125 int op = ZEV_OP_ZFS_UMOUNT; in zev_zfs_umount_cb() local 148 zev_queue_error(op, "can't create tx"); in zev_zfs_umount_cb() 159 rec->op = op; in zev_zfs_umount_cb() [all …]
|
/titanic_44/usr/src/uts/common/avs/ns/dsw/ |
H A D | ii_tree.c | 117 update_overflow_header(_ii_info_t *ip, _ii_overflow_t *op) in update_overflow_header() argument 119 (void) _ii_nsc_io(ip, KS_OVR, op->ii_dev->bi_fd, NSC_WRBUF, in update_overflow_header() 120 II_OHEADER_FBA, (unsigned char *)&(op->ii_do), in update_overflow_header() 354 _ii_overflow_t *op; in ii_free_overflow() local 363 op = ip->bi_overflow; in ii_free_overflow() 364 if (op == NULL) { in ii_free_overflow() 372 mutex_enter(&(op->ii_mutex)); in ii_free_overflow() 377 nl.next_chunk = op->ii_freehead; in ii_free_overflow() 379 (void) nsc_reserve(op->ii_dev->bi_fd, NSC_MULTI); in ii_free_overflow() 380 (void) _ii_nsc_io(ip, KS_OVR, op->ii_dev->bi_fd, NSC_WRBUF, fba, in ii_free_overflow() [all …]
|