/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | iidesc.c | 96 iidesc_t tmp; local 98 bcopy(old, &tmp, sizeof (tmp)); 100 bcopy(&tmp, new, sizeof (*new));
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_mii.c | 213 uint32_t tmp; local 217 tmp = dmfe_chip_get32(dmfep, ETHER_ROM_REG); 218 ack = (tmp & MII_DATA_IN) == 0; 226 tmp = dmfe_chip_get32(dmfep, ETHER_ROM_REG); 228 data |= (tmp >> MII_DATA_IN_SHIFT) & 1;
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_mm.c | 211 unsigned tmp = 0; local 214 tmp = parent->start % alignment; 216 if (tmp) { 217 align_splitoff = drm_mm_split_at_start(parent, alignment - tmp); 260 register unsigned tmp = entry->start % alignment; local 261 if (tmp) 262 wasted += alignment - tmp;
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | HBA.cc | 186 HBAPort *tmp = portsByIndex[index]; local 188 return (tmp);
|
H A D | HBAPort.cc | 219 string tmp = "Unable to open "; local 220 tmp += dir; 221 tmp += "to find controller number."; 223 throw IOError(tmp); 296 HBANPIVPort *tmp = npivportsByIndex[index]; local 298 return (tmp);
|
H A D | Handle.cc | 206 Handle *tmp = NULL; local 212 tmp = openHandles[id]; 214 return (tmp); 232 Handle *tmp = NULL; local 236 tmp = openHandles[i]; 237 if (tmp->getHBA()->containsWWN(wwn)) { 239 return (tmp); 242 tmp = NULL; 243 } catch (...) { tmp = NULL; } 245 if (tmp 303 HBA_HANDLE tmp; local 423 uint64_t tmp; local [all...] |
H A D | TgtFCHBA.cc | 319 uint64_t tmp = ntohll(*((uint64_t *)&tgthbaList->port_wwn[i][0])); local 320 sprintf(wwnStr, "%llx", tmp);
|
H A D | TgtFCHBAPort.cc | 231 uint64_t tmp; local 232 HBA_PORTATTRIBUTES attrs = getPortAttributes(tmp); 233 memcpy(&tmp, &attrs.PortWWN, 8); 234 portWWN = ntohll(tmp); 235 memcpy(&tmp, &attrs.NodeWWN, 8); 236 nodeWWN = ntohll(tmp); 416 uint64_t tmp; local 426 attrs = getDiscoveredAttributes(destWWN, tmp);
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | sun_sas.c | 371 u_longlong_t tmp; local 372 (void) memcpy(&tmp, wwn, sizeof (u_longlong_t)); 373 tmp = ntohll(tmp); 374 return (tmp);
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | time.c | 93 struct tm *tmp; local 100 tmp = &result; 111 tmp->tm_hour = (int)(rem / SECS_PER_HOUR); 113 tmp->tm_min = (int)(rem / SECS_PER_MIN); 114 tmp->tm_sec = (int)(rem % SECS_PER_MIN); 115 tmp->tm_wday = (int)((EPOCH_WDAY + days) % DAYS_PER_WEEK); 116 if (tmp->tm_wday < 0) 117 tmp->tm_wday += DAYS_PER_WEEK; 132 tmp->tm_year = y - TM_YEAR_BASE; 133 tmp [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | systeminfo.c | 145 char *tmp; local 149 tmp = ""; 179 tmp = kmem_alloc(tlen, KM_SLEEP); 180 (void) strncpy(tmp, dhcifname, IFNAMSIZ); 182 &tmp[IFNAMSIZ], &octlen) != 0) { 183 kmem_free(tmp, tlen); 199 if (copyout(tmp, buf, getcnt)) 203 kmem_free(tmp, tlen); 207 kmem_free(tmp, tlen);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tirdwr.c | 249 mblk_t *tmp; local 291 tmp = (mblk_t *)unlinkb(mp); 293 putnext(q, tmp); 307 tmp = (mblk_t *)unlinkb(mp); 308 putnext(q, tmp); 423 mblk_t *tmp; local 438 tmp = mp->b_next; 441 mp = tmp; 446 tmp = (mblk_t *)unlinkb(mp); 448 (void) insq(q, emp, tmp); [all...] |
H A D | tty_common.c | 125 mblk_t *tmp; local 409 tmp = tc->t_iocpending; 419 if (tmp != NULL) 420 freemsg(tmp);
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-channel.c | 313 xge_hal_channel_t *tmp; local 315 tmp = xge_container_of(item, xge_hal_channel_t, item); 316 if (tmp->type == attr->type && 317 tmp->post_qid == attr->post_qid && 318 tmp->compl_qid == attr->compl_qid) { 319 channel = tmp; 534 xge_hal_channel_t *tmp; local 536 tmp = xge_container_of(item, xge_hal_channel_t, item); 537 xge_assert(!tmp->is_open); 538 if (channel == tmp) { [all...] |
/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathtemp.c | 56 * / as first pfx char provides tmp file generation control 60 * automatic (default) cycled with each tmp file 81 #define TMP1 "/tmp" 82 #define TMP2 "/usr/tmp" 99 } tmp = { S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH }; variable in typeref:struct:__anon2659 125 tmp.manual = 1; 126 if (tmp.dir && !*tmp.dir++) 127 tmp.dir = tmp [all...] |
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | base64.c | 61 unsigned char tmp[B64_EC * B64_CHUNK]; local 82 tp = tmp; 83 te = tp + sizeof(tmp) - B64_EC + 1; 100 tp = tmp; 101 te = tp + sizeof(tmp) - B64_EC + 1; 113 n += tp - tmp + (fp < fe); 114 tp = tmp; 129 tp = tmp; 130 te = tp + sizeof(tmp) - B64_EC + 1; 141 n += (tp - tmp) [all...] |
/illumos-gate/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans.c | 492 ushort_t tmp; local 507 tmp = first_entry; 509 second_entry = tmp;
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_ndd.c | 97 mblk_t *tmp; local 144 tmp = mp; 145 while (tmp->b_cont != NULL) 146 tmp = tmp->b_cont; 147 *tmp->b_wptr++ = '\0';
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | environ.c | 337 uchar_t tmp; local 373 tmp = *(softsp->temp_reg); 379 tmp = tmp;
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | iocache.c | 164 volatile uint64_t tmp; local 244 tmp = *softsp->sbus_ctrl_reg;
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_cb.c | 127 uint64_t tmp, map_reg_pa = cb_ino_to_map_pa(cb_p, ino); local 131 tmp = lddphysio(map_reg_pa) & ~COMMON_INTR_MAP_REG_VALID; 132 stdphysio(map_reg_pa, tmp);
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_cb.c | 133 uint64_t tmp, map_reg_pa = pcmu_cb_ino_to_map_pa(pcb_p, ino); local 137 tmp = lddphysio(map_reg_pa) & ~PCMU_INTR_MAP_REG_VALID; 138 stdphysio(map_reg_pa, tmp);
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_dma.c | 228 uchar_t tmp; local 237 tmp = ddi_get8(bmhandle, (uchar_t *)bmaddr + PCIIDE_BMICX_REG); 238 tmp &= PCIIDE_BMICX_MASK; 240 (tmp | direction)); 243 (tmp | PCIIDE_BMICX_SSBM_E | direction)); 256 uchar_t tmp; local 261 tmp = ddi_get8(bmhandle, (uchar_t *)bmaddr + PCIIDE_BMICX_REG); 262 tmp &= (PCIIDE_BMICX_MASK & (~PCIIDE_BMICX_SSBM)); 264 ADBG_DMA(("ata_pciide_dma_stop 0x%p 0x%x\n", bmaddr, tmp)); 266 ddi_put8(bmhandle, (uchar_t *)bmaddr + PCIIDE_BMICX_REG, tmp); local 313 uchar_t tmp; local 328 ddi_put8(bmhandle, (uchar_t *)bmaddr + PCIIDE_BMISX_REG, tmp); local [all...] |
/illumos-gate/usr/src/cmd/logger/ |
H A D | logger.c | 121 char tmp[23]; local 158 pid_len = sprintf(tmp, "%ld", (long)getpid());
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | init.c | 155 RSTATUS tmp; local 157 memset(&tmp, 0, sizeof (tmp)); 158 tmp.req_file = reqfile; /* fix for 1103890 */ 159 rmfiles(&tmp, 0); 160 free(tmp.req_file); 166 RSTATUS tmp; local 168 memset(&tmp, 0, sizeof (tmp)); 169 tmp [all...] |