Searched refs:wd (Results 1 - 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/lib/libgen/common/
H A Dstrccpy.c61 int wd; local
92 wd = c - '0';
95 wd <<= 3;
96 wd |= (c - '0');
102 *pout++ = (char)wd;
/illumos-gate/usr/src/cmd/refer/
H A Dsortbib.c210 char wd[8][BUF/4], *strcat(); local
214 *wd[i] = NULL;
216 wd[0], wd[1], wd[2], wd[3], wd[4], wd[5], wd[6], wd[
[all...]
/illumos-gate/usr/src/cmd/echo/
H A Decho.c40 register int i, wd; local
109 j = wd = 0;
112 wd <<= 3;
113 wd |= (*cp - '0');
115 (void) putchar(wd);
/illumos-gate/usr/src/cmd/sh/
H A Decho.c44 int i, wd; local
121 j = wd = 0;
124 wd <<= 3;
125 wd |= (*cp - '0');
127 prc_buff(wd);
H A Dsh.xcl193 msgid "(wd: "
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c254 struct whod wd; local
258 cc = recvfrom(s, &wd, sizeof (struct whod), 0,
271 if (gethostbyname(wd.wd_hostname) == 0) {
273 wd.wd_hostname);
277 if (wd.wd_vers != WHODVERSION)
279 if (wd.wd_type != WHODTYPE_STATUS)
281 if (!verify(&wd)) {
286 (void) sprintf(path, "whod.%s", wd.wd_hostname);
303 wd.wd_sendtime = ntohl(wd
334 verify(const struct whod *wd) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dwordexp.c112 char *wd = NULL; local
192 (wd = malloc(PATH_MAX + 4)) == NULL)
196 (void) strcpy(wd, "PWD=");
197 if (getcwd(&wd[4], PATH_MAX) == NULL)
198 (void) strcpy(&wd[4], "/");
199 env[i] = wd;
371 if (wd)
372 free(wd);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drwho.c56 static struct whod wd; variable in typeref:struct:whod
66 #define WHDRSIZE (sizeof (wd) - sizeof (wd.wd_we))
81 register struct whod *w = &wd;
112 cc = read(f, (char *)&wd, sizeof (struct whod));
H A Druptime.c82 struct whod *wd; local
169 wd = buf;
174 if (wd->wd_loadav[i] > maxloadav)
175 maxloadav = wd->wd_loadav[i];
178 while (--we >= wd->wd_we)
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dstrchr.s61 mov %edx, %ebx / copy character across all bytes in wd
78 and %ecx, %esi / (wd - 0x01010101) & ~wd & 0x80808080
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211.c117 wifi_data_t wd = { 0 }; local
125 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic);
126 wd.wd_opmode = ic->ic_opmode;
127 IEEE80211_ADDR_COPY(wd.wd_bssid, in->in_bssid);
128 wd.wd_qospad = 0;
130 wd.wd_qospad = 2;
132 wd.wd_qospad = roundup(wd.wd_qospad, sizeof (uint32_t));
134 (void) mac_pdata_update(ic->ic_mach, &wd, sizeof (wd));
[all...]
H A Dnet80211_proto.c784 wifi_data_t wd = { 0 }; local
963 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic);
964 wd.wd_opmode = ic->ic_opmode;
965 IEEE80211_ADDR_COPY(wd.wd_bssid, in->in_bssid);
966 wd.wd_qospad = 0;
969 wd.wd_qospad = 2;
971 wd.wd_qospad = roundup(wd.wd_qospad,
975 (void) mac_pdata_update(ic->ic_mach, &wd, sizeof (wd));
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dtopo_gather.c748 walk_diskmon_t wd; local
754 wd.target = diskp;
755 wd.pfmri = NULL;
757 &wd, &err)) == NULL) {
765 if (wd.pfmri != NULL)
766 dstrfree(wd.pfmri);
774 if (wd.pfmri != NULL)
775 dstrfree(wd.pfmri);
/illumos-gate/usr/src/lib/libtsol/common/
H A Dsetflabel.c260 * at least MAXPATHLEN bytes long. If wd is non-NULL, assume that it
269 abspath(char *wd, const char *raw, char *canon) argument
281 * using wd if it's been supplied.
288 if (wd != NULL)
289 (void) strncpy(absbuf, wd, sizeof (absbuf));
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcib.c1008 struct send_wid *wd; local
1030 wd = (struct send_wid *)(uintptr_t)wc.wc_id;
1031 qp = wd->qp;
1034 mutex_enter(&wd->sendwait_lock);
1037 wd->status = RDMA_SUCCESS;
1060 wd->status = RDMA_FAILED;
1068 if (wd->cv_sig == 1) {
1072 cv_signal(&wd->wait_cv);
1073 mutex_exit(&wd->sendwait_lock);
1079 for (i = 0; i < wd
1101 struct send_wid *wd; local
2178 rib_sendwait(rib_qp_t *qp, struct send_wid *wd) argument
2263 struct send_wid *wd; local
2407 caddr_t wd; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Drctl.c365 dict_walk_data_t *wd = wsp->walk_data; local
366 mdb_free(wd->curdict, wd->num_dicts * sizeof (rctl_dict_entry_t *));
367 mdb_free(wd, sizeof (dict_walk_data_t));
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_download.c3761 if ((LoadEntry->un.wd[0] != 0) &&
3762 (LoadEntry->un.wd[0] != 0xffffffff)) {
3765 LoadEntry->un.wd[0], LoadEntry->un.wd[1]);
3790 uint32_t *wd; local
3833 wd = (uint32_t *)&WakeUpParms->prog_id;
3835 "Wakeup: prog_id=%08x %08x", wd[0], wd[1]);
3837 wd = (uint32_t *)&WakeUpParms->u0.boot_bios_id;
3839 "Wakeup: boot_bios_id=%08x %08x", wd[
[all...]
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.c470 wifi_data_t wd = { 0 }; local
485 wd.wd_secalloc = WIFI_SEC_NONE;
486 wd.wd_opmode = sc->ic.ic_opmode;
487 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_macaddr);
496 macp->m_pdata = &wd;
497 macp->m_pdata_size = sizeof (wd);
/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100.c262 wifi_data_t wd = { 0 }; local
433 wd.wd_secalloc = WIFI_SEC_NONE;
434 wd.wd_opmode = ic->ic_opmode;
435 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid);
451 macp->m_pdata = &wd;
452 macp->m_pdata_size = sizeof (wd);
1671 wifi_data_t wd = { 0 }; local
1699 wd.wd_secalloc = WIFI_SEC_WEP;
1701 wd.wd_secalloc = WIFI_SEC_NONE;
1702 wd
[all...]
/illumos-gate/usr/src/uts/common/io/simnet/
H A Dsimnet.c323 wifi_data_t wd = { 0 }; local
332 wd.wd_secalloc = WIFI_SEC_NONE;
333 wd.wd_opmode = IEEE80211_M_STA;
336 mac->m_pdata = &wd;
337 mac->m_pdata_size = sizeof (wd);
/illumos-gate/usr/src/lib/libsqlite/src/
H A Ddate.c814 int wd; /* 0=Monday, 1=Tuesday, ... 6=Sunday */ local
815 wd = ((int)(x.rJD+0.5)) % 7;
816 sprintf(&z[j],"%02d",(n+7-wd)/7);
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c846 * at least MAXPATHLEN bytes long. "wd" contains the current working
854 abspath(char *wd, char *raw, char *canon) argument
861 if (wd == NULL || raw == NULL || canon == NULL)
866 * using wd if it's been supplied.
873 if (strlcpy(absbuf, wd, sizeof (absbuf)) >= sizeof (absbuf))
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200.c337 wifi_data_t wd = { 0 }; local
565 wd.wd_secalloc = WIFI_SEC_NONE;
566 wd.wd_opmode = ic->ic_opmode;
567 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid);
583 macp->m_pdata = &wd;
584 macp->m_pdata_size = sizeof (wd);
1800 wifi_data_t wd = { 0 }; local
1822 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic);
1823 wd.wd_opmode = ic->ic_opmode;
1824 IEEE80211_ADDR_COPY(wd
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_main.c2802 wifi_data_t wd = { 0 }; local
3192 wd.wd_opmode = ic->ic_opmode;
3193 wd.wd_secalloc = WIFI_SEC_NONE;
3194 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid);
3197 "IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid)"
3199 wd.wd_bssid[0], wd.wd_bssid[1], wd.wd_bssid[2],
3200 wd.wd_bssid[3], wd
[all...]
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.c1172 wifi_data_t wd = {0}; local
1266 wd.wd_opmode = ic->ic_opmode;
1267 wd.wd_secalloc = WIFI_SEC_NONE;
1268 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid);
1281 macp->m_pdata = &wd;
1282 macp->m_pdata_size = sizeof (wd);

Completed in 157 milliseconds

123