Searched +defs:val +defs:target (Results 1 - 25 of 50) sorted by relevance

12

/illumos-gate/usr/src/lib/libast/common/misc/
H A Dfs3d.c44 char val[sizeof(FS3D_off) + 8]; local
61 if (mount(on, val, FS3D_VIEW|FS3D_GET|FS3D_SIZE(sizeof(val)), NiL))
63 if (v = strchr(val, ' '))
66 v = val;
84 sfsprintf(val, sizeof(val), "%s=%d", off, FS3D_arg(op));
85 v = val;
113 fs3d_mount(const char* source, char* target, int flags, void* data) argument
115 return mount(source, target, flag
[all...]
/illumos-gate/usr/src/uts/intel/asm/
H A Datomic.h82 fxn(volatile type *target) \
86 : "+m" (*target) \
113 fxn(volatile type1 *target, type2 delta) \
117 : "+m" (*target) \
137 atomic_add_ptr(volatile void *target, ssize_t delta) argument
139 volatile void **tmp = (volatile void **)target;
170 fxn(volatile type *target, type cmp, type new) \
175 : "+m" (*target), "=a" (ret) \
198 atomic_cas_ptr(volatile void *target, void *cmp, void *new) argument
200 volatile void **tmp = (volatile void **)target;
239 atomic_swap_ptr(volatile void *target, void *val) argument
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dppriv.c57 priv_set_t pset, *target; local
130 target = &(CR_PRIVS(cr)->crprivs[type]);
134 priv_union(&pset, target);
138 priv_intersect(target, &pset);
141 * Fall-thru to set target and change other process
147 *target = pset;
190 priv_basic_test >= 0 && !PRIV_ISASSERT(target, priv_basic_test)) {
235 * Set process flags in the given target cred. If NULL is specified, then
245 setpflags(uint_t flag, uint_t val, cred_t *tcr) argument
252 if (val >
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DStatisticList.java284 * Return the zone of control to which the supplied val
285 * belongs based on the target details in the supplied
290 * @param val The value to be assessed.
292 int getZone(KVOpExpression kve, double val) argument
294 return (statisticOperations.getZone(kve, val));
298 * Return the zone of control to which the supplied val
301 * @param val The value to be assessed.
303 int getZoneMean(double val) argument
305 return (statisticOperations.getZoneMean(val));
309 * Return the difference (gap) between the target utilizatio
317 getGap(KVOpExpression kve, double val) argument
343 toZoneString(KVOpExpression kve, double val) argument
368 private final AggregateStatistic target; field in class:StatisticEvent
382 StatisticEvent(Object source, int id, AggregateStatistic target) argument
547 toZoneString(KVOpExpression kve, double val) argument
635 getZone(KVOpExpression kve, double val) argument
657 getZoneMean(double val) argument
671 getZone(double target, double val) argument
695 getGap(KVOpExpression kve, double val) argument
[all...]
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c124 import_pool(const char *target, boolean_t readonly) argument
148 if (readonly && spa_open(target, &spa, FTAG) == 0) {
155 g_pool = strdup(target);
165 spa_open(target, &spa, FTAG) == 0) {
199 zhack_spa_open(const char *target, boolean_t readonly, void *tag, spa_t **spa) argument
203 import_pool(target, readonly);
206 err = spa_open(target, spa, tag);
210 fatal(*spa, FTAG, "cannot open '%s': %s", target,
214 target, (int)spa_version(*spa));
235 char val[102 local
262 char *target; local
304 char *desc, *target; local
399 char *target; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_solaris.c361 * where realm is the target realm for lookup
400 * where realm is the target realm for the name-value pair
571 * where target is the target realm for the capath
572 * where inter is the intermediate realm between the source and target
573 * realms. If the source and target share x-realm keys then this set to "."
574 * Note: for the remove function, all associated source, target, and
583 char *source = NULL, *dummy_val = NULL, *target = NULL; local
609 code2 = profile_iterator(&state2, &target,
611 if (code2 == 0 && target !
737 __profile_add_xrealm_mapping(profile_t profile, char *source, char *target, char *inter) argument
797 __profile_validate(profile_t profile, int *val_err, char **val) argument
[all...]
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice.c186 * source_namespace and put them onto target replacing source_namespace
189 * @param target Device to put properties onto
195 hal_device_merge_with_rewrite (HalDevice *target, argument
227 /* only remove target if it exists with a different type */
228 target_type = hal_device_property_get_type (target, key);
230 hal_device_property_remove (target, key);
236 target, target_key,
242 target, target_key,
248 target, target_key,
254 target, target_ke
277 hal_device_merge(HalDevice *target, HalDevice *source) argument
914 hal_device_property_set_attribute(HalDevice *device, const char *key, enum PropertyAttribute attr, gboolean val) argument
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c232 is_switch_policy(struct __nsw_switchconfig *conf, char *target) argument
236 strcmp(conf->lookups->service_name, target) == 0 &&
510 char *val = attr->attrvalue[j]; local
511 if (strncasecmp(val, mechfilter,
517 alist[q][j] = val;
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c256 char *tmp, *val; local
289 val = name_buf.value;
290 len = name_buf.length + (val[name_buf.length - 1] != '\0');
296 memcpy(tmp, val, len - 1);
448 char *target,
456 tlen = strlen(target);
466 op, tlen, target, tdots,
475 char *target,
484 tlen = strlen(target);
494 op, tlen, target, tdot
446 log_unauth( char *op, char *target, char *client, char *server, char *addr) argument
473 log_done( char *op, char *target, const char *errmsg, char *client, char *server, char *addr) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c956 uchar_t val; local
1024 val = encl.value & ENVCTRL_FSP_KEYMASK;
1026 switch (val) {
1073 val = fsp_value & (ENVCTRL_FSP_DISK_ERR | ENVCTRL_FSP_PS_ERR |
1079 " [%3s]\n", val & ENVCTRL_FSP_GEN_ERR ? "ON" : "OFF",
1080 val & ENVCTRL_FSP_ACTIVE ? "ON" : "OFF");
1084 " [%3s]\n", val & ENVCTRL_FSP_DISK_ERR ? "ON" : "OFF",
1085 val & ENVCTRL_FSP_TEMP_ERR ? "ON" : "OFF",
1086 val & ENVCTRL_FSP_PS_ERR ? "ON" : "OFF");
1089 if (val
1310 long target; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dgen_drv.c1416 uint_t val = 0; local
1424 val = (val * 10) + digit;
1426 return (val);
1436 int target, lun; local
1440 target = atod(address);
1444 target = 10;
1449 "target", (caddr_t)&target, sizeof (int))
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c191 * Get the target address
197 "Couldn't get target UA");
225 * See if there's already a target softstate. If not, allocate one.
268 "(target = 0x%p)", __func__, (void *)tgt);
299 lun->target = tgt;
302 * If this is the first tran_tgt_init, add this target to our list
305 int target; local
306 for (target = 0; target < pwp->max_dev; target
416 pmcs_xscsi_t *target; local
844 pmcs_cap(struct scsi_address *ap, char *cap, int val, int tonly, int set) argument
924 __func__, cap, val, set, rval); local
1293 int target; local
1448 uint16_t target; local
1690 uint16_t target_start, target; local
[all...]
H A Dpmcs_attach.c358 /* Create this iport's target map */
1292 /* Destroy the iport target map */
1710 * Safe defaults - use only if this target is brand new (i.e. doesn't
1760 * Called with PHY lock and target statlock held and scratch acquired
1763 pmcs_add_new_device(pmcs_hw_t *pwp, pmcs_xscsi_t *target) argument
1765 ASSERT(target != NULL);
1766 pmcs_prt(pwp, PMCS_PRT_DEBUG_CONFIG, NULL, target, "%s: target = 0x%p",
1767 __func__, (void *) target);
1769 switch (target
2019 pmcs_xscsi_t *target; local
2856 pmcs_prt_impl(pmcs_hw_t *pwp, pmcs_prt_level_t level, pmcs_phy_t *phyp, pmcs_xscsi_t *target, const char *fmt, ...) argument
3127 int val, ret = DDI_FAILURE; local
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c115 kadm5_free_principal(krb5_context context, krb5_principal val) argument
119 if (!val)
122 if (val->data) {
123 i = krb5_princ_size(context, val);
125 krb5_db_free(context, krb5_princ_component(context, val, i)->data);
126 krb5_db_free(context, val->data);
128 if (val->realm.data)
129 krb5_db_free(context, val->realm.data);
130 krb5_db_free(context, val);
704 krb5_principal source, krb5_principal target)
703 kadm5_rename_principal(void *server_handle, krb5_principal source, krb5_principal target) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c643 char *target,
939 register ulong_t val; local
945 val = MAXLINK;
949 val = MAX_CANON;
953 val = MAX_INPUT;
957 val = MAXNAMELEN;
962 val = MAXPATHLEN;
966 val = PIPE_BUF;
970 val = (ulong_t)-1;
974 val
639 fop_symlink( vnode_t *dvp, char *linkname, vattr_t *vap, char *target, cred_t *cr, caller_context_t *ct, int flags) argument
[all...]
/illumos-gate/usr/src/lib/libbrand/common/
H A Dlibbrand.c98 #define DTD_ATTR_TARGET ((const xmlChar *) "target")
380 * %z Name of target zone
529 char val[80]; local
532 val, sizeof (val), DTD_ELEM_RESTARTINIT, B_FALSE, B_FALSE) != 0)
535 if (strcmp(val, "false") == 0)
924 xmlChar *source, *target; local
936 target = xmlGetProp(node, DTD_ATTR_TARGET);
938 if (source == NULL || target == NULL) {
941 if (target !
[all...]
/illumos-gate/usr/src/cmd/make/bin/
H A Ddoname.cc80 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
1858 Name val = spro->body.macro.value; local
1866 char *val = spro->body.env_mem.value; 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/libshare/common/
H A Dlibshare.c1494 * ZFS. Sort this one out based on target group and
3745 int val; local
3746 val = atoi(id);
3747 if (val > index)
3748 index = val;
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 Dcfg.c541 * 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) {
1142 * into tag and val
1150 int tag_len, char *val, int val_len)
1185 strncpy(val, decode_buf, val_len);
1195 * Replaces existing tag with new val. If tag doesn't exist,
1196 * then it adds a new tag with the specified val.
1204 char *val)
1149 cfg_get_options(CFGFILE *cfg, int section, const char *basekey, char *tag, int tag_len, char *val, int val_len) argument
1203 cfg_put_options(CFGFILE *cfg, int section, const char *basekey, char *tag, char *val) argument
1311 cfg_get_single_option(CFGFILE *cfg, int section, const char *basekey, char *tag, char *val, int val_len) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c189 int val; local
204 if (sscanf(s, "%127s %d", var, &val) != 2)
206 if (val < 1)
207 val = 1; /* clamp min value */
212 *(p->pvar) = val;
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
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c535 * 'tbl' specifies the table to use, 'val' specifies the 'x', returns 'y'
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;
2299 long val; local
2400 long val; local
2586 int val; local
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_request.c94 * "c3" -> { ctrl=3, target=ID_UNSPECIFIED,
97 * "c3t2" -> { ctrl=3, target=2,
104 int target; member in struct:__anon847
411 * FUNCTION: get_stripe_min_comp(devconfig_t *req, uint16_t *val)
413 * val - pointer to a uint64_t to hold the result
428 uint16_t *val)
432 *val = 0;
434 if ((error = devconfig_get_stripe_mincomp(req, val)) != 0) {
440 if (*val == 0) {
442 _defaults, get_request_diskset(), val)) !
426 get_stripe_min_comp( devconfig_t *req, uint16_t *val) argument
468 get_stripe_max_comp( devconfig_t *req, uint16_t *val) argument
513 get_stripe_interlace( devconfig_t *req, uint64_t *val) argument
560 get_mirror_read_strategy( devconfig_t *req, mirror_read_strategy_t *val) argument
606 get_mirror_write_strategy( devconfig_t *req, mirror_write_strategy_t *val) argument
651 get_mirror_pass( devconfig_t *req, uint16_t *val) argument
694 get_mirror_nsubs( devconfig_t *req, uint16_t *val) argument
737 get_volume_faultrecov( devconfig_t *req, boolean_t *val) argument
794 get_volume_redundancy_level( devconfig_t *req, uint16_t *val) argument
837 get_volume_npaths( devconfig_t *req, uint16_t *val) argument
2801 uint_t target; local
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c1092 uint32_t param, val, mtype, maddr, bar, off, win, remaining; local
1097 rc = -t4_query_params(sc, sc->mbox, sc->pf, 0, 1, &param, &val);
1104 *mt = mtype = G_FW_PARAMS_PARAM_Y(val);
1105 *ma = maddr = G_FW_PARAMS_PARAM_Z(val) << 16;
1115 val = t4_read_reg(sc, A_MA_TARGET_MEM_ENABLE);
1116 val &= F_EDRAM0_ENABLE | F_EDRAM1_ENABLE | F_EXT_MEM_ENABLE;
1119 if (!(val & F_EDRAM0_ENABLE))
1126 if (!(val & F_EDRAM1_ENABLE))
1133 if (!(val & F_EXT_MEM_ENABLE))
1143 mtype, val);
1249 uint32_t param[2], val[2]; local
1300 uint32_t param[7], val[7]; local
1737 int target = max(nrxq10g, nofldrxq10g); local
1752 int target = max(nrxq1g, nofldrxq1g); local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c146 int val, int lunonly, int doset);
572 * or boot target info in case of iscsi boot
768 * iscsi_tran_lun_init - Find target device based on SCSI device
769 * Based on the information given (SCSI device, target dev_info) find
770 * the target iSCSI device and put a pointer to that information in
942 * If we haven't received data from the target in the
965 * If we haven't received data from the target in the
1025 * iscsi_tran_reset - Reset target at either BUS, TARGET, or LUN
1027 * command down to the target/lun.
1049 * network!? Just fall through to a target rese
1312 int target = 0; local
1496 iscsi_target_entry_t *target; local
4597 iscsi_i_commoncap(struct scsi_address *ap, char *cap, int val, int tgtonly, int doset) argument
[all...]
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpi.c265 static int wpi_m_stat(void *arg, uint_t stat, uint64_t *val);
1519 uint32_t val; local
1526 if ((val = WPI_READ(sc, WPI_EEPROM_CTL)) & WPI_EEPROM_READY)
1536 return (val >> 16);
1582 wpi_load_firmware(wpi_sc_t *sc, uint32_t target) argument
1592 if (target == WPI_FW_TEXT) {
1622 WPI_WRITE(sc, WPI_FW_TARGET, target);
2379 wpi_m_stat(void *arg, uint_t stat, uint64_t *val) argument
2389 *val = ((ic->ic_fixed_rate == IEEE80211_FIXED_RATE_NONE) ?
2394 *val
2678 uint16_t val; local
3216 uint16_t val; local
[all...]

Completed in 236 milliseconds

12