Searched +refs:val +refs:current (Results 26 - 50 of 53) sorted by relevance

123

/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvtype.c44 "array of type \b\f?\f\b. If a variable already exists, the current "
49 "array of type \b\f?\f\b. If a variable already exists, the current "
94 unsigned short current; member in struct:Namtype
103 unsigned short current;
225 static void put_chtype(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument
227 if(!val && nv_isattr(np,NV_REF))
229 nv_putv(np,val,flag,fp);
230 if(!val)
535 static void put_type(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument
538 if(val
978 char *val=nv_getval(np); local
1287 char *val=0; local
1517 put_stat(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
[all...]
H A Dxec.c348 static void put_level(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
353 nv_putv(np,val,flags,fp);
354 if(!val)
393 * write the current common on the stack and make it available as .sh.command
1486 * The last element executes in current environment
1489 int pvn[2]; /* current set up pipe */
1537 * in the current process
1625 char *val; local
1643 if(!(val=nv_getval(sh_scoped(shp,REPLYNOD))))
1647 if(*(cp=val)
2509 off_t current = sfseek(sfstdin,(off_t)0,SEEK_CUR); local
[all...]
/illumos-gate/usr/src/cmd/cron/
H A Dat.c579 char *val; local
605 * didn't explicitly request that his/her current shell be over-
606 * ridden (shflag or cshflag), then we use the current shell.
616 } else if (((Shell = val = getenv("SHELL")) != NULL) &&
617 (*val != '\0')) {
619 if ((strstr(val, "/sh") != NULL) ||
620 (strstr(val, "/ksh") != NULL))
636 * Check if current user is a member of current project.
638 * later when the job gets executed. If current use
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c137 * current door call client possesses any of them (perm_granted()).
1500 * perm_granted() returns PERM_GRANTED if the current door caller has one of
2772 rc_node_assign(rc_node_ptr_t *out, rc_node_t *val) argument
2775 if (val != NULL)
2776 rc_node_hold(val);
2777 out->rnp_node = val;
2804 rc_node_ptr_assign(rc_node_ptr_t *out, const rc_node_ptr_t *val) argument
2806 rc_node_assign(out, val->rnp_node);
4415 rc_node_t *current, *cur; local
4463 * remove it, we must find the current i
[all...]
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c188 static dtrace_genid_t dtrace_probegen; /* current probe generation */
191 static dtrace_genid_t dtrace_retained_gen; /* current retained enab gen */
807 * When we have privileges to the current process, there are
816 * the current thread context, the memory associated with these
1030 int64_t val = 0; local
1066 val = val * base + x;
1068 return (neg ? -val : val);
1495 * the current prob
1779 uint64_t val = key[i].dttk_value; local
2228 int64_t val = (int64_t)nval; local
2259 int32_t val = (int32_t)nval, level; local
2668 dtrace_speculation_state_t current; local
2715 dtrace_speculation_state_t current, new; local
2882 dtrace_speculation_state_t current, new; local
3015 dtrace_speculation_state_t current, new; local
3044 dtrace_speculation_state_t current, new; local
3177 uint64_t val; local
5108 uint64_t val, digit; local
5482 uint8_t *ptr8, val; local
5531 uint16_t val; local
6504 uintptr_t val = (uintptr_t)ecb; local
6622 dtrace_action_chill(dtrace_mstate_t *mstate, hrtime_t val) argument
6791 uint64_t val = *valp; local
6937 uint64_t val = 0; local
6939 uint64_t val; local
6999 dtrace_activity_t current; local
7314 dtrace_activity_t current = state->dts_activity; local
14315 dtrace_state_option(dtrace_state_t *state, dtrace_optid_t option, dtrace_optval_t val) argument
[all...]
/illumos-gate/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_streams.c841 addr_probe->data.current =
846 addr_probe->data.current =
851 addr_probe->data.current =
1154 * Update the keyboard LEDs to match the current keyboard state.
1244 kbtrans_strsetwithdecimal(char *buf, uint_t val, uint_t maxdigs) argument
1253 while (val) {
1254 lowbit = val & 1;
1255 val = (val >> 1);
1256 *(--bp) = tab[val
[all...]
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Ddtrace_asm.s87 dtrace_getfsr(uint64_t *val)
569 * %g2 current window
596 subcc %g4, %g2, %g2 ! current = %cwp - %canrestore
598 bge,pt %xcc, 1f ! good to go if current is >= 0
601 add %g2, %g3, %g2 ! normalize our current window if it's
607 deccc %g2 ! decrement the current window
651 sub %g4, %g2, %g2 ! current = %cwp - %canrestore -
/illumos-gate/usr/src/cmd/lms/heci/
H A DPTHICommand.cpp119 } else if (response_header.Command.cmd.val != command) {
592 char *current = (char *)tmp_response->Data; local
593 while (current < (char *)tmp_response->Data + tmp_response->DataLength)
595 std::string dnsSuffix = current;
605 current += dnsSuffix.length() + 1;
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_bitmap.c244 rdc_header_t *current; member in union:__anon4506
303 u_hdrp.current = header;
305 u_hdrp.current->asyncthr = u_hdrp.v4->asyncthr;
306 u_hdrp.current->syshostid = u_hdrp.v4->syshostid;
307 u_hdrp.current->maxqitems = u_hdrp.v4->maxqitems;
308 u_hdrp.current->maxqfbas = u_hdrp.v4->maxqfbas;
309 u_hdrp.current->refcntsize = 1; /* new field */
312 (int)u_hdrp.current->refcntsize, __LINE__, __FILE__);
316 /* current header type */
887 fba_pos = RDC_BITMAP_FBA; /* current FB
2583 rdc_bmap_ref_byte_force(rdc_k_info_t *krdc, int ind, unsigned int val) argument
2636 rdc_bmap_ref_int_force(rdc_k_info_t *krdc, int ind, unsigned int val) argument
[all...]
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c2141 * the current net element.
2166 * The current net element matches the query. Select it if
3415 xmlNodePtr cur, val; local
3434 for (val = cur->xmlChildrenNode; val != NULL;
3435 val = val->next) {
3440 if ((fetchprop(val, DTD_ATTR_PRIV,
3445 if ((fetchprop(val, DTD_ATTR_LIMIT,
3450 if ((fetchprop(val, DTD_ATTR_ACTIO
4092 long double val; local
4190 pool_value_t *val; local
4246 pool_value_t *val; local
4979 xmlNodePtr cur, val; local
6093 rctlblk_t *current, *next; local
6647 xmlNodePtr cur, val; local
6724 uint64_t val; local
6765 zonecfg_set_aliased_rctl(zone_dochandle_t handle, char *name, uint64_t val) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dkbd.c154 char led_state; /* current state of LEDs */
681 addr_probe->data.current = kbdd->kbdd_ascii_addr;
685 addr_probe->data.current = kbdd->kbdd_top_addr;
689 addr_probe->data.current = kbdd->kbdd_vkey_addr;
1016 * kbdclick is used to remember the current click value of the
1019 * there is no way to read out the current click value. We
1053 * Update the keyboard LEDs to match the current keyboard state.
1670 * the current keycode.
2192 strsetwithdecimal(char *buf, uint_t val, uint_t maxdigs) argument
2201 while (val) {
[all...]
H A Dpcic.c3114 /* disable current mapping */
3455 /* disable current mapping */
3757 * the current power level
4343 * returns information about the current socket setting
4825 inthandler_t *intr, *prev, *current; local
4877 current = pcic->irq_current;
4880 kmem_free(current, sizeof (inthandler_t));
5208 int val; local
5212 val = ddi_get8(pcic->handle,
5217 val
5394 uchar_t val; local
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dforth.c489 env->order_depth, CONTEXT, env->current);
501 env->order_depth, CONTEXT, env->current);
1681 uchar_t val; local
1685 val = (uchar_t)POP(DS);
1688 memset(dest, val, len);
2054 PUSH(DS, (fstack_t)&env->current);
2067 env->current = CONTEXT;
2069 env->order_depth, CONTEXT, env->current);
2151 env->order_depth, CONTEXT, env->current);
2169 env->order_depth, CONTEXT, env->current);
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ac/
H A Dusb_ac.c760 int val; local
789 val = (int)val1;
793 "val=0x%x(%d)", val1, val1, val, val);
804 uacp, val);
1465 * array. we grow the unit array if the ID exceeds the current max
2025 "set current selection: %d", *data->b_rptr);
2031 "set current pin selection failed");
2881 short max, min, current; local
4540 uint_t val, fmt_sr; local
5052 usb_audio_ctrl_alloc(usb_ac_state_t *statep, uint32_t num, uint64_t val) argument
5606 uint64_t val; local
[all...]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac.c54 * to use reference counting mechanisms to cv_wait until any current data
944 * Returns whether the current thread holds the mac perimeter. Used in making
1248 * Return the current promiscuity.
1663 mac_hwring_getstat(mac_ring_handle_t rh, uint_t stat, uint64_t *val) argument
1668 return (info->mri_stat(info->mri_driver, stat, val));
2152 * need to make sure that there aren't any mac client threads doing current or
2595 * Call the refresh function with the current promiscuity.
2602 * be less than the specified value. If "current" is B_TRUE, then the client
2604 * current size. Further, return the current margi
2609 mac_margin_add(mac_handle_t mh, uint32_t *marginp, boolean_t current) argument
2738 mac_mtu_add(mac_handle_t mh, uint32_t *mtup, boolean_t current) argument
2950 mod_hash_val_t val; local
3168 mac_set_prop(mac_handle_t mh, mac_prop_id_t id, char *name, void *val, uint_t valsize) argument
3242 mac_get_prop(mac_handle_t mh, mac_prop_id_t id, char *name, void *val, uint_t valsize) argument
5608 i_mac_impl_list_walker(mod_hash_key_t key, mod_hash_val_t *val, void *arg) argument
5704 i_mac_fastpath_walker(mod_hash_key_t key, mod_hash_val_t *val, void *arg) argument
7743 mac_pool_link_update(mod_hash_key_t key, mod_hash_val_t *val, void *arg) argument
[all...]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c1675 property_t *prop, value_t *val, error_info_t *einfo)
1759 actual = value_to_string(val);
1820 property_t *prop, value_t *val, error_info_t *einfo)
1835 ite->ite_value = val;
1986 * Find the next property after current in the property group at pg. If
1991 next_property(pgroup_t *pg, property_t *current) argument
1999 if (current) {
2000 prop = uu_avl_next(cpg->cpg_composed_props, current);
2006 if (current) {
2007 prop = uu_list_next(pg->sc_pgroup_props, current);
1673 add_scf_error(tmpl_errors_t *errs, scf_tmpl_error_type_t ec, pgroup_t *pg_pattern, pgroup_t *pg, pgroup_t *prop_pattern, property_t *prop, value_t *val, error_info_t *einfo) argument
1818 tmpl_errors_add_im(tmpl_errors_t *errs, tmpl_validate_status_t ec, entity_t *e, pgroup_t *pg_pattern, pgroup_t *pg, pgroup_t *prop_pattern, property_t *prop, value_t *val, error_info_t *einfo) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_boot.c1434 int current; local
1438 current = entry->ml_address + entry->ml_size - 1;
1439 if (current > pci_bus_res[bus].sub_bus)
1440 pci_bus_res[bus].sub_bus = current;
2403 * Create the register property by saving the current
2773 uint_t val, io_range[2], mem_range[2], pmem_range[2]; local
2853 val = (uint_t)pci_getw(bus, dev, func, PCI_CONF_COMM);
2854 if (val & PCI_COMM_IO) {
2855 val = (uint_t)pci_getb(bus, dev, func, PCI_BCNF_IO_BASE_LOW);
2856 io_range[0] = ((val
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c568 * We use this label as the current zone's security label.
1699 prval(char *str, Counter val) argument
1701 (void) printf("\t%-20s=%6u", str, val);
1707 prval64(char *str, Counter64 val) argument
1709 (void) printf("\t%-20s=%6llu", str, val);
1715 pr_int_val(char *str, int val) argument
1717 (void) printf("\t%-20s=%6d", str, val);
1723 pr_sctp_rtoalgo(char *str, int val) argument
1726 switch (val) {
1736 (void) printf("%6d", val);
5203 sctp_getnext_rem(const mib_item_t **itemp, const mib2_sctpConnRemoteEntry_t *current, uint32_t associd) argument
5238 sctp_getnext_local(const mib_item_t **itemp, const mib2_sctpConnLocalEntry_t *current, uint32_t associd) argument
6216 uint_t val; local
6241 int val; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c788 hrtime_t now; /* current system time */
1340 mdb_warn("Could not determine current system time");
1672 " -d : interpret time option to -t|a|b as delta from current time\n"
1676 " -D : display exiration time as delta from current time\n"
2848 uintptr_t current, first; local
2893 current = first;
2895 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) {
2896 mdb_warn("failed to read cpu at %p", current);
2903 cw->cw_array[i++] = current;
2905 } while ((current
3490 char val[256]; local
[all...]
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c154 #define PCI_MEM_PUT32(softs, off, val) \
157 (uint32_t)(val))
161 #define PCI_MEM_PUT16(softs, off, val) \
163 (void *)((softs)->pci_mem_base_vaddr + (off)), (uint16_t)(val))
201 #define AAC_NOTIFY(softs, val) PCI_MEM_PUT32(softs, AAC_IDBR, val)
203 #define AAC_OUTB_SET(softs, val) PCI_MEM_PUT32(softs, AAC_OQUE, val)
2672 * that make the current physical configuration unworkable (currently
5111 AACDB_PRINT_TRAN(softs, "SetCap> %s t%dL%d val
6342 int current, next; local
6399 int current; local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbms/
H A Dusbms.c1094 addr_probe->data.current = ms->ms_vuidaddr;
1483 * current jitter_thesh, speed_law and speed_limit
1501 * current jitter_thesh, speed_law and speed_limit
1782 * Check the wheel data in the current event.
1855 uint_t utmp, bitval, val; local
1866 val = 1 << (len - 1);
1867 xyz = (int)(utmp - val);
1869 xyz += val;
1871 xyz = -(val - 1);
1873 xyz -= val;
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c2823 * This isn't simply a check of the current state, because
2846 * record current dev
2945 "st_open: return val = %x, state = %d\n", rval, un->un_state);
3237 * do a mode sense to pick up state of current write-protect,
3368 "st_tape_init: return val = %x\n", rval);
3793 "st_close3: return val = %x, fileno=%x, blkno=%x, eof=%x\n",
4599 * it keeps track of the current filenumber and returns the filenumber after
4666 * What we return will become the current file position.
8530 struct seq_mode *current; local
8536 current
14672 st_swap16(uint16_t *val) argument
14683 st_swap32(uint32_t *val) argument
14696 st_swap64(uint64_t *val) argument
17554 struct seq_mode *current; local
[all...]
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c1085 /* this snap continues the current range */
1994 "cannot be accessed on the current system.\n\n");
2183 "formatted with the current version.\n"));
3546 /* validate argument order: prop=val args followed by dataset args */
3550 /* out-of-order prop=val argument */
5548 uint64_t val = 0; local
5554 (void) nvpair_value_uint64(nvp2, &val);
5555 time = (time_t)val;
5984 * Reports progress in the form "(current/total)". Not thread-safe.
5987 report_mount_progress(int current, in argument
[all...]
/illumos-gate/usr/src/uts/intel/ia32/ml/
H A Di86_subr.s402 * return the current frame pointer
488 setcr3(ulong_t val)
502 setcr4(ulong_t val)
513 setcr8(ulong_t val)
1124 * the current devices fit into the priority scheme based
1416 outl(int port_address, uint32_t val)
1449 outw(int port_address, uint16_t val)
1479 outb(int port_address, uint8_t val)
2888 wrmsr(uint_t r, const uint64_t val)
2898 xwrmsr(uint_t r, const uint64_t val)
[all...]
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c5807 uint8_t type, void *val)
5830 if (dladm_kstat_value(ksp, stat, type, val) < 0)
5843 void *val, boolean_t islink)
5849 return (query_kstat("link", 0, name, stat, type, val));
5854 return (query_kstat(module, instance, "mac", stat, type, val));
6633 * property. Check if current value can be retrieved.
6922 char **val; local
6926 val = NULL;
6929 val = aip->ai_val;
6938 status = dladm_set_linkprop(handle, linkid, aip->ai_name, val,
5806 query_kstat(char *module, int instance, const char *name, const char *stat, uint8_t type, void *val) argument
5842 get_one_kstat(const char *name, const char *stat, uint8_t type, void *val, boolean_t islink) argument
7078 struct termios stored, current; local
7446 char val[DLADM_SECOBJ_VAL_MAX * 2]; local
8297 fmt_bool(char *buf, size_t buflen, int val) argument
8880 int val; local
[all...]

Completed in 261 milliseconds

123