/illumos-gate/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_ioctl.c | 857 md_dev64_t target = md_expldev(bp->b_edev); local 874 (errp->er_unitp->un_l_dev == target)) || 876 (errp->er_unitp->un_m_dev == target))) { 917 md_dev64_t target = md_expldev(bp->b_edev); local 922 errp = find_by_dev(target); 925 if (target == un->un_m_dev) { 929 if (target == un->un_l_dev) {
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | mach_cpu_module.c | 160 atomic_cas_64(volatile uint64_t *target, uint64_t value1, uint64_t value2) argument 165 atomic_inc_8(volatile uint8_t *target) argument 170 atomic_inc_uchar(volatile uchar_t *target) argument 175 atomic_inc_16(volatile uint16_t *target) argument 180 atomic_inc_ushort(volatile ushort_t *target) argument 185 atomic_inc_32(volatile uint32_t *target) argument 190 atomic_inc_uint(volatile uint_t *target) argument 195 atomic_inc_ulong(volatile ulong_t *target) argument 200 atomic_inc_64(volatile uint64_t *target) argument 205 atomic_dec_8(volatile uint8_t *target) argument 210 atomic_dec_uchar(volatile uchar_t *target) argument 215 atomic_dec_16(volatile uint16_t *target) argument 220 atomic_dec_ushort(volatile ushort_t *target) argument 225 atomic_dec_32(volatile uint32_t *target) argument 230 atomic_dec_uint(volatile uint_t *target) argument 235 atomic_dec_ulong(volatile ulong_t *target) argument 240 atomic_dec_64(volatile uint64_t *target) argument 245 atomic_add_8(volatile uint8_t *target, int8_t value) argument 250 atomic_add_char(volatile uchar_t *target, signed char value) argument 255 atomic_add_16(volatile uint16_t *target, int16_t delta) argument 260 atomic_add_ushort(volatile ushort_t *target, short value) argument 265 atomic_add_32(volatile uint32_t *target, int32_t delta) argument 270 atomic_add_ptr(volatile void *target, ssize_t value) argument 275 atomic_add_long(volatile ulong_t *target, long delta) argument 280 atomic_add_64(volatile uint64_t *target, int64_t delta) argument 285 atomic_or_8(volatile uint8_t *target, uint8_t bits) argument 290 atomic_or_uchar(volatile uchar_t *target, uchar_t bits) argument 295 atomic_or_16(volatile uint16_t *target, uint16_t bits) argument 300 atomic_or_ushort(volatile ushort_t *target, ushort_t bits) argument 305 atomic_or_32(volatile uint32_t *target, uint32_t bits) argument 310 atomic_or_uint(volatile uint_t *target, uint_t bits) argument 315 atomic_or_ulong(volatile ulong_t *target, ulong_t bits) argument 320 atomic_or_64(volatile uint64_t *target, uint64_t bits) argument 325 atomic_and_8(volatile uint8_t *target, uint8_t bits) argument 330 atomic_and_uchar(volatile uchar_t *target, uchar_t bits) argument 335 atomic_and_16(volatile uint16_t *target, uint16_t bits) argument 340 atomic_and_ushort(volatile ushort_t *target, ushort_t bits) argument 345 atomic_and_32(volatile uint32_t *target, uint32_t bits) argument 350 atomic_and_uint(volatile uint_t *target, uint_t bits) argument 355 atomic_and_ulong(volatile ulong_t *target, ulong_t bits) argument 360 atomic_and_64(volatile uint64_t *target, uint64_t bits) argument 365 atomic_inc_8_nv(volatile uint8_t *target) argument 370 atomic_inc_uchar_nv(volatile uchar_t *target) argument 375 atomic_inc_16_nv(volatile uint16_t *target) argument 380 atomic_inc_ushort_nv(volatile ushort_t *target) argument 385 atomic_inc_32_nv(volatile uint32_t *target) argument 390 atomic_inc_uint_nv(volatile uint_t *target) argument 395 atomic_inc_ulong_nv(volatile ulong_t *target) argument 400 atomic_inc_64_nv(volatile uint64_t *target) argument 405 atomic_dec_8_nv(volatile uint8_t *target) argument 410 atomic_dec_uchar_nv(volatile uchar_t *target) argument 415 atomic_dec_16_nv(volatile uint16_t *target) argument 420 atomic_dec_ushort_nv(volatile ushort_t *target) argument 425 atomic_dec_32_nv(volatile uint32_t *target) argument 430 atomic_dec_uint_nv(volatile uint_t *target) argument 435 atomic_dec_ulong_nv(volatile ulong_t *target) argument 440 atomic_dec_64_nv(volatile uint64_t *target) argument 445 atomic_add_8_nv(volatile uint8_t *target, int8_t value) argument 450 atomic_add_char_nv(volatile uchar_t *target, signed char value) argument 455 atomic_add_16_nv(volatile uint16_t *target, int16_t delta) argument 460 atomic_add_short_nv(volatile ushort_t *target, short value) argument 465 atomic_add_32_nv(volatile uint32_t *target, int32_t delta) argument 470 atomic_add_int_nv(volatile uint_t *target, int delta) argument 475 atomic_add_ptr_nv(volatile void *target, ssize_t value) argument 480 atomic_add_long_nv(volatile ulong_t *target, long delta) argument 485 atomic_add_64_nv(volatile uint64_t *target, int64_t delta) argument 490 atomic_or_8_nv(volatile uint8_t *target, uint8_t value) argument 495 atomic_or_uchar_nv(volatile uchar_t *target, uchar_t value) argument 500 atomic_or_16_nv(volatile uint16_t *target, uint16_t value) argument 505 atomic_or_ushort_nv(volatile ushort_t *target, ushort_t value) argument 510 atomic_or_32_nv(volatile uint32_t *target, uint32_t value) argument 515 atomic_or_uint_nv(volatile uint_t *target, uint_t value) argument 520 atomic_or_ulong_nv(volatile ulong_t *target, ulong_t value) argument 525 atomic_or_64_nv(volatile uint64_t *target, uint64_t value) argument 530 atomic_and_8_nv(volatile uint8_t *target, uint8_t value) argument 535 atomic_and_uchar_nv(volatile uchar_t *target, uchar_t value) argument 540 atomic_and_16_nv(volatile uint16_t *target, uint16_t value) argument 545 atomic_and_ushort_nv(volatile ushort_t *target, ushort_t value) argument 550 atomic_and_32_nv(volatile uint32_t *target, uint32_t value) argument 555 atomic_and_uint_nv(volatile uint_t *target, uint_t value) argument 560 atomic_and_ulong_nv(volatile ulong_t *target, ulong_t value) argument 565 atomic_and_64_nv(volatile uint64_t *target, uint64_t value) argument 570 atomic_cas_8(volatile uint8_t *target, uint8_t cmp, uint8_t new) argument 575 atomic_cas_uchar(volatile uchar_t *target, uchar_t cmp, uchar_t new) argument 580 atomic_cas_16(volatile uint16_t *target, uint16_t cmp, uint16_t new) argument 585 atomic_cas_ushort(volatile ushort_t *target, ushort_t cmp, ushort_t new) argument 590 atomic_cas_32(volatile uint32_t *target, uint32_t cmp, uint32_t new) argument 595 atomic_cas_uint(volatile uint_t *target, uint_t cmp, uint_t new) argument 600 atomic_cas_ulong(volatile ulong_t *target, ulong_t cmp, ulong_t new) argument 605 atomic_cas_uint64(volatile uint64_t *target, ulong_t cmp, uint64_t new) argument 610 atomic_cas_ptr(volatile void *target, void *cmp, void *new) argument 615 atomic_swap_8(volatile uint8_t *target, uint8_t new) argument 620 atomic_swap_char(volatile uchar_t *target, uchar_t new) argument 625 atomic_swap_16(volatile uint16_t *target, uint16_t new) argument 630 atomic_swap_ushort(volatile ushort_t *target, ushort_t new) argument 635 atomic_swap_32(volatile uint32_t *target, uint32_t new) argument 640 atomic_swap_uint(volatile uint_t *target, uint_t new) argument 645 atomic_swap_64(volatile uint64_t *target, uint64_t new) argument 650 atomic_swap_ptr(volatile void *target, void *new) argument 655 atomic_swap_ulong(volatile ulong_t *target, ulong_t new) argument 660 atomic_set_long_excl(volatile ulong_t *target, uint_t value) argument 665 atomic_clear_long_excl(volatile ulong_t *target, uint_t value) argument [all...] |
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | fasttrap_isa.c | 611 uintptr_t target; local 619 * off of %g7 so we just need to place the target in %o0 629 target = fasttrap_getreg(rp, RS1(tp->ftt_instr)) + imm; 631 target = fasttrap_getreg(rp, RS1(tp->ftt_instr)) + 635 fasttrap_putreg(rp, R_O0, target);
|
/illumos-gate/usr/src/uts/intel/io/amr/ |
H A D | amr.c | 1480 ushort_t target = sd->sd_address.a_target; local 1486 if ((lun == 0) && (target < AMR_MAXLD)) 1487 if (softs->logic_drive[target].al_state != AMR_LDRV_OFFLINE) 1503 AMRDB_PRINT((CE_NOTE, "amr_tran_start, cmd=%X,target=%d,lun=%d", 1510 cmn_err(CE_WARN, "target or lun is not correct!"); 1693 * tran_reset() will reset the bus/target/adapter to support the fault recovery 1696 * reset bus/target/adapter/channel. 1985 amr_rw_command(struct amr_softs *softs, struct scsi_pkt *pkt, int target) argument 2002 ac->mailbox.mb_drive = (uint8_t)target;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | emul64_bsd.c | 1013 bsd_readblks(struct emul64 *emul64, ushort_t target, ushort_t lun, argument 1024 emul64_name, target, lun, blkno, blkno, nblks); 1030 tgt = find_tgt(emul64, target, lun); 1033 cmn_err(CE_WARN, "%s: bsd_readblks: no target for %d,%d\n", 1034 emul64_name, target, lun); 1094 bsd_writeblks(struct emul64 *emul64, ushort_t target, ushort_t lun, argument 1106 emul64_name, target, lun, blkno, blkno, nblks); 1112 tgt = find_tgt(emul64, target, lun); 1115 cmn_err(CE_WARN, "%s: bsd_writeblks: no target for %d,%d\n", 1116 emul64_name, target, lu 1205 find_tgt(struct emul64 *emul64, ushort_t target, ushort_t lun) argument [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | parallel.cc | 86 static Boolean dependency_conflict(Name target); 88 static void doname_subtree(Name target, Boolean do_get, Boolean implicit); 127 Name target = line->body.line.target; local 665 * doname_parallel(target, do_get, implicit) 667 * Processes the given target and finishes up any parallel 671 * Result of target build 674 * target Target to build 676 * implicit True if this is an implicit target 679 doname_parallel(Name target, Boolea argument 709 doname_subtree(Name target, Boolean do_get, Boolean implicit) argument 1028 dependency_conflict(Name target) argument 1367 Name target = rp->target; local 1489 add_running(Name target, Name true_target, Property command, int recursion_level, int auto_count, Name *automatics, Boolean do_get, Boolean implicit) argument 1549 add_pending(Name target, int recursion_level, Boolean do_get, Boolean implicit, Boolean redo) argument 1580 add_serial(Name target, int recursion_level, Boolean do_get, Boolean implicit) argument 1612 add_subtree(Name target, int recursion_level, Boolean do_get, Boolean implicit) argument 1683 parallel_ok(Name target, Boolean line_prop_must_exists) argument 1738 is_running(Name target) argument [all...] |
H A D | doname.cc | 80 extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); 81 extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); 82 static Boolean check_dependencies(Doname *result, Property line, Boolean do_get, Name target, Name true_target, Boolean doing_subtree, Chain *out_of_date_tail, Property old_locals, Boolean implicit, Property *command, Name less, Boolean rechecking_target, Boolean recheck_conditionals); 83 void dynamic_dependencies(Name target); 90 static void do_assign(register Name line, register Name target); 91 static void build_command_strings(Name target, register Property line); 92 static Doname touch_command(register Property line, register Name target, Doname result); 94 static Doname sccs_get(register Name target, register Property *command); 96 static void add_pattern_conditionals(register Name target); 97 extern void set_locals(register Name target, registe 129 doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) argument 184 enter_explicit_rule_from_dynamic_rule(Name target, Name source) argument 208 find_dyntarget(Name target) argument 283 doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) argument 928 check_dependencies(Doname *result, Property line, Boolean do_get, Name target, Name true_target, Boolean doing_subtree, Chain *out_of_date_tail, Property old_locals, Boolean implicit, Property *command, Name less, Boolean rechecking_target, Boolean recheck_conditionals) argument 1310 dynamic_dependencies(Name target) argument 1573 register Name target = line->body.line.target; local 1769 Name target = line->body.line.target; local 2075 do_assign(register Name line, register Name target) argument 2158 build_command_strings(Name target, register Property line) argument 2503 touch_command(register Property line, register Name target, Doname result) argument 2586 Name target; local 2672 sccs_get(register Name target, register Property *command) argument 2878 add_pattern_conditionals(register Name target) argument 2945 set_locals(register Name target, register Property old_locals) argument 3007 reset_locals(register Name target, register Property old_locals, register Property conditional, register int index) argument 3074 check_auto_dependencies(Name target, int auto_count, Name *automatics) argument 3130 target_can_be_built(register Name target) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 643 char *target, 639 fop_symlink( vnode_t *dvp, char *linkname, vattr_t *vap, char *target, cred_t *cr, caller_context_t *ct, int flags) argument
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dfs.c | 58 #define DFS_LINK_TRGT_NFIELDS 5 /* # fields for each target */ 474 * Sets the provided information for the specified root or root target. 475 * Root is specified by 'rootdir' and the target is specified by 547 * Creates a new DFS link or adds a new target to an existing link 579 /* Add a target to an existing link */ 598 /* checks to see if the target already exists */ 605 /* add the new target */ 624 * Removes a link or a link target from a DFS namespace. A link can be 627 * 'server' and 'share' parameters specify a target, so if they are NULL 628 * it means the link should be removed, otherwise the specified target 1788 dfs_isvalidstate(uint32_t state, uint32_t type, boolean_t target, uint32_t infolvl) argument [all...] |
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 143 char target[PATH_MAX]; local 185 * cp [ -r|-R [-H|-L|-P]] [-afip@/] file1 [file2 ...] target 186 * cp [-afiprR@/] file1 [file2 ...] target 187 * ln [-f] [-n] [-s] file1 [file2 ...] target 189 * mv [-f|i] file1 [file2 ...] target 190 * mv [-f|i] dir1 target 332 * If there is more than a source and target, 333 * the last argument (the target) must be a directory 363 (void) strcpy(target, "."); 365 (void) strcpy(target, arg 392 lnkfil(char *source, char *target) argument 518 cpymve(char *source, char *target) argument 997 char *target = *to; local 1194 chk_different(char *source, char *target) argument 1395 chg_mode(char *target, uid_t uid, gid_t gid, mode_t mode) argument 1466 copydir(char *source, char *target) argument 1600 copyspecial(char *target) argument 1632 copyattributes(char *source, char *target) argument 1871 copy_sysattr(char *source, char *target) argument 2128 traverse_attrfile(struct dirent *dp, char *source, char *target, int first) argument [all...] |
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 579 char *target; local 604 target = safe_alloc(1 + p2 - p1); 605 (void) strlcpy(target, p1, 1 + p2 - p1); 612 (void) strlcpy(iodev->is_parent_id.tid, target, KSTAT_STRLEN); 616 (void) strlcpy(iodev->is_id.tid, target, KSTAT_STRLEN); 621 target, KSTAT_STRLEN); 625 free(target); 684 /* get the lun/target/initiator from the name, return 1 on success */ 697 /* get the lun, target, and initiator name and instance */ 707 * the target ca [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | DNSDigest.c | 1147 // src from base - 64 numbers into three 8 bit bytes in the target area. 1148 // it returns the number of data bytes stored at the target, or -1 on error. 1151 mDNSlocal mDNSs32 DNSDigest_Base64ToBin(const char *src, mDNSu8 *target, mDNSu32 targsize) argument 1172 if (target) { 1175 target[tarindex] = (mDNSu8)((pos - Base64) << 2); 1180 if (target) { 1183 target[tarindex] |= (pos - Base64) >> 4; 1184 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x0f) << 4); 1190 if (target) { 1193 target[tarinde [all...] |
/illumos-gate/usr/src/lib/libbrand/common/ |
H A D | libbrand.c | 98 #define DTD_ATTR_TARGET ((const xmlChar *) "target") 380 * %z Name of target zone 924 xmlChar *source, *target; local 936 target = xmlGetProp(node, DTD_ATTR_TARGET); 938 if (source == NULL || target == NULL) { 941 if (target != NULL) 942 xmlFree(target); 946 ret = func(data, (char *)source, (char *)target); 949 xmlFree(target);
|
/illumos-gate/usr/src/lib/libdns_sd/java/common/ |
H A D | JNISupport.c | 193 static void ReportError( JNIEnv *pEnv, jobject target, jobject service, DNSServiceErrorType err) argument 194 // Invoke operationFailed() method on target with err. 196 jclass cls = (*pEnv)->GetObjectClass( pEnv, target); 200 (*pEnv)->CallVoidMethod( pEnv, target, opFailed, service, err);
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_rx.c | 754 sfxge_rx_qrefill(sfxge_rxq_t *srp, unsigned int target) argument 778 ntodo = min(EFX_RXQ_LIMIT(sp->s_rxq_size) - rxfill, target); 878 sfxge_rx_qfill(sfxge_rxq_t *srp, unsigned int target) argument 900 ntodo = min(EFX_RXQ_LIMIT(sp->s_rxq_size) - rxfill, target);
|
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/ |
H A D | pvscsi_var.h | 142 int target; member in struct:pvscsi_msg 202 int target; member in struct:pvscsi_device
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 269 * the target device). 574 * target extended information structure and we just blindly update. 577 propagate_bootblock(ig_data_t *source, ig_data_t *target, char *updt_str) argument 580 ig_device_t *dest_device = &target->device; 582 ig_stage2_t *dest_stage2 = &target->stage2; 587 assert(target != NULL); 590 if (read_stage1_from_disk(src_device->part_fd, target->stage1_buf) 594 /* Prepare target stage2 for commit_to_disk. */ 625 retval = commit_to_disk(target, updt_str); 657 /* Detect if the target devic [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_name.c | 1675 * The target can either be a SCSI target id or if the device 1677 * the target is a standard WWN (world wide name). 1689 uint_t target; local 1699 /* pull off the channel spec and the 't' for the target */ 1717 /* check to see if it is a ctd with a WWN or SCSI target */ 1719 /* pull off the target and see if it is a WWN */ 1726 if (sscanf(target_str, "%x%n", &target, &l) != 1 ||
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare.c | 1494 * ZFS. Sort this one out based on target group and 3922 sa_resource_t target; local 3938 target = sa_find_resource(handle, newname); 3939 if (target != NULL) {
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg.c | 541 * the set number of the first occurence of target is returned 548 cfg_find_cstring(CFGFILE *cfg, const char *target, argument 592 if (strcmp(p, target) == 0) { /* we found it! */ 649 if (strcmp(field, target) == 0) {
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_dictionary.cc | 260 search_bucket(db_table_desc* bucket, unsigned long hval, char *target) argument 266 strcmp(np->table_name, target) == 0) { 275 * Remove entry with the specified hashvalue and target table name. 283 db_table_desc_p *head, unsigned long hval, char *target, 291 strcmp(np->table_name, target) == 0) { 484 * Look up target table_name in hashtable and return its db_table_desc. 488 search_dictionary(db_dict_desc *dd, char *target) argument 493 if (target == NULL || dd == NULL || dd->tables.tables_len == 0) 496 hval = get_hashval(target); 502 return (search_bucket(fst, hval, target)); 282 remove_from_bucket(db_table_desc_p bucket, db_table_desc_p *head, unsigned long hval, char *target, bool_t free_storage) argument 514 remove_from_dictionary(db_dict_desc *dd, char *target, bool_t remove_storage) argument 556 char *target; local [all...] |
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 102 char *target, 219 * in sels[] (ignore the name in the tar header) as restore target. 524 "found hardlink, inode = %u, target = [%s]", 541 * target. 579 "no target for hardlink %s", 642 * target. 1919 create_sym_link(char *dst, char *target, tlm_acls_t *acls, argument 1930 if (symlink(target, dst) != 0) { 1934 errno, dst, target);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/ |
H A D | psvcpolicy.c | 1389 * of a target the validity of the WWN of a disk is 1448 /* Get target info */ 1476 int target; local 1494 n = di_prop_lookup_ints(DDI_DEV_T_ANY, node, "target", &prop); 1497 target = *prop; 1498 if (target < 0 || target > 1) 1501 if (! disk_present[target]) 1534 if ((disk_online == 0) && (prev_online[target] == 1)) { 1538 bit_nums[target], bit_va [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 1483 * Adjust specified sensor target temperature and fan adjustment rate 1489 int target, index; local 1496 * associated with this sensor and look up the desired target 1507 target = threshp->policy_data[0]; 1517 if (target > threshp->policy_data[index]) 1518 target = threshp->policy_data[index]; 1524 pmdevp->pmdev_name, target, sensorp->target_temp, 1531 sensorp->name, target, sensorp->target_temp, 1536 sensorp->target_temp = target; 1541 * the target temperatur [all...] |
/illumos-gate/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 265 /* mark the target node so we display it */ 282 * depth of the target node in the tree. we do 285 * target node starts with an indentation of zero. 322 di_node_t *target = (di_node_t *)arg; local 332 *target = node; 342 *target = node; 356 di_node_t target = DI_NODE_NIL; local 366 (void) di_walk_node(root_node, DI_WALK_CLDFIRST, &target, 368 return (target); 1256 * the target acces [all...] |