Searched defs:num (Results 176 - 200 of 592) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dobjects.c347 nwamd_object_decref(nwamd_object_t object, int num) argument
351 assert(object->nwamd_object_refcount >= num);
352 object->nwamd_object_refcount -= num;
/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.c38 dos_to_dev(char *path, char **devpath, int *num) argument
45 if ((*num = atoi(p + 1)) == 0) {
99 int num; member in struct:part_find_s
167 if (++p->count == p->num) {
183 find_dos_drive(int fd, int num, uint_t secsz, off_t *offset) argument
187 p.num = num;
189 if (num > 0) {
191 if (p.count == num) {
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dlexer.c20 int num; member in union:__anon655
532 sscanf(yystr, "%u", &yylval.num);
536 sscanf(yystr, "0x%x", (u_int *)&yylval.num);
573 char *yykeytostr(num)
574 int num;
582 if (w->w_value == num)
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkeytab.c137 int code, num, i; local
190 code = kadm5_get_principals(handle, *argv, &princs, &num);
200 for (i = 0; i < num; i++)
204 kadm5_free_name_list(handle, princs, num);
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c159 int fd = 0, err, num; local
277 for (num = 0, ophdr = iphdr; num != iehdr->e_phnum; num++, ophdr++) {
342 num = shndx;
345 num++;
346 if ((icache = calloc(num + 1, sizeof (Cache))) == 0) {
350 icache[num].c_flags = FLG_C_END;
556 for (num = 0; num !
[all...]
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/
H A Drtld_db.c234 rd_event_addr(rd_agent_t *rap, rd_event_e num, rd_notify_t *np) argument
239 switch (num) {
255 LOG(ps_plog(MSG_ORIG(MSG_DB_UNEXPEVENT), num));
260 LOG(ps_plog(MSG_ORIG(MSG_DB_RDEVENTADDR), num,
/illumos-gate/usr/src/cmd/svc/startd/
H A Dcontract.c216 uint_t num; local
228 ret = ct_pr_status_get_members(ctstat, &members, &num);
233 if (num == 0)
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dalist.c57 uintptr_t num = (uintptr_t)el->ale_name; local
59 return (num % nbuckets);
H A Dhash.c232 int num, i; local
234 for (num = 0, i = 0; i < hash->h_nbuckets; i++)
235 num += list_count(hash->h_buckets[i]);
237 return (num);
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_form.c128 Dwarf_Signed num; local
130 num = _dwarf_decode_s_leb128((unsigned char *)ptr, &len);
158 Dwarf_Signed num; local
160 num = _dwarf_decode_s_leb128((unsigned char *)ptr, &len);
163 array[i] = num;
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_pool.c657 int i, num = 0, unit, err; local
673 num++;
678 return num;
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_isoch.c840 hci1394_isoch_recv_ctxt_get(hci1394_isoch_handle_t isoch_hdl, int num) argument
843 return (&isoch_hdl->ctxt_recv[num]);
862 hci1394_isoch_xmit_ctxt_get(hci1394_isoch_handle_t isoch_hdl, int num) argument
865 return (&isoch_hdl->ctxt_xmit[num]);
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_cmp.c535 av1394_pcr_make_ph(int loc, int type, int num) argument
541 ph = num + AV1394_IPCR0_IDX;
544 ph = num + AV1394_OPCR0_IDX;
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.c644 uint_t num; local
649 DDI_PROP_DONTPASS, "reg", (int **)&pci_rp, &num) !=
652 if (num < (sizeof (pci_regspec_t) / sizeof (int))) {
/illumos-gate/usr/src/uts/common/io/audio/drv/audiovia97/
H A Daudiovia97.c309 via97_alloc_port(via97_devc_t *devc, int num) argument
322 devc->portc[num] = portc;
324 portc->base = devc->base + num * 0x10;
326 switch (num) {
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_util.c120 * Find the next power of 2 that is larger than "num".
121 * @param num - The variable to find a power of 2 that is
127 * "num".
130 upper_align_power_of_2(IN const u16_t num, argument
139 if(num >= largest_power_of_2)
141 DbgBreakMsg("num is larger than num_bits_supported");
145 if(0 == num)
154 if(num > cur_power_of_2)
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dtp.c47 u32 num = size / pg_size; local
48 num -= num % 24;
49 return num;
54 u32 num; local
56 num = pm_num_pages(p->pm_size - p->pm_rx_base, p->pm_rx_pg_size);
57 if (p->pm_rx_num_pgs > num)
58 p->pm_rx_num_pgs = num;
60 num = pm_num_pages(p->pm_rx_base - p->pm_tx_base, p->pm_tx_pg_size);
61 if (p->pm_tx_num_pgs > num)
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cfg.c275 uint32_t num, size; local
335 num = (20 + size) - 13; /* XXX - consider using PAGESHIFT */
337 num -= 1; /* if blueflame, only half the size for UARs */
338 cp->cp_log_num_uar = min(hermon_log_num_uar, num);
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser_resource.c194 iser_msg_get(iser_hca_t *hca, int num, int *ret) argument
202 * Pull num number of message handles off the cache, linking
205 for (i = 0; i < num; i++) {
209 "requested (%d) allocated (%d)", num, i);
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c332 sbp2_cfgrom_ent_by_key(sbp2_cfgrom_ent_t *dir, int8_t kt, int8_t kv, int num) argument
338 ebk.num = num;
353 if (ebk->cnt == ebk->num) {
/illumos-gate/usr/src/lib/libast/common/port/
H A Dmc.c277 mc->num = sfgetu(ip);
288 if (!(mc->set = vmnewof(vm, 0, Mcset_t, mc->num + 1, 0)))
292 if (!(mp = vmnewof(vm, 0, char*, mc->nmsgs + mc->num + 1, 0)))
303 if (i > mc->num)
306 mc->set[i].num = n;
315 for (i = 1; i <= mc->num; i++)
316 for (j = 1; j <= mc->set[i].num; j++)
341 * return the <set,num> message in mc
347 mcget(register Mc_t* mc, int set, int num, const char* msg) argument
353 if (!mc || set < 0 || set > mc->num || nu
375 mcput(register Mc_t* mc, int set, int num, const char* msg) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Drcmd.c233 char num[8]; local
240 (void) snprintf(num, sizeof(num), "%d", lport);
241 if (write(s, num, strlen(num)+1) != strlen(num)+1) {
/illumos-gate/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c99 static unsigned char int2bcd(int num);
100 static int bcd2int(unsigned char num);
655 int2bcd(int num) { argument
656 return (((num / 10) << 4) /* tens BCD digit in high four bits */
657 + (num % 10)); /* units digit goes in low four bits */
661 bcd2int(unsigned char num) { argument
662 return (((num >> 4) * 10) /* 10 times high-order four bits */
663 + (num & 0x0f)); /* plus low-order four bits */
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dgptwo_pci.c442 char num[8]; local
457 numtos(i, num);
459 (void) sprintf(temp, "%s", num);
461 (void) sprintf(temp, "%s,%s", temp, num);
/illumos-gate/usr/src/uts/sun4u/lw8/sys/
H A Dlw8_impl.h86 int num; /* no. events requested and no. returned */ member in struct:__anon9822
94 int num; /* no. events requested and no. returned */ member in struct:__anon9823
103 int num_remaining; /* num of msg's left to retrieve after this */

Completed in 132 milliseconds

1234567891011>>