Searched defs:ah (Results 1 - 25 of 83) sorted by relevance

1234

/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_audit.c40 adt_session_data_t *ah; local
43 if (adt_start_session(&ah, NULL, 0) != 0)
46 if (adt_set_from_ucred(ah, ucr, ADT_NEW) != 0) {
47 (void) adt_end_session(ah);
51 if ((edata = adt_alloc_event(ah, eid)) == NULL) {
52 (void) adt_end_session(ah);
81 (void) adt_end_session(ah);
/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Daes_test.c67 void *ah; local
78 if (aes_init(&ah) != 0) {
89 aes_key(ah, key, td[i].keysize);
96 aes_encrypt(ah, work);
102 aes_decrypt(ah, work);
112 aes_fini(ah);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dudp.c165 struct arphdr *ah = (void *)ip; local
166 if (ah->ar_op == htons(ARPOP_REQUEST)) {
168 arp_reply(d, ah);
H A Darp.c77 struct ether_arp *ah; local
111 ah = &wbuf.data.arp;
112 ah->arp_hrd = htons(ARPHRD_ETHER);
113 ah->arp_pro = htons(ETHERTYPE_IP);
114 ah->arp_hln = sizeof(ah->arp_sha); /* hardware address length */
115 ah->arp_pln = sizeof(ah->arp_spa); /* protocol address length */
116 ah->arp_op = htons(ARPOP_REQUEST);
117 MACPY(d->myea, ah
176 struct ether_arp *ah; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipsec.c106 ah_t *ah = (ah_t *)hdr; local
122 aligned_ah = ah;
139 auth_data = (uint8_t *)(ah + 1);
152 (void) sprintf(get_line((char *)&ah->ah_nexthdr - dlc_header,
155 (void) sprintf(get_line((char *)&ah->ah_length - dlc_header, 1),
157 (void) sprintf(get_line((char *)&ah->ah_reserved - dlc_header,
160 (void) sprintf(get_line((char *)&ah->ah_spi - dlc_header, 4),
162 (void) sprintf(get_line((char *)&ah->ah_replay - dlc_header, 4),
/illumos-gate/usr/src/cmd/login/
H A Dlogin_audit.c61 adt_session_data_t *ah; local
67 if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA)) {
71 if (adt_set_user(ah, pwd->pw_uid, pwd->pw_gid,
74 (void) adt_end_session(ah);
77 event = adt_alloc_event(ah, event_id);
93 (void) adt_end_session(ah);
108 audit_logout(ah); /* fork to catch logout */
112 (void) adt_end_session(ah);
119 audit_logout(adt_session_data_t *ah) argument
126 if ((logout = adt_alloc_event(ah, ADT_logou
209 adt_session_data_t *ah; local
[all...]
/illumos-gate/usr/src/cmd/uadmin/
H A Duadmin.c65 adt_session_data_t *ah; /* audit session handle */ local
93 if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA) != 0) {
126 (event = adt_alloc_event(ah, event_id)) == NULL) {
291 if ((event = adt_alloc_event(ah, ADT_uadmin_thaw)) == NULL) {
302 (void) adt_end_session(ah);
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_osdep.c64 ath_hal_printf(struct ath_hal *ah, const char *fmt, ...) argument
68 _NOTE(ARGUNUSED(ah))
H A Dath_rate.c304 struct ath_hal *ah = asc->asc_ah; local
310 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_11A);
313 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_11B);
316 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_11G);
319 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_TURBO);
322 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_108G);
/illumos-gate/usr/src/lib/libm/common/C/
H A Datan2.c410 double ah, al, t, xh, x, y, z; local
432 ah = pio2;
435 ah = -pio2;
443 ah = mpi;
447 ah = al = zero;
456 ah += pio4;
458 inexact = (int)ah; /* inexact if ah != 0 */
460 return ((sy)? -ah : ah);
[all...]
/illumos-gate/usr/src/cmd/newgrp/
H A Dnewgrp.c209 adt_session_data_t *ah; local
212 if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA) != 0) {
216 if ((event = adt_alloc_event(ah, ADT_newgrp_login)) == NULL) {
228 (void) adt_end_session(ah);
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-zpool.c57 adt_session_data_t *ah; local
60 if (adt_start_session(&ah, imported_state, 0) != 0) {
64 if ((event = adt_alloc_event(ah, event_id)) == NULL) {
95 (void) adt_end_session(ah);
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_logon.c86 adt_session_data_t *ah; local
133 if (adt_start_session(&ah, NULL, 0)) {
139 if ((event = adt_alloc_event(ah, ADT_smbd_session)) == NULL) {
142 (void) adt_end_session(ah);
158 adt_set_termid(ah, &termid);
160 if (adt_set_user(ah, uid, gid, uid, gid, NULL, ADT_NEW)) {
163 (void) adt_end_session(ah);
180 (void) adt_end_session(ah);
185 entry->sa_handle = ah;
232 adt_session_data_t *ah; local
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_beacon.c44 struct ath_hal *ah = sc->sc_ah; local
59 (ah->ah_caps.hw_caps & ATH9K_HW_CAP_VEOL)) {
86 ath9k_hw_set11n_txdesc(ah, ds,
95 (void) ath9k_hw_filltxdesc(ah, ds,
106 ath9k_hw_set11n_ratescenario(ah, ds, ds, 0,
123 struct ath_hal *ah = sc->sc_ah; local
138 if (!ath9k_hw_stoptxdma(ah, sc->sc_beaconq)) {
145 (void) ath9k_hw_puttxbuf(ah, sc->sc_beaconq, bf->bf_daddr);
146 (void) ath9k_hw_txstart(ah, sc->sc_beaconq);
155 arn_beaconq_setup(struct ath_hal *ah) argument
[all...]
H A Darn_phy.c29 ath9k_hw_write_regs(struct ath_hal *ah, uint32_t modesIndex, uint32_t freqIndex, argument
32 struct ath_hal_5416 *ahp = AH5416(ah);
39 ath9k_hw_set_channel(struct ath_hal *ah, struct ath9k_channel *chan) argument
48 ath9k_hw_get_channel_centers(ah, chan, &centers);
69 txctl = REG_READ(ah, AR_PHY_CCK_TX_CTRL);
72 REG_WRITE(ah, AR_PHY_CCK_TX_CTRL,
75 REG_WRITE(ah, AR_PHY_CCK_TX_CTRL,
86 if (AR_SREV_9100(ah) || AR_SREV_9160_10_OR_LATER(ah))
102 REG_WRITE(ah, AR_PH
112 ath9k_hw_ar9280_set_channel(struct ath_hal *ah, struct ath9k_channel *chan) argument
209 ath9k_hw_set_rf_regs(struct ath_hal *ah, struct ath9k_channel *chan, uint16_t modesIndex) argument
283 ath9k_hw_rfdetach(struct ath_hal *ah) argument
336 ath9k_hw_init_rf(struct ath_hal *ah, int *status) argument
404 ath9k_hw_decrease_chain_power(struct ath_hal *ah, struct ath9k_channel *chan) argument
[all...]
H A Darn_recv.c152 struct ath_hal *ah = sc->sc_ah; local
159 ath9k_hw_setrxfilter(ah, rfilt);
162 if (ah->ah_caps.hw_caps & ATH9K_HW_CAP_BSSIDMASK)
163 (void) ath9k_hw_setbssidmask(ah, sc->sc_bssidmask);
166 ath9k_hw_setopmode(ah);
169 (void) ath9k_hw_setmac(ah, sc->sc_myaddr);
175 ath9k_hw_setmcastfilter(ah, mfilt[0], mfilt[1]);
276 struct ath_hal *ah = sc->sc_ah; local
300 ath9k_hw_putrxbuf(ah, bf->bf_daddr);
301 ath9k_hw_rxena(ah);
314 struct ath_hal *ah = sc->sc_ah; local
424 struct ath_hal *ah = sc->sc_ah; local
[all...]
/illumos-gate/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c184 adt_session_data_t *ah; local
253 if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA) != 0) {
258 adt_get_auid(ah, &auid);
332 if (adt_set_user(ah, apwd.pw_uid, apwd.pw_gid,
340 if (adt_set_user(ah, pwd.pw_uid, pwd.pw_gid,
360 if (adt_set_user(ah, pwd.pw_uid, pwd.pw_gid,
368 if (adt_set_proc(ah) != 0) {
381 if (adt_set_user(ah, pwd.pw_uid, pwd.pw_gid, pwd.pw_uid,
388 if (adt_set_proc(ah) != 0) {
406 if (adt_end_session(ah) !
[all...]
/illumos-gate/usr/src/lib/librdc/common/
H A Dnetaddrs.c348 AUTH *ah = NULL; local
384 ah = authsys_create_default();
385 if (ah != NULL)
386 cl->cl_auth = ah;
492 if (ah != NULL) {
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_svc.c388 adt_session_data_t *ah; local
392 if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA)) {
403 if (adt_set_user(ah, ADT_NO_ATTRIB, ADT_NO_ATTRIB, ADT_NO_ATTRIB,
406 (void) adt_end_session(ah);
410 if ((event = adt_alloc_event(ah, ADT_vscan_quarantine)) == NULL) {
413 (void) adt_end_session(ah);
432 (void) adt_end_session(ah);
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.h118 struct netobj ah; member in struct:addr_entry
217 extern void record_addr(char *name, sa_family_t family, struct netobj *ah);
/illumos-gate/usr/src/uts/common/inet/
H A Dipsecah.h124 typedef struct ah { struct
133 #define AH_TOTAL_LEN(ah) (((ah)->ah_length << 2) + AH_BASELEN - \
134 sizeof ((ah)->ah_replay))
146 #define AHOLD_TOTAL_LEN(ah) (((ah)->ah_length << 2) + AH_BASELEN)
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dexpand.c103 int ret, ah; local
106 * This function returns 16 bits. The upper 8 are the value of %ah
111 ah = ret >> 8;
114 if (ah == 0x86 && ret != 0) {
120 if (ah == 0 && ret == 0) {
125 if (ah == 0 && ret != 0) {
132 "confused.\n %%ax >> 8 = 0x%x, carry = %d\n", ah, ret);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_autohome.c195 smb_autohome_t *ah = NULL; local
205 while ((ah = smb_autohome_getent(name)) != NULL) {
206 if (strcasecmp(ah->ah_name, name) == 0)
210 if (ah == NULL) {
213 while ((ah = smb_autohome_getent(name)) != NULL) {
214 if (strcasecmp(ah->ah_name, "*") == 0) {
215 ah->ah_name = (char *)name;
221 if (ah == NULL) {
224 while ((ah = smb_autohome_getent("+nsswitch")) != NULL) {
225 if (strcasecmp("+nsswitch", ah
[all...]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_resource.c102 ACPI_HANDLE ah; local
113 (ACPI_FAILURE(acpica_get_handle(dip, &ah))))
116 (void) AcpiWalkResources(ah, "_CRS", acpi_wr_cb,
/illumos-gate/usr/src/cmd/power/
H A Dsys-suspend.c135 pm_audit_event(adt_session_data_t *ah, au_event_t event_id, int status) argument
140 if ((event = adt_alloc_event(ah, event_id)) == NULL) {
273 adt_session_data_t *ah = NULL; /* audit session handle */ local
333 if (adt_start_session(&ah, NULL, ADT_USE_PROC_DATA) == 0) {
334 if ((event = adt_alloc_event(ah, event_id)) != NULL) {
379 if (ah != NULL) {
381 ((event = adt_alloc_event(ah, ADT_uadmin_thaw))
398 pm_do_auth(ah);
401 (void) adt_end_session(ah);
808 pm_do_auth(adt_session_data_t *ah) argument
[all...]

Completed in 112 milliseconds

1234