Searched defs:tmp (Results 226 - 250 of 1069) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/ctf/cvt/
H A Diidesc.c96 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 Ddmfe_mii.c213 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 Ddrm_mm.c211 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 DHBA.cc186 HBAPort *tmp = portsByIndex[index]; local
188 return (tmp);
H A DHBAPort.cc219 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 DHandle.cc206 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 DTgtFCHBA.cc319 uint64_t tmp = ntohll(*((uint64_t *)&tgthbaList->port_wwn[i][0])); local
320 sprintf(wwnStr, "%llx", tmp);
H A DTgtFCHBAPort.cc231 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 Dsun_sas.c371 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 Dtime.c93 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 Dsysteminfo.c145 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 Dtirdwr.c249 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 Dtty_common.c125 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 Dxgehal-channel.c313 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 Dpathtemp.c56 * / 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 Dbase64.c61 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 Dkbtrans.c492 ushort_t tmp; local
507 tmp = first_entry;
509 second_entry = tmp;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_ndd.c97 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 Denviron.c337 uchar_t tmp; local
373 tmp = *(softsp->temp_reg);
379 tmp = tmp;
/illumos-gate/usr/src/uts/sun4u/io/
H A Diocache.c164 volatile uint64_t tmp; local
244 tmp = *softsp->sbus_ctrl_reg;
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_cb.c127 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 Dpcmu_cb.c133 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 Data_dma.c228 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 Dlogger.c121 char tmp[23]; local
158 pid_len = sprintf(tmp, "%ld", (long)getpid());
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dinit.c155 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...]

Completed in 66 milliseconds

1234567891011>>