Home
last modified time | relevance | path

Searched refs:wd (Results 1 – 25 of 56) sorted by relevance

123

/titanic_44/usr/src/cmd/refer/
H A Dsortbib.c210 char wd[8][BUF/4], *strcat(); in parse() local
214 *wd[i] = NULL; in parse()
216 wd[0], wd[1], wd[2], wd[3], wd[4], wd[5], wd[6], wd[7]); in parse()
218 if (wd[0][1] == keystr[i]) { in parse()
219 if (wd[0][1] == 'A') { in parse()
224 if (!endcomma(wd[n-2])) /* surname */ in parse()
225 strcat(fld[i], wd[n-1]); in parse()
227 strcat(fld[i], wd[n-2]); in parse()
232 strcat(fld[i], wd[j]); in parse()
234 } else if (wd[0][1] == 'D') { in parse()
[all …]
/titanic_44/usr/src/lib/libgen/common/
H A Dstrccpy.c61 int wd; in strcadd() local
92 wd = c - '0'; in strcadd()
95 wd <<= 3; in strcadd()
96 wd |= (c - '0'); in strcadd()
102 *pout++ = (char)wd; in strcadd()
/titanic_44/usr/src/cmd/echo/
H A Decho.c40 register int i, wd; in main() local
109 j = wd = 0; in main()
112 wd <<= 3; in main()
113 wd |= (*cp - '0'); in main()
115 (void) putchar(wd); in main()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c254 struct whod wd; in main() local
258 cc = recvfrom(s, &wd, sizeof (struct whod), 0, in main()
271 if (gethostbyname(wd.wd_hostname) == 0) { in main()
273 wd.wd_hostname); in main()
277 if (wd.wd_vers != WHODVERSION) in main()
279 if (wd.wd_type != WHODTYPE_STATUS) in main()
281 if (!verify(&wd)) { in main()
286 (void) sprintf(path, "whod.%s", wd.wd_hostname); in main()
303 wd.wd_sendtime = ntohl(wd.wd_sendtime); in main()
305 wd.wd_loadav[i] = ntohl(wd.wd_loadav[i]); in main()
[all …]
/titanic_44/usr/src/cmd/sh/
H A Decho.c44 int i, wd; in echo() local
121 j = wd = 0; in echo()
124 wd <<= 3; in echo()
125 wd |= (*cp - '0'); in echo()
127 prc_buff(wd); in echo()
H A Dsh.xcl193 msgid "(wd: "
/titanic_44/usr/src/lib/libc/port/regex/
H A Dwordexp.c112 char *wd = NULL; in wordexp() local
192 (wd = malloc(PATH_MAX + 4)) == NULL) in wordexp()
196 (void) strcpy(wd, "PWD="); in wordexp()
197 if (getcwd(&wd[4], PATH_MAX) == NULL) in wordexp()
198 (void) strcpy(&wd[4], "/"); in wordexp()
199 env[i] = wd; in wordexp()
371 if (wd) in wordexp()
372 free(wd); in wordexp()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/
H A Drwho.c56 static struct whod wd; variable
66 #define WHDRSIZE (sizeof (wd) - sizeof (wd.wd_we))
81 register struct whod *w = &wd; in main()
112 cc = read(f, (char *)&wd, sizeof (struct whod)); in main()
H A Druptime.c82 struct whod *wd; in main() local
169 wd = buf; in main()
174 if (wd->wd_loadav[i] > maxloadav) in main()
175 maxloadav = wd->wd_loadav[i]; in main()
178 while (--we >= wd->wd_we) in main()
/titanic_44/usr/src/uts/common/io/net80211/
H A Dnet80211.c117 wifi_data_t wd = { 0 }; in ieee80211_mac_update() local
125 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic); in ieee80211_mac_update()
126 wd.wd_opmode = ic->ic_opmode; in ieee80211_mac_update()
127 IEEE80211_ADDR_COPY(wd.wd_bssid, in->in_bssid); in ieee80211_mac_update()
128 wd.wd_qospad = 0; in ieee80211_mac_update()
130 wd.wd_qospad = 2; in ieee80211_mac_update()
132 wd.wd_qospad = roundup(wd.wd_qospad, sizeof (uint32_t)); in ieee80211_mac_update()
134 (void) mac_pdata_update(ic->ic_mach, &wd, sizeof (wd)); in ieee80211_mac_update()
137 "(cipher = %d)\n", wd.wd_secalloc); in ieee80211_mac_update()
H A Dnet80211_proto.c780 wifi_data_t wd = { 0 }; in ieee80211_newstate() local
958 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic); in ieee80211_newstate()
959 wd.wd_opmode = ic->ic_opmode; in ieee80211_newstate()
960 IEEE80211_ADDR_COPY(wd.wd_bssid, in->in_bssid); in ieee80211_newstate()
961 wd.wd_qospad = 0; in ieee80211_newstate()
964 wd.wd_qospad = 2; in ieee80211_newstate()
966 wd.wd_qospad = roundup(wd.wd_qospad, in ieee80211_newstate()
970 (void) mac_pdata_update(ic->ic_mach, &wd, sizeof (wd)); in ieee80211_newstate()
/titanic_44/usr/src/uts/common/rpc/
H A Drpcib.c1008 struct send_wid *wd; in rib_clnt_scq_handler() local
1030 wd = (struct send_wid *)(uintptr_t)wc.wc_id; in rib_clnt_scq_handler()
1031 qp = wd->qp; in rib_clnt_scq_handler()
1034 mutex_enter(&wd->sendwait_lock); in rib_clnt_scq_handler()
1037 wd->status = RDMA_SUCCESS; in rib_clnt_scq_handler()
1060 wd->status = RDMA_FAILED; in rib_clnt_scq_handler()
1068 if (wd->cv_sig == 1) { in rib_clnt_scq_handler()
1072 cv_signal(&wd->wait_cv); in rib_clnt_scq_handler()
1073 mutex_exit(&wd->sendwait_lock); in rib_clnt_scq_handler()
1079 for (i = 0; i < wd->nsbufs; i++) { in rib_clnt_scq_handler()
[all …]
/titanic_44/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
/titanic_44/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dtopo_gather.c748 walk_diskmon_t wd; in update_configuration_from_topo() local
754 wd.target = diskp; in update_configuration_from_topo()
755 wd.pfmri = NULL; in update_configuration_from_topo()
757 &wd, &err)) == NULL) { in update_configuration_from_topo()
765 if (wd.pfmri != NULL) in update_configuration_from_topo()
766 dstrfree(wd.pfmri); in update_configuration_from_topo()
774 if (wd.pfmri != NULL) in update_configuration_from_topo()
775 dstrfree(wd.pfmri); in update_configuration_from_topo()
/titanic_44/usr/src/lib/libtsol/common/
H A Dsetflabel.c269 abspath(char *wd, const char *raw, char *canon) in abspath() argument
288 if (wd != NULL) in abspath()
289 (void) strncpy(absbuf, wd, sizeof (absbuf)); in abspath()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_download.c3761 if ((LoadEntry->un.wd[0] != 0) && in emlxs_get_load_list()
3762 (LoadEntry->un.wd[0] != 0xffffffff)) { in emlxs_get_load_list()
3765 LoadEntry->un.wd[0], LoadEntry->un.wd[1]); in emlxs_get_load_list()
3790 uint32_t *wd; in emlxs_read_wakeup_parms() local
3833 wd = (uint32_t *)&WakeUpParms->prog_id; in emlxs_read_wakeup_parms()
3835 "Wakeup: prog_id=%08x %08x", wd[0], wd[1]); in emlxs_read_wakeup_parms()
3837 wd = (uint32_t *)&WakeUpParms->u0.boot_bios_id; in emlxs_read_wakeup_parms()
3839 "Wakeup: boot_bios_id=%08x %08x", wd[0], wd[1]); in emlxs_read_wakeup_parms()
3841 wd = (uint32_t *)&WakeUpParms->sli1_prog_id; in emlxs_read_wakeup_parms()
3843 "Wakeup: sli1_prog_id=%08x %08x", wd[0], wd[1]); in emlxs_read_wakeup_parms()
[all …]
/titanic_44/usr/src/uts/common/io/zyd/
H A Dzyd.c470 wifi_data_t wd = { 0 }; in zyd_mac_init() local
485 wd.wd_secalloc = WIFI_SEC_NONE; in zyd_mac_init()
486 wd.wd_opmode = sc->ic.ic_opmode; in zyd_mac_init()
487 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_macaddr); in zyd_mac_init()
496 macp->m_pdata = &wd; in zyd_mac_init()
497 macp->m_pdata_size = sizeof (wd); in zyd_mac_init()
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Drctl.c365 dict_walk_data_t *wd = wsp->walk_data; in rctl_dict_walk_fini() local
366 mdb_free(wd->curdict, wd->num_dicts * sizeof (rctl_dict_entry_t *)); in rctl_dict_walk_fini()
367 mdb_free(wd, sizeof (dict_walk_data_t)); in rctl_dict_walk_fini()
/titanic_44/usr/src/uts/common/io/ipw/
H A Dipw2100.c262 wifi_data_t wd = { 0 }; in ipw2100_attach() local
433 wd.wd_secalloc = WIFI_SEC_NONE; in ipw2100_attach()
434 wd.wd_opmode = ic->ic_opmode; in ipw2100_attach()
435 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid); in ipw2100_attach()
451 macp->m_pdata = &wd; in ipw2100_attach()
452 macp->m_pdata_size = sizeof (wd); in ipw2100_attach()
1671 wifi_data_t wd = { 0 }; in ipw2100_newstate() local
1699 wd.wd_secalloc = WIFI_SEC_WEP; in ipw2100_newstate()
1701 wd.wd_secalloc = WIFI_SEC_NONE; in ipw2100_newstate()
1702 wd.wd_opmode = ic->ic_opmode; in ipw2100_newstate()
[all …]
/titanic_44/usr/src/uts/common/io/iwi/
H A Dipw2200.c337 wifi_data_t wd = { 0 }; in ipw2200_attach() local
565 wd.wd_secalloc = WIFI_SEC_NONE; in ipw2200_attach()
566 wd.wd_opmode = ic->ic_opmode; in ipw2200_attach()
567 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid); in ipw2200_attach()
583 macp->m_pdata = &wd; in ipw2200_attach()
584 macp->m_pdata_size = sizeof (wd); in ipw2200_attach()
1800 wifi_data_t wd = { 0 }; in ipw2200_newstate() local
1822 wd.wd_secalloc = ieee80211_crypto_getciphertype(ic); in ipw2200_newstate()
1823 wd.wd_opmode = ic->ic_opmode; in ipw2200_newstate()
1824 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid); in ipw2200_newstate()
[all …]
/titanic_44/usr/src/uts/common/io/arn/
H A Darn_main.c2852 wifi_data_t wd = { 0 }; in arn_attach() local
3242 wd.wd_opmode = ic->ic_opmode; in arn_attach()
3243 wd.wd_secalloc = WIFI_SEC_NONE; in arn_attach()
3244 IEEE80211_ADDR_COPY(wd.wd_bssid, ic->ic_bss->in_bssid); in arn_attach()
3249 wd.wd_bssid[0], wd.wd_bssid[1], wd.wd_bssid[2], in arn_attach()
3250 wd.wd_bssid[3], wd.wd_bssid[4], wd.wd_bssid[5])); in arn_attach()
3265 macp->m_pdata = &wd; in arn_attach()
3266 macp->m_pdata_size = sizeof (wd); in arn_attach()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A DREADME.netboot120 --enable-wd
121 --enable-wd-default-mem=MEM (0xCC000)
/titanic_44/usr/src/lib/libsqlite/src/
H A Ddate.c814 int wd; /* 0=Monday, 1=Tuesday, ... 6=Sunday */ in strftimeFunc() local
815 wd = ((int)(x.rJD+0.5)) % 7; in strftimeFunc()
816 sprintf(&z[j],"%02d",(n+7-wd)/7); in strftimeFunc()
/titanic_44/usr/src/uts/common/io/simnet/
H A Dsimnet.c323 wifi_data_t wd = { 0 }; in simnet_init_wifi() local
332 wd.wd_secalloc = WIFI_SEC_NONE; in simnet_init_wifi()
333 wd.wd_opmode = IEEE80211_M_STA; in simnet_init_wifi()
336 mac->m_pdata = &wd; in simnet_init_wifi()
337 mac->m_pdata_size = sizeof (wd); in simnet_init_wifi()
/titanic_44/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c854 abspath(char *wd, char *raw, char *canon) in abspath() argument
861 if (wd == NULL || raw == NULL || canon == NULL) in abspath()
873 if (strlcpy(absbuf, wd, sizeof (absbuf)) >= sizeof (absbuf)) in abspath()

123