include/arpa/nameser.h
158
#define ns_msg_id(handle) ((handle)._id + 0)
include/arpa/nameser.h
159
#define ns_msg_base(handle) ((handle)._msg + 0)
include/arpa/nameser.h
160
#define ns_msg_end(handle) ((handle)._eom + 0)
include/arpa/nameser.h
161
#define ns_msg_size(handle) ((size_t)((handle)._eom - (handle)._msg))
include/arpa/nameser.h
162
#define ns_msg_count(handle, section) ((handle)._counts[section] + 0)
include/arpa/nameser.h
661
void ns_newmsg_id(ns_newmsg *handle, uint16_t id);
include/arpa/nameser.h
662
void ns_newmsg_flag(ns_newmsg *handle, ns_flag flag, u_int value);
include/arpa/nameser.h
663
int ns_newmsg_q(ns_newmsg *handle, ns_nname_ct qname,
include/arpa/nameser.h
665
int ns_newmsg_rr(ns_newmsg *handle, ns_sect sect,
include/arpa/nameser.h
669
size_t ns_newmsg_done(ns_newmsg *handle);
include/nsswitch.h
204
void *handle; /* handle from dlopen() */
lib/libbluetooth/sdp_compat.c
251
uint8_t *data, uint32_t datalen, uint32_t *handle)
lib/libbluetooth/sdp_compat.c
293
if (handle != NULL)
lib/libbluetooth/sdp_compat.c
294
*handle = be32dec(sc->ss->ibuf + sizeof(uint16_t));
lib/libbluetooth/sdp_compat.c
300
sdp_change_service(void *xss, uint32_t handle,
lib/libbluetooth/sdp_compat.c
312
handle = htobe32(handle);
lib/libbluetooth/sdp_compat.c
313
req[1].iov_base = &handle;
lib/libbluetooth/sdp_compat.c
341
sdp_unregister_service(void *xss, uint32_t handle)
lib/libbluetooth/sdp_compat.c
347
handle = htobe32(handle);
lib/libbluetooth/sdp_compat.c
348
req[1].iov_base = &handle;
lib/libbluetooth/sdp_record.c
112
if (handle != NULL)
lib/libbluetooth/sdp_record.c
113
*handle = be32dec(ss->ibuf + sizeof(uint16_t));
lib/libbluetooth/sdp_record.c
119
sdp_record_update(struct sdp_session *ss, uint32_t handle,
lib/libbluetooth/sdp_record.c
131
handle = htobe32(handle);
lib/libbluetooth/sdp_record.c
132
req[1].iov_base = &handle;
lib/libbluetooth/sdp_record.c
133
req[1].iov_len = sizeof(handle);
lib/libbluetooth/sdp_record.c
181
sdp_record_remove(struct sdp_session *ss, uint32_t handle)
lib/libbluetooth/sdp_record.c
190
handle = htobe32(handle);
lib/libbluetooth/sdp_record.c
191
req[1].iov_base = &handle;
lib/libbluetooth/sdp_record.c
192
req[1].iov_len = sizeof(handle);
lib/libbluetooth/sdp_record.c
50
uint32_t *handle, const sdp_data_t *rec)
lib/libbluetooth/sdp_service.c
218
uint8_t adata[5], handle[4], max[2];
lib/libbluetooth/sdp_service.c
226
be32enc(handle, id);
lib/libbluetooth/sdp_service.c
227
req[1].iov_base = handle;
lib/libc/citrus/citrus_ctype.c
147
_citrus_module_t handle;
lib/libc/citrus/citrus_ctype.c
158
ret = _citrus_load_module(&handle, encname);
lib/libc/citrus/citrus_ctype.c
164
_citrus_unload_module(handle);
lib/libc/citrus/citrus_ctype.c
168
ret = _initctypemodule(cc, encname, handle, variable, lenvar, szpriv);
lib/libc/citrus/citrus_ctype.c
63
_citrus_module_t handle, void *variable, size_t lenvar,
lib/libc/citrus/citrus_ctype.c
71
cc->cc_module = handle;
lib/libc/citrus/citrus_module.c
282
_citrus_find_getops(_citrus_module_t handle, const char *modname,
lib/libc/citrus/citrus_module.c
288
_DIAGASSERT(handle != NULL);
lib/libc/citrus/citrus_module.c
294
p = dlsym((void *)handle, name);
lib/libc/citrus/citrus_module.c
304
void *handle;
lib/libc/citrus/citrus_module.c
336
handle = dlopen(p, RTLD_LAZY);
lib/libc/citrus/citrus_module.c
337
if (!handle)
lib/libc/citrus/citrus_module.c
340
*rhandle = (_citrus_module_t)handle;
lib/libc/citrus/citrus_module.c
346
_citrus_unload_module(_citrus_module_t handle)
lib/libc/citrus/citrus_module.c
348
if (handle)
lib/libc/citrus/citrus_module.c
349
dlclose((void *)handle);
lib/libc/citrus/citrus_module.c
356
_citrus_find_getops(_citrus_module_t handle, const char *modname,
lib/libc/citrus/citrus_module.c
371
_citrus_unload_module(_citrus_module_t handle)
lib/libc/citrus/citrus_stdenc.c
71
_citrus_module_t handle;
lib/libc/citrus/citrus_stdenc.c
93
ret = _citrus_load_module(&handle, encname);
lib/libc/citrus/citrus_stdenc.c
97
ce->ce_module = handle;
lib/libc/dlfcn/dlfcn_elf.c
112
dlsym(void *handle, const char *name)
lib/libc/dlfcn/dlfcn_elf.c
120
dlvsym(void *handle, const char *name, const char *version)
lib/libc/dlfcn/dlfcn_elf.c
144
dlinfo(void *handle, int req, void *v)
lib/libc/iconv/iconv.c
109
__iconv(iconv_t handle, char **in, size_t *szin, char **out,
lib/libc/iconv/iconv.c
115
if (ISBADF(handle)) {
lib/libc/iconv/iconv.c
121
(struct _citrus_iconv *)(void *)handle,
lib/libc/iconv/iconv.c
62
struct _citrus_iconv *handle;
lib/libc/iconv/iconv.c
64
ret = _citrus_iconv_open(&handle, _PATH_ICONV, in, out);
lib/libc/iconv/iconv.c
70
return ((iconv_t)(void *)handle);
lib/libc/iconv/iconv.c
74
iconv_close(iconv_t handle)
lib/libc/iconv/iconv.c
76
if (ISBADF(handle)) {
lib/libc/iconv/iconv.c
81
_citrus_iconv_close((struct _citrus_iconv *)(void *)handle);
lib/libc/iconv/iconv.c
87
iconv(iconv_t handle, char **in, size_t *szin, char **out, size_t *szout)
lib/libc/iconv/iconv.c
92
if (ISBADF(handle)) {
lib/libc/iconv/iconv.c
98
(struct _citrus_iconv *)(void *)handle,
lib/libc/nameser/ns_parse.c
113
ns_initparse(const u_char *msg, int msglen, ns_msg *handle) {
lib/libc/nameser/ns_parse.c
117
handle->_msg = msg;
lib/libc/nameser/ns_parse.c
118
handle->_eom = eom;
lib/libc/nameser/ns_parse.c
121
NS_GET16(handle->_id, msg);
lib/libc/nameser/ns_parse.c
124
NS_GET16(handle->_flags, msg);
lib/libc/nameser/ns_parse.c
128
NS_GET16(handle->_counts[i], msg);
lib/libc/nameser/ns_parse.c
131
if (handle->_counts[i] == 0)
lib/libc/nameser/ns_parse.c
132
handle->_sections[i] = NULL;
lib/libc/nameser/ns_parse.c
135
handle->_counts[i]);
lib/libc/nameser/ns_parse.c
139
handle->_sections[i] = msg;
lib/libc/nameser/ns_parse.c
144
setsection(handle, ns_s_max);
lib/libc/nameser/ns_parse.c
149
ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
lib/libc/nameser/ns_parse.c
157
if (section != handle->_sect)
lib/libc/nameser/ns_parse.c
158
setsection(handle, section);
lib/libc/nameser/ns_parse.c
162
rrnum = handle->_rrnum;
lib/libc/nameser/ns_parse.c
163
if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
lib/libc/nameser/ns_parse.c
165
if (rrnum < handle->_rrnum)
lib/libc/nameser/ns_parse.c
166
setsection(handle, section);
lib/libc/nameser/ns_parse.c
167
if (rrnum > handle->_rrnum) {
lib/libc/nameser/ns_parse.c
168
b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
lib/libc/nameser/ns_parse.c
169
rrnum - handle->_rrnum);
lib/libc/nameser/ns_parse.c
173
handle->_msg_ptr += b;
lib/libc/nameser/ns_parse.c
174
handle->_rrnum = rrnum;
lib/libc/nameser/ns_parse.c
178
b = dn_expand(handle->_msg, handle->_eom,
lib/libc/nameser/ns_parse.c
179
handle->_msg_ptr, rr->name, NS_MAXDNAME);
lib/libc/nameser/ns_parse.c
182
handle->_msg_ptr += b;
lib/libc/nameser/ns_parse.c
183
if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom)
lib/libc/nameser/ns_parse.c
185
NS_GET16(rr->type, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
186
NS_GET16(rr->rr_class, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
192
if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom)
lib/libc/nameser/ns_parse.c
194
NS_GET32(rr->ttl, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
195
NS_GET16(rr->rdlength, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
196
if (handle->_msg_ptr + rr->rdlength > handle->_eom)
lib/libc/nameser/ns_parse.c
198
rr->rdata = handle->_msg_ptr;
lib/libc/nameser/ns_parse.c
199
handle->_msg_ptr += rr->rdlength;
lib/libc/nameser/ns_parse.c
201
if (++handle->_rrnum > handle->_counts[(int)section])
lib/libc/nameser/ns_parse.c
202
setsection(handle, (ns_sect)((int)section + 1));
lib/libc/nameser/ns_parse.c
212
ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) {
lib/libc/nameser/ns_parse.c
220
if (section != handle->_sect)
lib/libc/nameser/ns_parse.c
221
setsection(handle, section);
lib/libc/nameser/ns_parse.c
225
rrnum = handle->_rrnum;
lib/libc/nameser/ns_parse.c
226
if (rrnum < 0 || rrnum >= handle->_counts[(int)section])
lib/libc/nameser/ns_parse.c
228
if (rrnum < handle->_rrnum)
lib/libc/nameser/ns_parse.c
229
setsection(handle, section);
lib/libc/nameser/ns_parse.c
230
if (rrnum > handle->_rrnum) {
lib/libc/nameser/ns_parse.c
231
b = ns_skiprr(handle->_msg_ptr, handle->_eom, section,
lib/libc/nameser/ns_parse.c
232
rrnum - handle->_rrnum);
lib/libc/nameser/ns_parse.c
236
handle->_msg_ptr += b;
lib/libc/nameser/ns_parse.c
237
handle->_rrnum = rrnum;
lib/libc/nameser/ns_parse.c
241
b = ns_name_unpack2(handle->_msg, handle->_eom, handle->_msg_ptr,
lib/libc/nameser/ns_parse.c
245
handle->_msg_ptr += b;
lib/libc/nameser/ns_parse.c
246
if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom)
lib/libc/nameser/ns_parse.c
248
NS_GET16(rr->type, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
249
NS_GET16(rr->rr_class, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
255
if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom)
lib/libc/nameser/ns_parse.c
257
NS_GET32(rr->ttl, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
258
NS_GET16(rr->rdlength, handle->_msg_ptr);
lib/libc/nameser/ns_parse.c
259
if (handle->_msg_ptr + rr->rdlength > handle->_eom)
lib/libc/nameser/ns_parse.c
261
rr->rdata = handle->_msg_ptr;
lib/libc/nameser/ns_parse.c
262
handle->_msg_ptr += rr->rdlength;
lib/libc/nameser/ns_parse.c
264
if (++handle->_rrnum > handle->_counts[(int)section])
lib/libc/nameser/ns_parse.c
265
setsection(handle, (ns_sect)((int)section + 1));
lib/libc/nameser/ns_parse.c
83
int ns_msg_getflag(ns_msg handle, int flag) {
lib/libc/nameser/ns_parse.c
84
return((u_int32_t)((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift);
lib/libc/nameser/ns_print.c
90
ns_sprintrr(const ns_msg *handle, const ns_rr *rr,
lib/libc/nameser/ns_print.c
96
n = ns_sprintrrf(ns_msg_base(*handle), ns_msg_size(*handle),
lib/libc/net/nsdispatch.c
278
if (mod->handle == NULL)
lib/libc/net/nsdispatch.c
283
if (mod->handle != _nsbuiltin)
lib/libc/net/nsdispatch.c
284
(void) dlclose(mod->handle);
lib/libc/net/nsdispatch.c
311
mod.handle = _nsbuiltin;
lib/libc/net/nsdispatch.c
319
mod.handle = dlopen(buf, RTLD_LOCAL | RTLD_LAZY);
lib/libc/net/nsdispatch.c
320
if (mod.handle == NULL) {
lib/libc/net/nsdispatch.c
330
reg_fn = (nss_module_register_fn) dlsym(mod.handle,
lib/libc/net/nsdispatch.c
333
(void) dlclose(mod.handle);
lib/libc/net/nsdispatch.c
334
mod.handle = NULL;
lib/libc/net/nsdispatch.c
339
mod.handle = NULL;
lib/libc/net/nsdispatch.c
345
if (mod.handle != _nsbuiltin)
lib/libc/net/nsdispatch.c
346
(void) dlclose(mod.handle);
lib/libc/net/nsdispatch.c
348
mod.handle = NULL;
lib/libc/net/nsdispatch.c
573
if (mod != NULL && mod->handle != NULL) {
lib/libc/resolv/res_debug.c
158
ns_msg *handle, ns_sect section,
lib/libc/resolv/res_debug.c
180
opcode = (ns_opcode) ns_msg_getflag(*handle, ns_f_opcode);
lib/libc/resolv/res_debug.c
183
if (ns_parserr(handle, section, rrnum, &rr)) {
lib/libc/resolv/res_debug.c
255
n = ns_sprintrr(handle, &rr, NULL, NULL,
lib/libc/resolv/res_debug.c
290
ns_msg handle;
lib/libc/resolv/res_debug.c
294
if (ns_initparse(msg, len, &handle) < 0) {
lib/libc/resolv/res_debug.c
298
opcode = ns_msg_getflag(handle, ns_f_opcode);
lib/libc/resolv/res_debug.c
299
rcode = ns_msg_getflag(handle, ns_f_rcode);
lib/libc/resolv/res_debug.c
300
id = ns_msg_id(handle);
lib/libc/resolv/res_debug.c
301
qdcount = ns_msg_count(handle, ns_s_qd);
lib/libc/resolv/res_debug.c
302
ancount = ns_msg_count(handle, ns_s_an);
lib/libc/resolv/res_debug.c
303
nscount = ns_msg_count(handle, ns_s_ns);
lib/libc/resolv/res_debug.c
304
arcount = ns_msg_count(handle, ns_s_ar);
lib/libc/resolv/res_debug.c
317
if (ns_msg_getflag(handle, ns_f_qr))
lib/libc/resolv/res_debug.c
319
if (ns_msg_getflag(handle, ns_f_aa))
lib/libc/resolv/res_debug.c
321
if (ns_msg_getflag(handle, ns_f_tc))
lib/libc/resolv/res_debug.c
323
if (ns_msg_getflag(handle, ns_f_rd))
lib/libc/resolv/res_debug.c
325
if (ns_msg_getflag(handle, ns_f_ra))
lib/libc/resolv/res_debug.c
327
if (ns_msg_getflag(handle, ns_f_z))
lib/libc/resolv/res_debug.c
329
if (ns_msg_getflag(handle, ns_f_ad))
lib/libc/resolv/res_debug.c
331
if (ns_msg_getflag(handle, ns_f_cd))
lib/libc/resolv/res_debug.c
351
do_section(statp, &handle, ns_s_qd, RES_PRF_QUES, file);
lib/libc/resolv/res_debug.c
352
do_section(statp, &handle, ns_s_an, RES_PRF_ANS, file);
lib/libc/resolv/res_debug.c
353
do_section(statp, &handle, ns_s_ns, RES_PRF_AUTH, file);
lib/libc/resolv/res_debug.c
354
do_section(statp, &handle, ns_s_ar, RES_PRF_ADD, file);
lib/libc/rpc/clnt_bcast.c
273
void *handle;
lib/libc/rpc/clnt_bcast.c
321
if ((handle = __rpc_setconf(nettype)) == NULL) {
lib/libc/rpc/clnt_bcast.c
325
while ((nconf = __rpc_getconf(handle)) != NULL) {
lib/libc/rpc/clnt_bcast.c
665
(void) __rpc_endconf(handle);
lib/libc/rpc/clnt_generic.c
160
void *handle;
lib/libc/rpc/clnt_generic.c
167
if ((handle = __rpc_setconf(nettype)) == NULL) {
lib/libc/rpc/clnt_generic.c
173
if ((nconf = __rpc_getconf(handle)) == NULL) {
lib/libc/rpc/clnt_generic.c
214
__rpc_endconf(handle);
lib/libc/rpc/rpc_generic.c
340
struct handle *handle;
lib/libc/rpc/rpc_generic.c
344
handle = malloc(sizeof(*handle));
lib/libc/rpc/rpc_generic.c
345
if (handle == NULL) {
lib/libc/rpc/rpc_generic.c
348
switch (handle->nettype = getnettype(nettype)) {
lib/libc/rpc/rpc_generic.c
352
if (!(handle->nhandle = setnetpath())) {
lib/libc/rpc/rpc_generic.c
353
free(handle);
lib/libc/rpc/rpc_generic.c
356
handle->nflag = TRUE;
lib/libc/rpc/rpc_generic.c
363
if (!(handle->nhandle = setnetconfig())) {
lib/libc/rpc/rpc_generic.c
365
free(handle);
lib/libc/rpc/rpc_generic.c
368
handle->nflag = FALSE;
lib/libc/rpc/rpc_generic.c
371
free(handle);
lib/libc/rpc/rpc_generic.c
375
return (handle);
lib/libc/rpc/rpc_generic.c
385
struct handle *handle;
lib/libc/rpc/rpc_generic.c
388
handle = (struct handle *)vhandle;
lib/libc/rpc/rpc_generic.c
389
if (handle == NULL) {
lib/libc/rpc/rpc_generic.c
393
if (handle->nflag)
lib/libc/rpc/rpc_generic.c
394
nconf = getnetpath(handle->nhandle);
lib/libc/rpc/rpc_generic.c
396
nconf = getnetconfig(handle->nhandle);
lib/libc/rpc/rpc_generic.c
403
switch (handle->nettype) {
lib/libc/rpc/rpc_generic.c
461
struct handle *handle;
lib/libc/rpc/rpc_generic.c
463
handle = (struct handle *) vhandle;
lib/libc/rpc/rpc_generic.c
464
if (handle == NULL) {
lib/libc/rpc/rpc_generic.c
467
if (handle->nflag) {
lib/libc/rpc/rpc_generic.c
468
endnetpath(handle->nhandle);
lib/libc/rpc/rpc_generic.c
470
endnetconfig(handle->nhandle);
lib/libc/rpc/rpc_generic.c
472
free(handle);
lib/libc/rpc/rpc_generic.c
78
struct handle {
lib/libc/rpc/rpcb_clnt.c
1144
void *handle;
lib/libc/rpc/rpcb_clnt.c
1155
if ((handle = __rpc_setconf("netpath")) == NULL) {
lib/libc/rpc/rpcb_clnt.c
1161
if ((nconf = __rpc_getconf(handle)) == NULL) {
lib/libc/rpc/rpcb_clnt.c
1170
__rpc_endconf(handle);
lib/libc/rpc/rpcb_clnt.c
804
void *handle;
lib/libc/rpc/rpcb_clnt.c
811
if ((handle = __rpc_setconf("datagram_v")) != NULL)
lib/libc/rpc/rpcb_clnt.c
813
if ((handle = __rpc_setconf("circuit_v")) != NULL)
lib/libc/rpc/rpcb_clnt.c
816
while ((nconf_clts = __rpc_getconf(handle))
lib/libc/rpc/rpcb_clnt.c
826
__rpc_endconf(handle);
lib/libc/rpc/svc_generic.c
103
void *handle;
lib/libc/rpc/svc_generic.c
107
if ((handle = __rpc_setconf(nettype)) == NULL) {
lib/libc/rpc/svc_generic.c
111
while ((nconf = __rpc_getconf(handle)) != NULL) {
lib/libc/rpc/svc_generic.c
146
__rpc_endconf(handle);
lib/libc/rpc/svc_simple.c
116
void *handle;
lib/libc/rpc/svc_simple.c
126
if ((handle = __rpc_setconf(nettype)) == NULL) {
lib/libc/rpc/svc_simple.c
132
while ((nconf = __rpc_getconf(handle)) != NULL) {
lib/libc/rpc/svc_simple.c
235
__rpc_endconf(handle);
lib/libossaudio/oss4_mixer.c
161
strlcpy(tmpai->handle, tmpai->devnode,
lib/libossaudio/oss4_mixer.c
162
sizeof(tmpai->handle));
lib/libossaudio/oss4_mixer.c
243
strlcpy(mi->handle, devname, sizeof(mi->handle));
lib/libossaudio/soundcard.h
470
char handle[32];
lib/libossaudio/soundcard.h
585
oss_handle_t handle;
lib/librefuse/refuse/fs.c
796
fuse_dirfil_v11_to_fill_dir_v23(fuse_dirh_t handle, const char* name, int type) {
lib/librefuse/refuse/fs.c
797
struct fuse_fill_dir_v23_shim* shim = handle;
lib/librefuse/refuse/fs.c
811
fuse_dirfil_v22_to_fill_dir_v23(fuse_dirh_t handle, const char* name, int type, ino_t ino) {
lib/librefuse/refuse/fs.c
812
struct fuse_fill_dir_v23_shim* shim = handle;
lib/librefuse/refuse/v11.h
47
typedef int (*fuse_dirfil_t_v11)(fuse_dirh_t handle, const char *name, int type);
lib/librefuse/refuse/v22.h
47
typedef int (*fuse_dirfil_t_v22)(fuse_dirh_t handle, const char *name, int type, ino_t ino);
lib/librumpclient/rumpclient.c
849
rumpclient__dlsym(void *handle, const char *symbol)
lib/librumpclient/rumpclient.c
852
return dlsym(handle, symbol);
lib/librumphijack/hijackdlsym.c
49
bouncer(void *handle, const char *symbol)
lib/librumphijack/hijackdlsym.c
52
return dlsym(handle, symbol);
lib/librumphijack/hijackdlsym.c
56
rumphijack_dlsym(void *handle, const char *symbol)
lib/librumphijack/hijackdlsym.c
59
return bouncer(handle, symbol);
lib/librumpuser/rumpuser_dl.c
352
process_object(void *handle,
lib/librumpuser/rumpuser_dl.c
365
mi_start = dlsym(handle, "__start_link_set_modules");
lib/librumpuser/rumpuser_dl.c
366
mi_end = dlsym(handle, "__stop_link_set_modules");
lib/librumpuser/rumpuser_dl.c
370
rc = dlsym(handle, "__start_link_set_rump_components");
lib/librumpuser/rumpuser_dl.c
371
rc_end = dlsym(handle, "__stop_link_set_rump_components");
lib/librumpuser/rumpuser_dl.c
379
sfp = dlsym(handle, "__start_link_set_sysctl_funcs");
lib/librumpuser/rumpuser_dl.c
380
sfp_end = dlsym(handle, "__stop_link_set_sysctl_funcs");
lib/librumpuser/rumpuser_dl.c
388
evp = dlsym(handle, "__start_link_set_evcnts");
lib/librumpuser/rumpuser_dl.c
389
evp_end = dlsym(handle, "__stop_link_set_evcnts");
lib/librumpuser/rumpuser_dl.c
490
void *handle;
lib/librumpuser/rumpuser_dl.c
493
handle = mainhandle;
lib/librumpuser/rumpuser_dl.c
495
handle = dlopen(map->l_name, RTLD_LAZY);
lib/librumpuser/rumpuser_dl.c
496
if (handle == NULL)
lib/librumpuser/rumpuser_dl.c
499
process_object(handle, domodinit, compload, doevcntattach);
lib/librumpuser/rumpuser_dl.c
501
dlclose(handle);
lib/libukfs/ukfs.c
1148
void *handle;
lib/libukfs/ukfs.c
1152
handle = dlopen(fname, RTLD_LAZY|RTLD_GLOBAL);
lib/libukfs/ukfs.c
1153
if (handle == NULL) {
lib/libukfs/ukfs.c
1162
mi_start = dlsym(handle, "__start_link_set_modules");
lib/libukfs/ukfs.c
1163
mi_end = dlsym(handle, "__stop_link_set_modules");
lib/libukfs/ukfs.c
1174
dlclose(handle);
libexec/ld.elf_so/rtld.c
1230
_rtld_dlcheck(void *handle)
libexec/ld.elf_so/rtld.c
1235
if (obj == (Obj_Entry *) handle)
libexec/ld.elf_so/rtld.c
1239
_rtld_error("Invalid shared object handle %p", handle);
libexec/ld.elf_so/rtld.c
1471
dlclose(void *handle)
libexec/ld.elf_so/rtld.c
1476
dbg(("dlclose of %p", handle));
libexec/ld.elf_so/rtld.c
1480
root = _rtld_dlcheck(handle);
libexec/ld.elf_so/rtld.c
1640
do_dlsym(void *handle, const char *name, const Ver_Entry *ventry, void *retaddr)
libexec/ld.elf_so/rtld.c
1659
switch ((intptr_t)handle) {
libexec/ld.elf_so/rtld.c
1670
switch ((intptr_t)handle) {
libexec/ld.elf_so/rtld.c
1715
if ((obj = _rtld_dlcheck(handle)) == NULL) {
libexec/ld.elf_so/rtld.c
1777
dlsym(void *handle, const char *name)
libexec/ld.elf_so/rtld.c
1781
dbg(("dlsym of %s in %p", name, handle));
libexec/ld.elf_so/rtld.c
1788
return do_dlsym(handle, name, NULL, retaddr);
libexec/ld.elf_so/rtld.c
1793
dlvsym(void *handle, const char *name, const char *version)
libexec/ld.elf_so/rtld.c
1799
dbg(("dlvsym of %s@%s in %p", name, version ? version : NULL, handle));
libexec/ld.elf_so/rtld.c
1813
return do_dlsym(handle, name, ventry, retaddr);
libexec/ld.elf_so/rtld.c
1896
dlinfo(void *handle, int req, void *v)
libexec/ld.elf_so/rtld.c
1901
dbg(("dlinfo for %p %d", handle, req));
libexec/ld.elf_so/rtld.c
1905
if (handle == RTLD_SELF) {
libexec/ld.elf_so/rtld.c
1917
if ((obj = _rtld_dlcheck(handle)) == NULL) {
sbin/init/init.c
111
static void handle(sig_t, ...);
sbin/init/init.c
304
handle(badsys, SIGSYS, 0);
sbin/init/init.c
305
handle(disaster, SIGABRT, SIGFPE, SIGILL, SIGSEGV,
sbin/init/init.c
307
handle(transition_handler, SIGHUP, SIGTERM, SIGTSTP, 0);
sbin/init/init.c
308
handle(alrm_handler, SIGALRM, 0);
sys/altq/altq_cbq.c
1108
s->handle, s->depth,
sys/altq/altq_cbq.c
153
cl->stats_.handle == chandle)
sys/altq/altq_cbq.c
157
cl->stats_.handle == chandle)
sys/altq/altq_cbq.c
407
cl->stats_.handle = a->qid;
sys/altq/altq_cbq.c
749
cl->stats_.handle = chandle;
sys/altq/altq_cbq.c
881
stats.handle = cl->stats_.handle;
sys/altq/altq_cbq.h
72
u_int32_t handle;
sys/altq/altq_cdnr.c
221
cdnr_handle2cb(u_long handle)
sys/altq/altq_cdnr.c
225
cb = (struct cdnr_block *)handle;
sys/altq/altq_cdnr.c
226
if (handle != ALIGN(cb))
sys/altq/altq_cdnr.c
229
if (cb == NULL || cb->cb_handle != handle)
sys/altq/altq_rmclass.c
1350
CBQTRACE(rmc_update_class_util, 'milo', cl->stats_.handle);
sys/altq/altq_rmclass.c
1505
CBQTRACE(rmc_delay_action, 'yled', cl->stats_.handle);
sys/altq/altq_rmclass.c
1583
CBQTRACE(rmc_restart, 'trts', cl->stats_.handle);
sys/altq/altq_rmclass.c
799
CBQTRACE(rmc_queue_packet, 'ytpe', cl->stats_.handle);
sys/altq/altq_rmclass.h
110
u_int handle;
sys/altq/altq_subr.c
1201
acc_delete_filter(struct acc_classifier *classifier, u_long handle)
sys/altq/altq_subr.c
1206
if ((afp = filth_to_filtp(classifier, handle)) == NULL)
sys/altq/altq_subr.c
1468
u_long handle;
sys/altq/altq_subr.c
1472
handle = handle_number++ & 0x000fffff;
sys/altq/altq_subr.c
1478
if ((afp->f_handle & 0x000fffff) == handle)
sys/altq/altq_subr.c
1485
return ((i << 20) | handle);
sys/altq/altq_subr.c
1490
filth_to_filtp(struct acc_classifier *classifier, u_long handle)
sys/altq/altq_subr.c
1495
i = ACC_GET_HINDEX(handle);
sys/altq/altq_subr.c
1498
if (afp->f_handle == handle)
sys/altq/altq_var.h
65
#define ACC_GET_HINDEX(handle) ((handle) >> 20)
sys/arch/alpha/alpha/mcclock.c
105
todr_chip_handle_t handle; /* IN */
sys/arch/alpha/alpha/mcclock.c
116
arg->rv = (*func)(arg->handle, arg->dt);
sys/arch/alpha/alpha/mcclock.c
144
mcclock_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/arch/alpha/alpha/mcclock.c
147
.handle = handle,
sys/arch/alpha/alpha/mcclock.c
155
mcclock_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/arch/alpha/alpha/mcclock.c
158
.handle = handle,
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
107
oabs(bsw4_swap_)(bus_space_handle_t handle, bus_size_t offset, unsigned value)
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
111
p = (volatile u_int32_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
118
oabs(bsrm2_swap_)(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
123
p = (volatile u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
134
oabs(bswm2_swap_)(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
139
p = (volatile u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
70
oabs(bsr2_swap_)(bus_space_handle_t handle, bus_size_t offset)
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
75
p = (volatile u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
83
oabs(bsw2_swap_)(bus_space_handle_t handle, bus_size_t offset, unsigned value)
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
87
p = (volatile u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
94
oabs(bsr4_swap_)(bus_space_handle_t handle, bus_size_t offset)
sys/arch/amiga/amiga/amiga_bus_simple_1word.c
99
p = (volatile u_int32_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/amiga_bus_simple_4.c
100
oabs(bswm4_swap_)(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/amiga/amiga_bus_simple_4.c
105
p = (volatile u_int32_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/amiga_bus_simple_4.c
54
oabs(bsrm2_swap_)(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/amiga/amiga_bus_simple_4.c
59
p = (volatile u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/amiga_bus_simple_4.c
69
oabs(bswm2_swap_)(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/amiga/amiga_bus_simple_4.c
74
p = (volatile u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/amiga_bus_simple_4.c
85
oabs(bsrm4_swap_)(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/amiga/amiga_bus_simple_4.c
90
p = (volatile u_int32_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/bus.c
38
bus_space_barrier(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/amiga/amiga/bus.c
55
bus_space_vaddr(bus_space_tag_t space, bus_space_handle_t handle)
sys/arch/amiga/amiga/bus.c
58
va = (void*) handle;
sys/arch/amiga/amiga/simple_busfuncs.c
102
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
110
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
116
p = (u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
124
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
130
p = (u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
137
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
144
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
155
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
162
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
173
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
180
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
192
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
199
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
211
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
218
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
266
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
272
p = (u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
280
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
286
p = (u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
293
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
300
p = (volatile u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
311
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
318
p = (volatile u_int16_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
329
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
336
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
348
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
355
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
367
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
374
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
422
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
428
p = (u_int32_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
436
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
442
p = (u_int32_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
450
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
457
p = (volatile u_int32_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
468
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
475
p = (volatile u_int32_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
486
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
493
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
505
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
512
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
524
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
531
p = (volatile u_int8_t *)(handle + offset * AMIGA_SIMPLE_BUS_STRIDE);
sys/arch/amiga/amiga/simple_busfuncs.c
90
bus_space_handle_t handle,
sys/arch/amiga/amiga/simple_busfuncs.c
95
*nhandlep = handle + offset * AMIGA_SIMPLE_BUS_STRIDE;
sys/arch/amiga/include/bus.h
259
void bus_space_barrier(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/amiga/include/bus.h
279
void * bus_space_vaddr(bus_space_tag_t space, bus_space_handle_t handle);
sys/arch/amiga/pci/empb_bsm.c
158
empb_bsms(bus_space_handle_t handle,
sys/arch/amiga/pci/empb_bsm.c
161
*nhandlep = handle + offset;
sys/arch/amiga/pci/empb_bsm.c
166
empb_bsu(bus_space_handle_t handle, bus_size_t size)
sys/arch/amiga/pci/empb_bsm.c
174
empb_bsr1(bus_space_handle_t handle, bus_size_t offset)
sys/arch/amiga/pci/empb_bsm.c
180
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
183
p = (uint8_t*)((empb_sc->pci_mem_win_t->base) + (handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
190
empb_bsw1(bus_space_handle_t handle, bus_size_t offset, unsigned value)
sys/arch/amiga/pci/empb_bsm.c
195
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
196
p = (uint8_t*)((empb_sc->pci_mem_win_t->base) + (handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
201
empb_bsrm1(bus_space_handle_t handle, bus_size_t offset, u_int8_t *pointer,
sys/arch/amiga/pci/empb_bsm.c
207
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
209
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
219
empb_bswm1(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
225
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
227
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
237
empb_bsrr1(bus_space_handle_t handle, bus_size_t offset, u_int8_t *pointer,
sys/arch/amiga/pci/empb_bsm.c
243
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
245
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
256
empb_bswr1(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
262
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
264
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
275
empb_bssr1(bus_space_handle_t handle, bus_size_t offset, unsigned value,
sys/arch/amiga/pci/empb_bsm.c
281
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
283
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
319
empb_bsr2(bus_space_handle_t handle, bus_size_t offset)
sys/arch/amiga/pci/empb_bsm.c
325
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
327
p = (uint16_t*) ((empb_sc->pci_mem_win_t->base) + (handle - wp)
sys/arch/amiga/pci/empb_bsm.c
335
empb_bsr2_swap(bus_space_handle_t handle, bus_size_t offset)
sys/arch/amiga/pci/empb_bsm.c
341
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
343
p = (uint16_t*) ((empb_sc->pci_mem_win_t->base) + (handle - wp)
sys/arch/amiga/pci/empb_bsm.c
352
empb_bsw2(bus_space_handle_t handle, bus_size_t offset, unsigned value)
sys/arch/amiga/pci/empb_bsm.c
357
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
358
p = (uint16_t*)((empb_sc->pci_mem_win_t->base) + (handle - wp)
sys/arch/amiga/pci/empb_bsm.c
364
empb_bsw2_swap(bus_space_handle_t handle, bus_size_t offset, unsigned value)
sys/arch/amiga/pci/empb_bsm.c
369
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
370
p = (uint16_t*)((empb_sc->pci_mem_win_t->base) + (handle - wp)
sys/arch/amiga/pci/empb_bsm.c
376
empb_bsrm2(bus_space_handle_t handle, bus_size_t offset, u_int16_t *pointer,
sys/arch/amiga/pci/empb_bsm.c
382
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
384
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
394
empb_bsrm2_swap(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
400
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
402
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
412
empb_bswm2(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
418
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
420
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
430
empb_bswm2_swap(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
436
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
438
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
448
empb_bsrr2(bus_space_handle_t handle, bus_size_t offset, u_int16_t *pointer,
sys/arch/amiga/pci/empb_bsm.c
454
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
456
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
467
empb_bsrr2_swap(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
473
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
475
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
486
empb_bssr2_swap(bus_space_handle_t handle, bus_size_t offset, unsigned value,
sys/arch/amiga/pci/empb_bsm.c
492
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
494
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
505
empb_bswr2(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
511
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
513
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
524
empb_bswr2_swap(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
530
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
532
+ (handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
568
empb_bsr4(bus_space_handle_t handle, bus_size_t offset)
sys/arch/amiga/pci/empb_bsm.c
574
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
577
+ (handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
584
empb_bsr4_swap(bus_space_handle_t handle, bus_size_t offset)
sys/arch/amiga/pci/empb_bsm.c
59
static int empb_bsms(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
590
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
592
p = (uint32_t*) ((empb_sc->pci_mem_win_t->base) + (handle - wp)
sys/arch/amiga/pci/empb_bsm.c
601
empb_bsw4(bus_space_handle_t handle, bus_size_t offset, unsigned value)
sys/arch/amiga/pci/empb_bsm.c
606
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
607
p = (uint32_t*)((empb_sc->pci_mem_win_t->base) + (handle - wp)
sys/arch/amiga/pci/empb_bsm.c
61
static void empb_bsu(bus_space_handle_t handle,
sys/arch/amiga/pci/empb_bsm.c
613
empb_bsw4_swap(bus_space_handle_t handle, bus_size_t offset, unsigned value)
sys/arch/amiga/pci/empb_bsm.c
618
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
619
p = (uint32_t*)((empb_sc->pci_mem_win_t->base) + (handle - wp)
sys/arch/amiga/pci/empb_bsm.c
625
empb_bsrm4(bus_space_handle_t handle, bus_size_t offset, u_int32_t *pointer,
sys/arch/amiga/pci/empb_bsm.c
631
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
633
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
643
empb_bsrm4_swap(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
649
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
651
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
661
empb_bswm4(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
667
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
669
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
679
empb_bswm4_swap(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
685
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
687
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
697
empb_bsrr4(bus_space_handle_t handle, bus_size_t offset, u_int32_t *pointer,
sys/arch/amiga/pci/empb_bsm.c
703
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
705
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
716
empb_bsrr4_swap(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
722
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
724
+ (handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
735
empb_bssr4_swap(bus_space_handle_t handle, bus_size_t offset, unsigned value,
sys/arch/amiga/pci/empb_bsm.c
741
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
743
(handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
754
empb_bswr4(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
760
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
762
+ (handle - wp) + offset);
sys/arch/amiga/pci/empb_bsm.c
773
empb_bswr4_swap(bus_space_handle_t handle, bus_size_t offset,
sys/arch/amiga/pci/empb_bsm.c
779
wp = empb_switch_window(empb_sc, handle);
sys/arch/amiga/pci/empb_bsm.c
781
+ (handle - wp) + offset);
sys/arch/arc/arc/c_nec_eisa.c
221
struct vga_handle handle;
sys/arch/arc/arc/c_nec_eisa.c
223
handle.vh_memt = &arc_bus_mem;
sys/arch/arc/arc/c_nec_eisa.c
224
handle.vh_iot = &arc_bus_io;
sys/arch/arc/arc/c_nec_eisa.c
225
vga_reset(&handle, gd54xx_initregs);
sys/arch/arm/acpi/acpi_iort.c
154
acpi_iort_named_component(ACPI_HANDLE handle,
sys/arch/arm/acpi/acpi_iort.c
175
if (rv == AE_OK && nch == handle) {
sys/arch/arm/acpi/acpi_pci_graviton.c
104
rv = AcpiGetParent(handle, &parent);
sys/arch/arm/acpi/acpi_pci_graviton.c
113
rv = acpi_resource_parse(ap->ap_dev, handle, "_CRS", &res, &acpi_resource_parse_ops_quiet);
sys/arch/arm/acpi/acpi_pci_graviton.c
94
acpi_pci_graviton_map(ACPI_HANDLE handle, UINT32 level, void *ctx, void **retval)
sys/arch/arm/acpi/acpi_pci_layerscape_gen4.c
236
acpi_pci_layerscape_gen4_map(ACPI_HANDLE handle, UINT32 level, void *ctx, void **retval)
sys/arch/arm/acpi/acpi_pci_layerscape_gen4.c
249
rv = AcpiGetParent(handle, &parent);
sys/arch/arm/acpi/acpi_pci_layerscape_gen4.c
258
rv = acpi_resource_parse(ap->ap_dev, handle, "_CRS", &res, &acpi_resource_parse_ops_quiet);
sys/arch/arm/acpi/acpi_pci_machdep.c
167
acpi_pci_md_pci_link(ACPI_HANDLE handle, pci_chipset_tag_t pc, int bus)
sys/arch/arm/acpi/acpi_pci_machdep.c
175
rv = acpi_get(handle, &buf, AcpiGetIrqRoutingTable);
sys/arch/arm/acpi/acpi_pci_machdep.c
187
acpi_name(handle), dev, 'A' + (prt->Pin & 3), prt->Source);
sys/arch/arm/acpi/acpi_pci_machdep.c
199
acpi_name(handle), dev, 'A' + (prt->Pin & 3), prt->SourceIndex);
sys/arch/arm/acpi/acpi_pci_machdep.c
213
ACPI_HANDLE handle;
sys/arch/arm/acpi/acpi_pci_machdep.c
219
handle = NULL;
sys/arch/arm/acpi/acpi_pci_machdep.c
230
handle = ad->ad_handle;
sys/arch/arm/acpi/acpi_pci_machdep.c
236
handle = prtp->prt_handle;
sys/arch/arm/acpi/acpi_pci_machdep.c
248
handle = ad->ad_handle;
sys/arch/arm/acpi/acpi_pci_machdep.c
251
if (handle != NULL) {
sys/arch/arm/acpi/acpi_pci_machdep.c
255
prt->prt_handle = handle;
sys/arch/arm/altera/cycv_clkmgr.c
225
cycv_clkmgr_clock_parse(struct cycv_clkmgr_softc *sc, int handle, u_int clkno)
sys/arch/arm/altera/cycv_clkmgr.c
233
clk->base.name = fdtbus_get_string(handle, "name");
sys/arch/arm/altera/cycv_clkmgr.c
236
clk->id = handle;
sys/arch/arm/altera/cycv_clkmgr.c
242
of_compatible_lookup(handle, clock_types);
sys/arch/arm/altera/cycv_clkmgr.c
248
if (of_getprop_uint32(handle, "clock-frequency",
sys/arch/arm/altera/cycv_clkmgr.c
253
if (fdtbus_get_reg(handle, 0, &clk->u.pll_addr, NULL) != 0)
sys/arch/arm/altera/cycv_clkmgr.c
257
if (of_getprop_uint32(handle, "fixed-divider",
sys/arch/arm/altera/cycv_clkmgr.c
260
} else if (fdtbus_get_reg(handle, 0, &clk->u.div.addr, NULL) ==
sys/arch/arm/altera/cycv_clkmgr.c
265
} else if ((buf = fdtbus_get_prop(handle, "div-reg", &len)) !=
sys/arch/arm/altera/cycv_clkmgr.c
284
if ((buf = fdtbus_get_prop(handle, "clk-gate", &len)) != NULL) {
sys/arch/arm/altera/cycv_clkmgr.c
290
buf = fdtbus_get_prop(handle, "clocks", &len);
sys/arch/arm/altera/cycv_clkmgr.c
298
fdtbus_register_clock_controller(sc->sc_dev, handle,
sys/arch/arm/altera/cycv_clkmgr.c
304
clk->base.name, handle);
sys/arch/arm/imx/imx23_space.c
156
imx23_bs_unmap(void *space, bus_space_handle_t handle, bus_size_t size)
sys/arch/arm/imx/imx23_space.c
158
if (pmap_devmap_find_va(handle, size) != NULL) {
sys/arch/arm/imx/imx23_space.c
165
imx23_bs_subregion(void *space, bus_space_handle_t handle,
sys/arch/arm/imx/imx23_space.c
168
*nhandlep = handle + offset;
sys/arch/arm/imx/imx23_space.c
182
imx23_bs_free(void *space, bus_space_handle_t handle, bus_size_t size)
sys/arch/arm/imx/imx23_space.c
188
imx23_bs_vaddr(void *space, bus_space_handle_t handle)
sys/arch/arm/imx/imx23_space.c
201
imx23_bs_barrier(void *space, bus_space_handle_t handle,
sys/arch/arm/marvell/mvsoc_space.c
479
mvsoc_bs_unmap(void *space, bus_space_handle_t handle, bus_size_t size)
sys/arch/arm/marvell/mvsoc_space.c
483
if (pmap_devmap_find_va(handle, size) != NULL)
sys/arch/arm/marvell/mvsoc_space.c
487
va = trunc_page(handle);
sys/arch/arm/marvell/mvsoc_space.c
488
sz = round_page(handle + size) - va;
sys/arch/arm/marvell/mvsoc_space.c
497
mvsoc_bs_subregion(void *space, bus_space_handle_t handle,
sys/arch/arm/marvell/mvsoc_space.c
502
*nhandlep = handle + offset;
sys/arch/arm/marvell/mvsoc_space.c
518
mvsoc_bs_free(void *space, bus_space_handle_t handle, bus_size_t size)
sys/arch/arm/marvell/mvsoc_space.c
526
mvsoc_bs_barrier(void *space, bus_space_handle_t handle, bus_size_t offset,
sys/arch/arm/marvell/mvsoc_space.c
535
mvsoc_bs_vaddr(void *space, bus_space_handle_t handle)
sys/arch/arm/marvell/mvsoc_space.c
538
return (void *)handle;
sys/arch/arm/nvidia/tegra_drm_mode.c
258
struct drm_file *file, unsigned int *handle)
sys/arch/arm/nvidia/tegra_drm_mode.c
262
return drm_gem_handle_create(file, &tegra_fb->obj->base, handle);
sys/arch/arm/nvidia/tegra_drm_mode.c
368
uint32_t handle, uint32_t width, uint32_t height)
sys/arch/arm/nvidia/tegra_drm_mode.c
379
if (handle == 0) {
sys/arch/arm/nvidia/tegra_drm_mode.c
403
gem_obj = drm_gem_object_lookup(file_priv, handle);
sys/arch/arm/nvidia/tegra_drm_mode.c
406
handle, tegra_crtc->index);
sys/arch/arm/ofw/openfirm.c
173
OF_nextprop(int handle, const char *prop, void *nextprop)
sys/arch/arm/ofw/openfirm.c
189
args.phandle = handle;
sys/arch/arm/ofw/openfirm.c
199
OF_getprop(int handle, const char *prop, void *buf, int buflen)
sys/arch/arm/ofw/openfirm.c
216
args.phandle = handle;
sys/arch/arm/ofw/openfirm.c
228
OF_setprop(int handle, const char *prop, const void *buf, int buflen)
sys/arch/arm/ofw/openfirm.c
245
args.phandle = handle;
sys/arch/arm/ofw/openfirm.c
257
OF_getproplen(int handle, const char *prop)
sys/arch/arm/ofw/openfirm.c
272
args.phandle = handle;
sys/arch/arm/ofw/openfirm.c
480
int handle;
sys/arch/arm/ofw/openfirm.c
490
return args.handle;
sys/arch/arm/ofw/openfirm.c
494
OF_close(int handle)
sys/arch/arm/ofw/openfirm.c
500
int handle;
sys/arch/arm/ofw/openfirm.c
507
args.handle = handle;
sys/arch/arm/ofw/openfirm.c
512
OF_read(int handle, void *addr, int len)
sys/arch/arm/ofw/openfirm.c
528
args.ihandle = handle;
sys/arch/arm/ofw/openfirm.c
537
OF_write(int handle, const void *addr, int len)
sys/arch/arm/ofw/openfirm.c
553
args.ihandle = handle;
sys/arch/arm/ofw/openfirm.c
562
OF_seek(int handle, u_quad_t pos)
sys/arch/arm/ofw/openfirm.c
568
int handle;
sys/arch/arm/ofw/openfirm.c
578
args.handle = handle;
sys/arch/arm/rockchip/rk_drm.c
234
struct drm_file *file, unsigned int *handle)
sys/arch/arm/rockchip/rk_drm.c
238
return drm_gem_handle_create(file, &sfb->obj->base, handle);
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
120
s3c2440_i2s_set_intr_lock(void *handle, kmutex_t *sc_intr_lock)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
122
struct s3c2440_i2s_softc *sc = handle;
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
177
s3c2440_i2s_set_direction(void *handle, int direction)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
179
struct s3c2440_i2s_softc *sc = handle;
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
184
s3c2440_i2s_set_sample_rate(void *handle, int sample_rate)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
186
struct s3c2440_i2s_softc *sc = handle;
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
211
s3c2440_i2s_set_sample_width(void *handle, int width)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
213
struct s3c2440_i2s_softc *sc = handle;
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
218
s3c2440_i2s_set_bus_format(void *handle, int format)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
220
struct s3c2440_i2s_softc *sc = handle;
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
226
s3c2440_i2s_commit(void *handle)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
229
struct s3c2440_i2s_softc *sc = handle;
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
294
s3c2440_i2s_disable(void *handle)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
300
s3c2440_i2s_get_master_clock(void *handle)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
302
struct s3c2440_i2s_softc *sc = handle;
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
307
s3c2440_i2s_get_serial_clock(void *handle)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
309
struct s3c2440_i2s_softc *sc = handle;
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
315
s3c2440_i2s_alloc(void *handle,
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
327
buf->i2b_parent = handle;
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
73
void s3c2440_i2s_set_intr_lock(void *handle, kmutex_t *sc_intr_lock);
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
80
void s3c2440_i2s_set_direction(void *handle, int direction);
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
83
void s3c2440_i2s_set_sample_rate(void *handle, int sample_rate);
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
84
void s3c2440_i2s_set_sample_width(void *handle, int width);
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
88
void s3c2440_i2s_set_bus_format(void *handle, int format);
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
91
int s3c2440_i2s_commit(void *handle);
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
94
int s3c2440_i2s_disable(void *handle);
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
96
int s3c2440_i2s_get_master_clock(void *handle);
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
97
int s3c2440_i2s_get_serial_clock(void *handle);
sys/arch/arm/sociox/if_scx.c
782
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/arch/arm/sociox/if_scx.c
791
rv = acpi_resource_parse(self, handle, "_CRS",
sys/arch/arm/sociox/if_scx.c
816
rv = acpi_dsd_integer(handle, "max-speed", &max_spd);
sys/arch/arm/sociox/if_scx.c
819
rv = acpi_dsd_integer(handle, "max-frame-size", &max_frame);
sys/arch/arm/sociox/if_scx.c
822
rv = acpi_dsd_integer(handle, "phy-channel", &phy_id);
sys/arch/arm/sociox/if_scx.c
825
rv = acpi_dsd_integer(handle, "socionext,phy-clock-frequency",
sys/arch/arm/sociox/if_scx.c
837
intrh = acpi_intr_establish(self, (uint64_t)(uintptr_t)handle,
sys/arch/arm/sociox/sni_emmc.c
164
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/arch/arm/sociox/sni_emmc.c
189
sc->sc_ih = acpi_intr_establish(self, (uint64_t)handle,
sys/arch/arm/sociox/sni_gpio.c
165
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/arch/arm/sociox/sni_i2c.c
220
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/arch/arm/sociox/sni_i2c.c
248
sc->sc_ih = acpi_intr_establish(self, (uint64_t)handle,
sys/arch/arm/sunxi/sunxi_drm.c
241
struct drm_file *file, unsigned int *handle)
sys/arch/arm/sunxi/sunxi_drm.c
245
return drm_gem_handle_create(file, &sfb->obj->base, handle);
sys/arch/arm/ti/ti_lcdc.c
484
struct drm_file *file, unsigned int *handle)
sys/arch/arm/ti/ti_lcdc.c
488
return drm_gem_handle_create(file, &sfb->obj->base, handle);
sys/arch/atari/dev/hdfd.c
345
bus_space_handle_t handle;
sys/arch/atari/dev/hdfd.c
357
if (bus_space_map(mb_tag, FD_IOBASE, FD_IOSIZE, 0, &handle)) {
sys/arch/atari/dev/hdfd.c
362
fdio_addr = bus_space_vaddr(mb_tag, handle); /* XXX */
sys/arch/atari/dev/hdfd.c
383
bus_space_unmap(mb_tag, handle, FD_IOSIZE);
sys/arch/dreamcast/dev/g1/g1bus_bus_mem.c
150
g1bus_bus_mem_subregion(void *v, bus_space_handle_t handle, bus_size_t offset,
sys/arch/dreamcast/dev/g1/g1bus_bus_mem.c
154
*nhandlep = handle + offset;
sys/arch/dreamcast/dev/g2/g2rtc.c
122
g2rtc_todr_gettime(todr_chip_handle_t handle, struct timeval *tv)
sys/arch/dreamcast/dev/g2/g2rtc.c
124
struct g2rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/dreamcast/dev/g2/g2rtc.c
152
g2rtc_todr_settime(todr_chip_handle_t handle, struct timeval *tv)
sys/arch/dreamcast/dev/g2/g2rtc.c
154
struct g2rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/evbarm/mini2440/audio_mini2440.c
206
uda_ssio_open(void *handle, int flags)
sys/arch/evbarm/mini2440/audio_mini2440.c
220
retval = uda1341_open(handle, flags);
sys/arch/evbarm/mini2440/audio_mini2440.c
229
uda_ssio_close(void *handle)
sys/arch/evbarm/mini2440/audio_mini2440.c
234
uda1341_close(handle);
sys/arch/evbarm/mini2440/audio_mini2440.c
238
uda_ssio_query_format(void *handle, audio_format_query_t *afp)
sys/arch/evbarm/mini2440/audio_mini2440.c
245
uda_ssio_set_format(void *handle, int setmode,
sys/arch/evbarm/mini2440/audio_mini2440.c
249
struct uda1341_softc *uc = handle;
sys/arch/evbarm/mini2440/audio_mini2440.c
285
retval = uda1341_set_format(handle, setmode, play, rec, pfil, rfil);
sys/arch/evbarm/mini2440/audio_mini2440.c
301
uda_ssio_start_output(void *handle, void *block, int bsize,
sys/arch/evbarm/mini2440/audio_mini2440.c
304
struct uda1341_softc *uc = handle;
sys/arch/evbarm/mini2440/audio_mini2440.c
311
uda_ssio_start_input(void *handle, void *block, int bsize,
sys/arch/evbarm/mini2440/audio_mini2440.c
314
struct uda1341_softc *uc = handle;
sys/arch/evbarm/mini2440/audio_mini2440.c
321
uda_ssio_halt_output(void *handle)
sys/arch/evbarm/mini2440/audio_mini2440.c
323
struct uda1341_softc *uc = handle;
sys/arch/evbarm/mini2440/audio_mini2440.c
330
uda_ssio_halt_input(void *handle)
sys/arch/evbarm/mini2440/audio_mini2440.c
337
uda_ssio_getdev(void *handle, struct audio_device *ret)
sys/arch/evbarm/mini2440/audio_mini2440.c
344
uda_ssio_allocm(void *handle, int direction, size_t size)
sys/arch/evbarm/mini2440/audio_mini2440.c
346
struct uda1341_softc *uc = handle;
sys/arch/evbarm/mini2440/audio_mini2440.c
374
uda_ssio_freem(void *handle, void *ptr, size_t size)
sys/arch/evbarm/mini2440/audio_mini2440.c
376
struct uda1341_softc *uc = handle;
sys/arch/evbarm/mini2440/audio_mini2440.c
387
uda_ssio_round_buffersize(void *handle, int direction, size_t bufsize)
sys/arch/evbarm/mini2440/audio_mini2440.c
394
uda_ssio_get_props(void *handle)
sys/arch/evbarm/mini2440/audio_mini2440.c
400
uda_ssio_get_locks(void *handle, kmutex_t **intr, kmutex_t **thread)
sys/arch/evbarm/mini2440/audio_mini2440.c
402
struct uda1341_softc *uc = handle;
sys/arch/evbarm/rpi/vcprop.h
495
uint32_t handle; /* bus address returned here */
sys/arch/evbarm/rpi/vcprop_subr.c
156
rpi_lock_mem(uint32_t handle)
sys/arch/evbarm/rpi/vcprop_subr.c
178
.handle = htole32(handle),
sys/arch/evbarm/rpi/vcprop_subr.c
189
le32toh(vb_lockmem.vbt_lm.handle), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
200
return le32toh(vb_lockmem.vbt_lm.handle);
sys/arch/evbarm/rpi/vcprop_subr.c
204
rpi_unlock_mem(uint32_t handle)
sys/arch/evbarm/rpi/vcprop_subr.c
226
.handle = htole32(handle),
sys/arch/evbarm/rpi/vcprop_subr.c
237
le32toh(vb_unlockmem.vbt_lm.handle), error, res,
sys/arch/evbarm/rpi/vcprop_subr.c
252
rpi_release_mem(uint32_t handle)
sys/arch/evbarm/rpi/vcprop_subr.c
274
.handle = htole32(handle),
sys/arch/evbarm/rpi/vcprop_subr.c
285
le32toh(vb_releasemem.vbt_lm.handle), error, res,
sys/arch/evbcf/include/bus_space.h
136
#define bus_space_unmap(tag, handle, size) \
sys/arch/evbcf/include/bus_space.h
137
(*((tag)->bs_unmap))((tag)->bs_cookie, (handle), (size))
sys/arch/evbmips/sbmips/rtc.c
151
xirtc_settime(todr_chip_handle_t handle, struct clock_ymdhms *ymdhms)
sys/arch/evbmips/sbmips/rtc.c
153
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/evbmips/sbmips/rtc.c
183
xirtc_gettime(todr_chip_handle_t handle, struct clock_ymdhms *ymdhms)
sys/arch/evbmips/sbmips/rtc.c
185
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/evbmips/sbmips/rtc.c
261
strtc_settime(todr_chip_handle_t handle, struct clock_ymdhms *ymdhms)
sys/arch/evbmips/sbmips/rtc.c
263
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/evbmips/sbmips/rtc.c
286
strtc_gettime(todr_chip_handle_t handle, struct clock_ymdhms *ymdhms)
sys/arch/evbmips/sbmips/rtc.c
288
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
370
cfe_inpstat(int handle)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
376
xiocb.xiocb_handle = handle;
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
392
cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, int length,
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
399
xiocb.xiocb_handle = handle;
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
440
cfe_read(int handle, unsigned char *buffer, int length)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
442
return cfe_readblk(handle, 0, buffer, length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
448
cfe_readblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
454
xiocb.xiocb_handle = handle;
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
508
cfe_write(int handle, unsigned char *buffer, int length)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
510
return cfe_writeblk(handle, 0, buffer, length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
516
cfe_writeblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
522
xiocb.xiocb_handle = handle;
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
72
static int (*cfe_dispfunc)(intptr_t handle, intptr_t xiocb) = 0;
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
76
cfe_init(cfe_xuint_t handle, cfe_xuint_t ept)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
79
cfe_handle = handle;
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
93
cfe_close(int handle)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
99
xiocb.xiocb_handle = handle;
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
185
int cfe_close(int handle);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
197
int cfe_init(uint64_t handle,uint64_t ept);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
198
int cfe_inpstat(int handle);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
199
int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer,
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
202
int cfe_read(int handle, unsigned char *buffer, int length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
203
int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, int length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
205
int cfe_write(int handle, unsigned char *buffer, int length);
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
206
int cfe_writeblk(int handle, int64_t offset, unsigned char *buffer,
sys/arch/evbppc/virtex/design_gsrd1.c
385
ll_dmac_intr_disestablish(int chan, void *handle)
sys/arch/evbppc/virtex/design_gsrd1.c
387
struct cdmac_intr_handle *ih = handle;
sys/arch/evbppc/virtex/design_gsrd1.c
391
KASSERT(cdmac_intrs[chan] == handle);
sys/arch/evbppc/virtex/design_gsrd2.c
436
ll_dmac_intr_disestablish(int chan, void *handle)
sys/arch/evbppc/virtex/design_gsrd2.c
441
KASSERT(&cdmacintr[chan] == handle);
sys/arch/hp300/dev/rtc.c
119
rtc_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/arch/hp300/dev/rtc.c
121
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/hp300/dev/rtc.c
157
rtc_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/arch/hp300/dev/rtc.c
159
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/hpcmips/vr/vrc4173bcu.c
517
vrc4173bcu_dump_level2mask(vrip_chipset_tag_t vc, vrip_intr_handle_t handle)
sys/arch/hpcmips/vr/vrc4173bcu.c
520
struct vrc4173bcu_intrhand *ih = handle;
sys/arch/hpcmips/vr/vrc4173bcu.c
580
__vrc4173bcu_intr_disestablish(vrip_chipset_tag_t vc, vrip_intr_handle_t handle)
sys/arch/hpcmips/vr/vrc4173bcu.c
582
struct vrc4173bcu_intrhand *ih = handle;
sys/arch/hpcmips/vr/vrc4173bcu.c
594
__vrc4173bcu_intr_setmask1(vrip_chipset_tag_t vc, vrip_intr_handle_t handle,
sys/arch/hpcmips/vr/vrc4173bcu.c
598
struct vrc4173bcu_intrhand *ih = handle;
sys/arch/hpcmips/vr/vrc4173bcu.c
619
__vrc4173bcu_intr_getstatus2(vrip_chipset_tag_t vc, vrip_intr_handle_t handle,
sys/arch/hpcmips/vr/vrc4173bcu.c
623
struct vrc4173bcu_intrhand *ih = handle;
sys/arch/hpcmips/vr/vrc4173bcu.c
634
__vrc4173bcu_intr_setmask2(vrip_chipset_tag_t vc, vrip_intr_handle_t handle,
sys/arch/hpcmips/vr/vrc4173bcu.c
638
struct vrc4173bcu_intrhand *ih = handle;
sys/arch/hpcmips/vr/vrc4173bcu.c
645
vrc4173bcu_dump_level2mask(vc, handle);
sys/arch/hpcmips/vr/vrc4173bcu.c
665
vrc4173bcu_dump_level2mask(vc, handle);
sys/arch/hpcmips/vr/vrip.c
353
__vrip_intr_disestablish(vrip_chipset_tag_t vc, vrip_intr_handle_t handle)
sys/arch/hpcmips/vr/vrip.c
355
struct intrhand *ih = handle;
sys/arch/hpcmips/vr/vrip.c
390
__vrip_intr_setmask1(vrip_chipset_tag_t vc, vrip_intr_handle_t handle,
sys/arch/hpcmips/vr/vrip.c
394
struct intrhand *ih = handle;
sys/arch/hpcmips/vr/vrip.c
418
__vrip_dump_level2mask(vrip_chipset_tag_t vc, vrip_intr_handle_t handle)
sys/arch/hpcmips/vr/vrip.c
421
struct intrhand *ih = handle;
sys/arch/hpcmips/vr/vrip.c
439
__vrip_intr_getstatus2(vrip_chipset_tag_t vc, vrip_intr_handle_t handle,
sys/arch/hpcmips/vr/vrip.c
443
struct intrhand *ih = handle;
sys/arch/hpcmips/vr/vrip.c
457
__vrip_intr_setmask2(vrip_chipset_tag_t vc, vrip_intr_handle_t handle,
sys/arch/hpcmips/vr/vrip.c
461
struct intrhand *ih = handle;
sys/arch/hpcmips/vr/vrip.c
466
DUMP_LEVEL2MASK(vc, handle);
sys/arch/hpcmips/vr/vrip.c
489
DUMP_LEVEL2MASK(vc, handle);
sys/arch/hpcmips/vr/vripif.h
102
#define vrip_intr_disestablish(vc, handle) \
sys/arch/hpcmips/vr/vripif.h
103
((*(vc)->vc_intr_disestablish)((vc), (handle)))
sys/arch/hpcmips/vr/vripif.h
104
#define vrip_intr_setmask1(vc, handle, enable) \
sys/arch/hpcmips/vr/vripif.h
105
((*(vc)->vc_intr_setmask1)((vc), (handle), (enable)))
sys/arch/hpcmips/vr/vripif.h
106
#define vrip_intr_setmask2(vc, handle, mask, onoff) \
sys/arch/hpcmips/vr/vripif.h
107
((*(vc)->vc_intr_setmask2)((vc), (handle), (mask), (onoff)))
sys/arch/hpcmips/vr/vripif.h
108
#define vrip_intr_getstatus2(vc, handle, status) \
sys/arch/hpcmips/vr/vripif.h
109
((*(vc)->vc_intr_getstatus2)((vc), (handle), (status)))
sys/arch/hpcsh/dev/hd64465/hd64465.c
168
hd64465_intr_disestablish(void *handle)
sys/arch/hpcsh/dev/hd64465/hd64465.c
171
hd6446x_intr_disestablish(handle);
sys/arch/hpcsh/dev/hd6446x/hd6446xintc.c
82
hd6446x_intr_disestablish(void *handle)
sys/arch/hpcsh/dev/hd6446x/hd6446xintc.c
84
struct hd6446x_intrhand *hh = handle;
sys/arch/ia64/ia64/bus_space.c
107
ia64_bus_space_free(bus_space_tag_t t, bus_space_handle_t handle,
sys/arch/ia64/include/bus.h
963
ia64_bus_space_barrier(bus_space_tag_t t, bus_space_handle_t handle,
sys/arch/m68k/include/bus_space_simple.h
132
#define bus_space_unmap(tag, handle, size) \
sys/arch/m68k/include/bus_space_simple.h
133
(*((tag)->bs_unmap))((tag)->bs_cookie, (handle), (size))
sys/arch/mac68k/mac68k/macrom.c
808
void **handle;
sys/arch/mac68k/mac68k/macrom.c
848
: "=g" (handle));
sys/arch/mac68k/mac68k/macrom.c
849
printf("Handle to first DRVR resource is %p\n", handle);
sys/arch/mac68k/mac68k/macrom.c
860
: "=g" (handle));
sys/arch/mac68k/mac68k/macrom.c
861
printf("Handle to second DRVR resource is %p\n", handle);
sys/arch/mac68k/mac68k/macrom.c
988
handle = GetResource(0x41244253, 2);
sys/arch/mac68k/mac68k/macrom.c
989
printf("Handle result from GetResource: 0x%lx\n", (long)handle);
sys/arch/macppc/dev/cuda.c
192
cuda_devhandle_lookup_device_call(devhandle_t handle, const char *name,
sys/arch/macppc/stand/bootxx/bootxx.c
178
OF_getprop(int handle, char *prop, void *buf, int buflen)
sys/arch/macppc/stand/bootxx/bootxx.c
195
args.phandle = handle;
sys/arch/macppc/stand/bootxx/bootxx.c
212
int handle;
sys/arch/macppc/stand/bootxx/bootxx.c
222
return args.handle;
sys/arch/macppc/stand/bootxx/bootxx.c
226
OF_read(int handle, void *addr, int len)
sys/arch/macppc/stand/bootxx/bootxx.c
242
args.ihandle = handle;
sys/arch/macppc/stand/bootxx/bootxx.c
251
OF_seek(int handle, u_quad_t pos)
sys/arch/macppc/stand/bootxx/bootxx.c
257
int handle;
sys/arch/macppc/stand/bootxx/bootxx.c
267
args.handle = handle;
sys/arch/macppc/stand/bootxx/bootxx.c
276
OF_write(int handle, const void *addr, int len)
sys/arch/macppc/stand/bootxx/bootxx.c
292
args.ihandle = handle;
sys/arch/macppc/stand/ofwboot/Locore.c
320
OF_getprop(int handle, const char *prop, void *buf, int buflen)
sys/arch/macppc/stand/ofwboot/Locore.c
337
args.phandle = handle;
sys/arch/macppc/stand/ofwboot/Locore.c
348
OF_setprop(int handle, const char *prop, void *buf, int len)
sys/arch/macppc/stand/ofwboot/Locore.c
365
args.phandle = handle;
sys/arch/macppc/stand/ofwboot/Locore.c
383
int handle;
sys/arch/macppc/stand/ofwboot/Locore.c
395
args.handle == 0) {
sys/arch/macppc/stand/ofwboot/Locore.c
402
printf("%d\n", args.handle);
sys/arch/macppc/stand/ofwboot/Locore.c
404
return args.handle;
sys/arch/macppc/stand/ofwboot/Locore.c
408
OF_close(int handle)
sys/arch/macppc/stand/ofwboot/Locore.c
414
int handle;
sys/arch/macppc/stand/ofwboot/Locore.c
422
printf("OF_close(%d)\n", handle);
sys/arch/macppc/stand/ofwboot/Locore.c
424
args.handle = handle;
sys/arch/macppc/stand/ofwboot/Locore.c
429
OF_write(int handle, void *addr, int len)
sys/arch/macppc/stand/ofwboot/Locore.c
447
printf("OF_write(%d, %p, %x) -> ", handle, addr, len);
sys/arch/macppc/stand/ofwboot/Locore.c
449
args.ihandle = handle;
sys/arch/macppc/stand/ofwboot/Locore.c
466
OF_read(int handle, void *addr, int len)
sys/arch/macppc/stand/ofwboot/Locore.c
484
printf("OF_read(%d, %p, %x) -> ", handle, addr, len);
sys/arch/macppc/stand/ofwboot/Locore.c
486
args.ihandle = handle;
sys/arch/macppc/stand/ofwboot/Locore.c
503
OF_seek(int handle, u_quad_t pos)
sys/arch/macppc/stand/ofwboot/Locore.c
509
int handle;
sys/arch/macppc/stand/ofwboot/Locore.c
520
printf("OF_seek(%d, %x, %x) -> ", handle, (int)(pos >> 32), (int)pos);
sys/arch/macppc/stand/ofwboot/Locore.c
522
args.handle = handle;
sys/arch/macppc/stand/ofwboot/boot.c
174
int handle, rv;
sys/arch/macppc/stand/ofwboot/boot.c
181
handle = OF_finddevice(dev);
sys/arch/macppc/stand/ofwboot/boot.c
182
if (handle != -1) {
sys/arch/macppc/stand/ofwboot/boot.c
183
rv = OF_getprop(handle, "name", nam, sizeof(nam));
sys/arch/macppc/stand/ofwboot/boot.c
368
OF_call_method("eject", op->handle, 0, 0, NULL);
sys/arch/macppc/stand/ofwboot/boot.c
376
OF_call_method("close", op->handle, 0, 0, NULL);
sys/arch/macppc/stand/ofwboot/boot.c
377
OF_call_method("open", op->handle, 0, 0, NULL);
sys/arch/macppc/stand/ofwboot/netif_of.c
166
rv = OF_write(op->handle, pkt, sendlen);
sys/arch/macppc/stand/ofwboot/netif_of.c
197
len = OF_read(op->handle, pkt, maxlen);
sys/arch/macppc/stand/ofwboot/netif_of.c
92
rv = OF_getprop(OF_instance_to_package(op->handle),
sys/arch/macppc/stand/ofwboot/netif_of.c
95
OF_getprop(OF_instance_to_package(op->handle),
sys/arch/macppc/stand/ofwboot/ofdev.c
111
OF_call_method("dma-free", op->handle, 2, 0, (int *)cells);
sys/arch/macppc/stand/ofwboot/ofdev.c
112
OF_close(op->handle);
sys/arch/macppc/stand/ofwboot/ofdev.c
113
op->handle = -1;
sys/arch/macppc/stand/ofwboot/ofdev.c
389
int handle, part;
sys/arch/macppc/stand/ofwboot/ofdev.c
394
if (ofdev.handle != -1)
sys/arch/macppc/stand/ofwboot/ofdev.c
427
if ((handle = OF_finddevice(devname)) == -1)
sys/arch/macppc/stand/ofwboot/ofdev.c
429
if (OF_getprop(handle, "device_type", buf, sizeof buf) < 0)
sys/arch/macppc/stand/ofwboot/ofdev.c
435
if ((handle = OF_open(devname)) == -1)
sys/arch/macppc/stand/ofwboot/ofdev.c
438
ofdev.handle = handle;
sys/arch/macppc/stand/ofwboot/ofdev.c
441
OF_call_method("dma-alloc", handle, 1, 1, (int *)cells);
sys/arch/macppc/stand/ofwboot/ofdev.c
503
OF_close(handle);
sys/arch/macppc/stand/ofwboot/ofdev.c
504
ofdev.handle = -1;
sys/arch/macppc/stand/ofwboot/ofdev.c
82
if (OF_seek(dev->handle, pos) < 0)
sys/arch/macppc/stand/ofwboot/ofdev.c
84
n = OF_read(dev->handle, buf, size);
sys/arch/macppc/stand/ofwboot/ofdev.h
39
int handle;
sys/arch/mips/cfe/cfe_api.c
102
xiocb.xiocb_handle = handle;
sys/arch/mips/cfe/cfe_api.c
373
cfe_inpstat(int handle)
sys/arch/mips/cfe/cfe_api.c
379
xiocb.xiocb_handle = handle;
sys/arch/mips/cfe/cfe_api.c
395
cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, int length,
sys/arch/mips/cfe/cfe_api.c
402
xiocb.xiocb_handle = handle;
sys/arch/mips/cfe/cfe_api.c
443
cfe_read(int handle, unsigned char *buffer, int length)
sys/arch/mips/cfe/cfe_api.c
445
return cfe_readblk(handle, 0, buffer, length);
sys/arch/mips/cfe/cfe_api.c
451
cfe_readblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/mips/cfe/cfe_api.c
457
xiocb.xiocb_handle = handle;
sys/arch/mips/cfe/cfe_api.c
511
cfe_write(int handle, unsigned char *buffer, int length)
sys/arch/mips/cfe/cfe_api.c
513
return cfe_writeblk(handle, 0, buffer, length);
sys/arch/mips/cfe/cfe_api.c
519
cfe_writeblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/mips/cfe/cfe_api.c
525
xiocb.xiocb_handle = handle;
sys/arch/mips/cfe/cfe_api.c
75
static int (*cfe_dispfunc)(intptr_t handle, intptr_t xiocb) = 0;
sys/arch/mips/cfe/cfe_api.c
79
cfe_init(cfe_xuint_t handle, cfe_xuint_t ept)
sys/arch/mips/cfe/cfe_api.c
82
cfe_handle = handle;
sys/arch/mips/cfe/cfe_api.c
96
cfe_close(int handle)
sys/arch/mips/cfe/cfe_api.h
173
int cfe_close(int handle);
sys/arch/mips/cfe/cfe_api.h
185
int cfe_init(uint64_t handle,uint64_t ept);
sys/arch/mips/cfe/cfe_api.h
186
int cfe_inpstat(int handle);
sys/arch/mips/cfe/cfe_api.h
187
int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer,
sys/arch/mips/cfe/cfe_api.h
190
int cfe_read(int handle, unsigned char *buffer, int length);
sys/arch/mips/cfe/cfe_api.h
191
int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, int length);
sys/arch/mips/cfe/cfe_api.h
193
int cfe_write(int handle, unsigned char *buffer, int length);
sys/arch/mips/cfe/cfe_api.h
194
int cfe_writeblk(int handle, int64_t offset, unsigned char *buffer,
sys/arch/mmeye/dev/mmeyepcmcia.c
157
struct mmeyepcmcia_handle handle[MMEYEPCMCIA_NSLOTS];
sys/arch/mmeye/dev/mmeyepcmcia.c
298
sc->handle[0].sc = sc;
sys/arch/mmeye/dev/mmeyepcmcia.c
299
sc->handle[0].flags = MMEYEPCMCIA_FLAG_SOCKETP;
sys/arch/mmeye/dev/mmeyepcmcia.c
300
sc->handle[0].laststate = MMEYEPCMCIA_LASTSTATE_EMPTY;
sys/arch/mmeye/dev/mmeyepcmcia.c
302
SIMPLEQ_INIT(&sc->handle[0].events);
sys/arch/mmeye/dev/mmeyepcmcia.c
344
mmeyepcmcia_attach_socket(&sc->handle[0]);
sys/arch/mmeye/dev/mmeyepcmcia.c
522
mmeyepcmcia_intr_socket(&sc->handle[0]);
sys/arch/ofppc/stand/ofwboot/Locore.c
154
OF_getprop(int handle, char *prop, void *buf, int buflen)
sys/arch/ofppc/stand/ofwboot/Locore.c
171
args.phandle = handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
182
OF_setprop(int handle, char *prop, void *buf, int len)
sys/arch/ofppc/stand/ofwboot/Locore.c
199
args.phandle = handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
217
int handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
229
args.handle == 0) {
sys/arch/ofppc/stand/ofwboot/Locore.c
236
printf("%d\n", args.handle);
sys/arch/ofppc/stand/ofwboot/Locore.c
238
return args.handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
242
OF_close(int handle)
sys/arch/ofppc/stand/ofwboot/Locore.c
248
int handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
256
printf("OF_close(%d)\n", handle);
sys/arch/ofppc/stand/ofwboot/Locore.c
258
args.handle = handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
263
OF_write(int handle, void *addr, int len)
sys/arch/ofppc/stand/ofwboot/Locore.c
281
printf("OF_write(%d, %p, %x) -> ", handle, addr, len);
sys/arch/ofppc/stand/ofwboot/Locore.c
283
args.ihandle = handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
300
OF_read(int handle, void *addr, int len)
sys/arch/ofppc/stand/ofwboot/Locore.c
318
printf("OF_read(%d, %p, %x) -> ", handle, addr, len);
sys/arch/ofppc/stand/ofwboot/Locore.c
320
args.ihandle = handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
337
OF_seek(int handle, u_quad_t pos)
sys/arch/ofppc/stand/ofwboot/Locore.c
343
int handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
354
printf("OF_seek(%d, %x, %x) -> ", handle, (int)(pos >> 32), (int)pos);
sys/arch/ofppc/stand/ofwboot/Locore.c
356
args.handle = handle;
sys/arch/ofppc/stand/ofwboot/Locore.c
608
OF_nextprop(int handle, const char *prop, void *nextprop)
sys/arch/ofppc/stand/ofwboot/Locore.c
624
args.phandle = handle;
sys/arch/ofppc/stand/ofwboot/netif_of.c
158
rv = OF_write(op->handle, pkt, sendlen);
sys/arch/ofppc/stand/ofwboot/netif_of.c
189
len = OF_read(op->handle, pkt, maxlen);
sys/arch/ofppc/stand/ofwboot/netif_of.c
91
OF_getprop(OF_instance_to_package(op->handle),
sys/arch/ofppc/stand/ofwboot/ofdev.c
138
if (OF_seek(dev->handle, pos) < 0)
sys/arch/ofppc/stand/ofwboot/ofdev.c
140
n = OF_read(dev->handle, buf, size);
sys/arch/ofppc/stand/ofwboot/ofdev.c
165
OF_close(op->handle);
sys/arch/ofppc/stand/ofwboot/ofdev.c
166
op->handle = -1;
sys/arch/ofppc/stand/ofwboot/ofdev.c
197
int handle, part;
sys/arch/ofppc/stand/ofwboot/ofdev.c
203
if (ofdev.handle != -1)
sys/arch/ofppc/stand/ofwboot/ofdev.c
236
if ((handle = OF_finddevice(fname)) == -1) {
sys/arch/ofppc/stand/ofwboot/ofdev.c
241
if (OF_getprop(handle, "name", buf, sizeof buf) < 0)
sys/arch/ofppc/stand/ofwboot/ofdev.c
244
if (OF_getprop(handle, "device_type", buf, sizeof buf) < 0)
sys/arch/ofppc/stand/ofwboot/ofdev.c
255
if ((handle = OF_open(fname)) == -1)
sys/arch/ofppc/stand/ofwboot/ofdev.c
258
ofdev.handle = handle;
sys/arch/ofppc/stand/ofwboot/ofdev.c
327
OF_close(handle);
sys/arch/ofppc/stand/ofwboot/ofdev.c
328
ofdev.handle = -1;
sys/arch/ofppc/stand/ofwboot/ofdev.h
39
int handle;
sys/arch/playstation2/dev/sbus.c
198
sbus_intr_disestablish(void *handle)
sys/arch/playstation2/dev/sbus.c
200
int irq = (int)handle;
sys/arch/playstation2/dev/spd.c
172
spd_intr_disestablish(void *handle)
sys/arch/playstation2/dev/spd.c
174
int slot = (int)handle;
sys/arch/playstation2/ee/dmac.c
238
dmac_intr_disestablish(void *handle)
sys/arch/playstation2/ee/dmac.c
240
int ch = (int)(handle);
sys/arch/playstation2/ee/intc.c
206
intc_intr_disestablish(void *handle)
sys/arch/playstation2/ee/intc.c
208
int ch = (int)(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1183
pq3pci_msi_lookup(pci_intr_handle_t handle)
sys/arch/powerpc/booke/pci/pq3pci.c
1185
const int irq = PIH_IRQ(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1193
pq3pci_msi_claim(pci_intr_handle_t handle)
sys/arch/powerpc/booke/pci/pq3pci.c
1195
const int irq = PIH_IRQ(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1213
pci_intr_handle_t handle;
sys/arch/powerpc/booke/pci/pq3pci.c
1239
handle = PIH_MAKE(i * 32 + n, IST_MSI, 0);
sys/arch/powerpc/booke/pci/pq3pci.c
1241
pq3pci_msi_claim(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1244
return handle;
sys/arch/powerpc/booke/pci/pq3pci.c
1261
handle = PIH_MAKE(freegroup * 32 + n, IST_MSI, 0);
sys/arch/powerpc/booke/pci/pq3pci.c
1263
pq3pci_msi_claim(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1266
return handle;
sys/arch/powerpc/booke/pci/pq3pci.c
1293
pci_intr_handle_t handle = pq3pci_msi_alloc_one(IPL_VM);
sys/arch/powerpc/booke/pci/pq3pci.c
1294
if (handle == 0) {
sys/arch/powerpc/booke/pci/pq3pci.c
1303
vectors[i] = handle;
sys/arch/powerpc/booke/pci/pq3pci.c
1305
msih = pq3pci_msi_lookup(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1330
pq3pci_intr_source_lookup(struct pq3pci_softc *sc, pci_intr_handle_t handle)
sys/arch/powerpc/booke/pci/pq3pci.c
1335
if (pis->pis_handle == handle) {
sys/arch/powerpc/booke/pci/pq3pci.c
1342
pq3pci_intr_source_setup(sc, pis, handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1364
pci_intr_handle_t handle = pq3pci_msi_alloc_one(IPL_VM);
sys/arch/powerpc/booke/pci/pq3pci.c
1365
struct pq3pci_msihand * const msih = pq3pci_msi_lookup(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1368
return handle;
sys/arch/powerpc/booke/pci/pq3pci.c
1419
pq3pci_intr_string(void *v, pci_intr_handle_t handle, char *buf, size_t len)
sys/arch/powerpc/booke/pci/pq3pci.c
1421
if (PIH_IST(handle) == IST_MSI) {
sys/arch/powerpc/booke/pci/pq3pci.c
1423
strlcpy(buf, intr_names[PIH_IRQ(handle)], len);
sys/arch/powerpc/booke/pci/pq3pci.c
1427
return intr_string(PIH_IRQ(handle), PIH_IST(handle), buf, len);
sys/arch/powerpc/booke/pci/pq3pci.c
1431
pq3pci_intr_evcnt(void *v, pci_intr_handle_t handle)
sys/arch/powerpc/booke/pci/pq3pci.c
1434
if (PIH_IST(handle) == IST_MSI) {
sys/arch/powerpc/booke/pci/pq3pci.c
1435
struct pq3pci_msihand * const msih = pq3pci_msi_lookup(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1442
pq3pci_intr_source_lookup(sc, handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1449
pq3pci_intr_establish(void *v, pci_intr_handle_t handle, int ipl,
sys/arch/powerpc/booke/pci/pq3pci.c
1453
const int ist = PIH_IST(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1457
struct pq3pci_msihand * const msih = pq3pci_msi_lookup(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1498
pci_conf_write(pc, tag, off, PIH_IRQ(handle));
sys/arch/powerpc/booke/pci/pq3pci.c
1531
pq3pci_intr_source_lookup(sc, handle);
sys/arch/powerpc/booke/pci/pq3pci.c
1591
pq3pci_intr_type(void *v, pci_intr_handle_t handle)
sys/arch/powerpc/booke/pci/pq3pci.c
1593
const int ist = PIH_IST(handle);
sys/arch/powerpc/booke/pci/pq3pci.c
680
pci_intr_handle_t handle)
sys/arch/powerpc/booke/pci/pq3pci.c
683
pis->pis_handle = handle;
sys/arch/powerpc/booke/pci/pq3pci.c
684
pis->pis_ih = intr_establish(PIH_IRQ(handle), IPL_VM, PIH_IST(handle),
sys/arch/powerpc/booke/pci/pq3pci.c
688
= intr_string(PIH_IRQ(handle), PIH_IST(handle), pis->pis_intrname,
sys/arch/powerpc/pci/pci_machdep_common.c
187
pci_intr_handle_t *handle;
sys/arch/powerpc/pci/pci_machdep_common.c
190
handle = kmem_zalloc(sizeof(*handle), KM_SLEEP);
sys/arch/powerpc/pci/pci_machdep_common.c
191
error = pci_intr_map(pa, handle);
sys/arch/powerpc/pci/pci_machdep_common.c
193
kmem_free(handle, sizeof(*handle));
sys/arch/powerpc/pci/pci_machdep_common.c
197
*ihps = handle;
sys/arch/powerpc/powerpc/ofw_machdep.c
472
int handle, proplen;
sys/arch/powerpc/powerpc/ofw_machdep.c
482
handle = OF_finddevice("/options");
sys/arch/powerpc/powerpc/ofw_machdep.c
483
if (handle != -1) {
sys/arch/powerpc/powerpc/ofw_machdep.c
484
proplen = OF_getprop(handle, "real-mode?", prop, sizeof(prop));
sys/arch/powerpc/powerpc/openfirm.c
198
OF_getproplen(int handle, const char *prop)
sys/arch/powerpc/powerpc/openfirm.c
217
args.phandle = handle;
sys/arch/powerpc/powerpc/openfirm.c
229
OF_getprop(int handle, const char *prop, void *buf, int buflen)
sys/arch/powerpc/powerpc/openfirm.c
253
args.phandle = handle;
sys/arch/powerpc/powerpc/openfirm.c
272
OF_setprop(int handle, const char *prop, const void *buf, int buflen)
sys/arch/powerpc/powerpc/openfirm.c
296
args.phandle = handle;
sys/arch/powerpc/powerpc/openfirm.c
310
OF_nextprop(int handle, const char *prop, void *nextprop)
sys/arch/powerpc/powerpc/openfirm.c
330
args.phandle = handle;
sys/arch/powerpc/powerpc/openfirm.c
561
int handle;
sys/arch/powerpc/powerpc/openfirm.c
580
rv = args.handle;
sys/arch/powerpc/powerpc/openfirm.c
587
OF_close(int handle)
sys/arch/powerpc/powerpc/openfirm.c
593
int handle;
sys/arch/powerpc/powerpc/openfirm.c
602
args.handle = handle;
sys/arch/powerpc/powerpc/openfirm.c
612
OF_read(int handle, void *addr, int len)
sys/arch/powerpc/powerpc/openfirm.c
632
args.ihandle = handle;
sys/arch/powerpc/powerpc/openfirm.c
659
OF_write(int handle, const void *addr, int len)
sys/arch/powerpc/powerpc/openfirm.c
679
args.ihandle = handle;
sys/arch/powerpc/powerpc/openfirm.c
700
OF_seek(int handle, u_quad_t pos)
sys/arch/powerpc/powerpc/openfirm.c
706
int handle;
sys/arch/powerpc/powerpc/openfirm.c
719
args.handle = handle;
sys/arch/sandpoint/sandpoint/autoconf.c
161
sandpoint_i2c_lookup_device_call(devhandle_t handle, const char *name,
sys/arch/sbmips/sbmips/rtc.c
151
xirtc_settime(todr_chip_handle_t handle, struct clock_ymdhms *ymdhms)
sys/arch/sbmips/sbmips/rtc.c
153
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/sbmips/sbmips/rtc.c
183
xirtc_gettime(todr_chip_handle_t handle, struct clock_ymdhms *ymdhms)
sys/arch/sbmips/sbmips/rtc.c
185
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/sbmips/sbmips/rtc.c
261
strtc_settime(todr_chip_handle_t handle, struct clock_ymdhms *ymdhms)
sys/arch/sbmips/sbmips/rtc.c
263
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/sbmips/sbmips/rtc.c
286
strtc_gettime(todr_chip_handle_t handle, struct clock_ymdhms *ymdhms)
sys/arch/sbmips/sbmips/rtc.c
288
struct rtc_softc *sc = device_private(handle->todr_dev);
sys/arch/sbmips/stand/common/cfe_api.c
370
cfe_inpstat(int handle)
sys/arch/sbmips/stand/common/cfe_api.c
376
xiocb.xiocb_handle = handle;
sys/arch/sbmips/stand/common/cfe_api.c
392
cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, int length,
sys/arch/sbmips/stand/common/cfe_api.c
399
xiocb.xiocb_handle = handle;
sys/arch/sbmips/stand/common/cfe_api.c
440
cfe_read(int handle, unsigned char *buffer, int length)
sys/arch/sbmips/stand/common/cfe_api.c
442
return cfe_readblk(handle, 0, buffer, length);
sys/arch/sbmips/stand/common/cfe_api.c
448
cfe_readblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/sbmips/stand/common/cfe_api.c
454
xiocb.xiocb_handle = handle;
sys/arch/sbmips/stand/common/cfe_api.c
508
cfe_write(int handle, unsigned char *buffer, int length)
sys/arch/sbmips/stand/common/cfe_api.c
510
return cfe_writeblk(handle, 0, buffer, length);
sys/arch/sbmips/stand/common/cfe_api.c
516
cfe_writeblk(int handle, cfe_xint_t offset, unsigned char *buffer, int length)
sys/arch/sbmips/stand/common/cfe_api.c
522
xiocb.xiocb_handle = handle;
sys/arch/sbmips/stand/common/cfe_api.c
72
static int (*cfe_dispfunc)(intptr_t handle, intptr_t xiocb) = 0;
sys/arch/sbmips/stand/common/cfe_api.c
76
cfe_init(cfe_xuint_t handle, cfe_xuint_t ept)
sys/arch/sbmips/stand/common/cfe_api.c
79
cfe_handle = handle;
sys/arch/sbmips/stand/common/cfe_api.c
93
cfe_close(int handle)
sys/arch/sbmips/stand/common/cfe_api.c
99
xiocb.xiocb_handle = handle;
sys/arch/sbmips/stand/common/cfe_api.h
185
int cfe_close(int handle);
sys/arch/sbmips/stand/common/cfe_api.h
197
int cfe_init(uint64_t handle,uint64_t ept);
sys/arch/sbmips/stand/common/cfe_api.h
198
int cfe_inpstat(int handle);
sys/arch/sbmips/stand/common/cfe_api.h
199
int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer,
sys/arch/sbmips/stand/common/cfe_api.h
202
int cfe_read(int handle, unsigned char *buffer, int length);
sys/arch/sbmips/stand/common/cfe_api.h
203
int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, int length);
sys/arch/sbmips/stand/common/cfe_api.h
205
int cfe_write(int handle, unsigned char *buffer, int length);
sys/arch/sbmips/stand/common/cfe_api.h
206
int cfe_writeblk(int handle, int64_t offset, unsigned char *buffer,
sys/arch/shark/ofw/igsfb_ofbus.c
145
const int handle = OF_open("/vlbus/display");
sys/arch/shark/ofw/igsfb_ofbus.c
146
if (handle != -1)
sys/arch/shark/ofw/igsfb_ofbus.c
147
OF_close(handle);
sys/arch/shark/stand/ofwboot/Locore.c
181
OF_getprop(int handle, const char *prop, void *buf, int buflen)
sys/arch/shark/stand/ofwboot/Locore.c
198
args.phandle = handle;
sys/arch/shark/stand/ofwboot/Locore.c
209
OF_setprop(int handle, const char *prop, void *buf, int len)
sys/arch/shark/stand/ofwboot/Locore.c
226
args.phandle = handle;
sys/arch/shark/stand/ofwboot/Locore.c
244
int handle;
sys/arch/shark/stand/ofwboot/Locore.c
256
args.handle == 0) {
sys/arch/shark/stand/ofwboot/Locore.c
263
printf("%d\n", args.handle);
sys/arch/shark/stand/ofwboot/Locore.c
265
return args.handle;
sys/arch/shark/stand/ofwboot/Locore.c
269
OF_close(int handle)
sys/arch/shark/stand/ofwboot/Locore.c
275
int handle;
sys/arch/shark/stand/ofwboot/Locore.c
283
printf("OF_close(%d)\n", handle);
sys/arch/shark/stand/ofwboot/Locore.c
285
args.handle = handle;
sys/arch/shark/stand/ofwboot/Locore.c
290
OF_write(int handle, void *addr, int len)
sys/arch/shark/stand/ofwboot/Locore.c
308
printf("OF_write(%d, %x, %x) -> ", handle, addr, len);
sys/arch/shark/stand/ofwboot/Locore.c
310
args.ihandle = handle;
sys/arch/shark/stand/ofwboot/Locore.c
327
OF_read(int handle, void *addr, int len)
sys/arch/shark/stand/ofwboot/Locore.c
345
printf("OF_read(%d, %x, %x) -> ", handle, addr, len);
sys/arch/shark/stand/ofwboot/Locore.c
347
args.ihandle = handle;
sys/arch/shark/stand/ofwboot/Locore.c
364
OF_seek(int handle, u_quad_t pos)
sys/arch/shark/stand/ofwboot/Locore.c
370
int handle;
sys/arch/shark/stand/ofwboot/Locore.c
381
printf("OF_seek(%d, %x, %x) -> ", handle, (int)(pos >> 32), (int)pos);
sys/arch/shark/stand/ofwboot/Locore.c
383
args.handle = handle;
sys/arch/shark/stand/ofwboot/netif_of.c
158
rv = OF_write(op->handle, pkt, sendlen);
sys/arch/shark/stand/ofwboot/netif_of.c
189
len = OF_read(op->handle, pkt, maxlen);
sys/arch/shark/stand/ofwboot/netif_of.c
91
OF_getprop(OF_instance_to_package(op->handle),
sys/arch/shark/stand/ofwboot/ofdev.c
120
if (OF_seek(dev->handle, pos) < 0)
sys/arch/shark/stand/ofwboot/ofdev.c
122
n = OF_read(dev->handle, buf, size);
sys/arch/shark/stand/ofwboot/ofdev.c
140
OF_close(op->handle);
sys/arch/shark/stand/ofwboot/ofdev.c
141
op->handle = -1;
sys/arch/shark/stand/ofwboot/ofdev.c
251
int handle, part;
sys/arch/shark/stand/ofwboot/ofdev.c
255
if (ofdev.handle != -1)
sys/arch/shark/stand/ofwboot/ofdev.c
282
if ((handle = OF_finddevice(fname)) == -1) {
sys/arch/shark/stand/ofwboot/ofdev.c
286
if (OF_getprop(handle, "name", buf, sizeof buf) < 0)
sys/arch/shark/stand/ofwboot/ofdev.c
289
if (OF_getprop(handle, "device_type", buf, sizeof buf) < 0)
sys/arch/shark/stand/ofwboot/ofdev.c
294
if ((handle = OF_open(fname)) == -1)
sys/arch/shark/stand/ofwboot/ofdev.c
297
ofdev.handle = handle;
sys/arch/shark/stand/ofwboot/ofdev.c
343
OF_close(handle);
sys/arch/shark/stand/ofwboot/ofdev.c
344
ofdev.handle = -1;
sys/arch/shark/stand/ofwboot/ofdev.h
37
int handle;
sys/arch/sparc/dev/fd.c
432
bus_space_handle_t handle)
sys/arch/sparc/dev/fd.c
459
v = bus_space_read_1(tag, handle, FDREG77_DOR);
sys/arch/sparc/dev/fd.c
464
bus_space_write_1(tag, handle, FDREG77_DOR, FDC_250KBPS);
sys/arch/sparc/dev/fd.c
465
v = bus_space_read_1(tag, handle, FDREG77_DOR);
sys/arch/sparc/dev/rtc.c
113
todr_chip_handle_t handle;
sys/arch/sparc/dev/rtc.c
135
handle = &sc->sc_todr;
sys/arch/sparc/dev/rtc.c
136
handle->todr_dev = self;
sys/arch/sparc/dev/rtc.c
137
handle->todr_gettime_ymdhms = rtc_gettime_ymdhms;
sys/arch/sparc/dev/rtc.c
138
handle->todr_settime_ymdhms = rtc_settime_ymdhms;
sys/arch/sparc/dev/rtc.c
140
todr_attach(handle);
sys/arch/sparc/dev/rtc.c
145
rtc_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/arch/sparc/dev/rtc.c
147
struct rtc_ebus_softc *sc = device_private(handle->todr_dev);
sys/arch/sparc/dev/rtc.c
180
rtc_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/arch/sparc/dev/rtc.c
182
struct rtc_ebus_softc *sc = device_private(handle->todr_dev);
sys/arch/sparc/dev/ts102.c
236
ts102_read_2(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/dev/ts102.c
239
return (le16toh(*(volatile uint16_t *)(handle +
sys/arch/sparc/dev/ts102.c
244
ts102_read_4(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/dev/ts102.c
247
return (le32toh(*(volatile uint32_t *)(handle +
sys/arch/sparc/dev/ts102.c
252
ts102_read_8(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/dev/ts102.c
255
return (le64toh(*(volatile uint64_t *)(handle +
sys/arch/sparc/dev/ts102.c
260
ts102_write_2(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/dev/ts102.c
263
(*(volatile uint16_t *)(handle + offset)) =
sys/arch/sparc/dev/ts102.c
268
ts102_write_4(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/dev/ts102.c
271
(*(volatile uint32_t *)(handle + offset)) =
sys/arch/sparc/dev/ts102.c
276
ts102_write_8(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/dev/ts102.c
279
(*(volatile uint64_t *)(handle + offset)) =
sys/arch/sparc/include/bus_defs.h
151
bus_space_handle_t handle,
sys/arch/sparc/include/bus_defs.h
156
bus_space_handle_t handle,
sys/arch/sparc/include/bus_defs.h
161
bus_space_handle_t handle,
sys/arch/sparc/include/bus_defs.h
166
bus_space_handle_t handle,
sys/arch/sparc/include/bus_defs.h
171
bus_space_handle_t handle,
sys/arch/sparc/include/bus_defs.h
177
bus_space_handle_t handle,
sys/arch/sparc/include/bus_defs.h
183
bus_space_handle_t handle,
sys/arch/sparc/include/bus_defs.h
189
bus_space_handle_t handle,
sys/arch/sparc/sparc/machdep.c
2947
sparc_bus_subregion(bus_space_tag_t tag, bus_space_handle_t handle,
sys/arch/sparc/sparc/machdep.c
2952
*nhandlep = handle + offset;
sys/arch/sparc/sparc/mkclock.c
277
mk_clk_wenable(todr_chip_handle_t handle, int onoff)
sys/arch/sparc/sparc/msiiep.c
585
mspcic_bus_read_2(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/sparc/msiiep.c
588
uint16_t val = *(volatile uint16_t *)(handle + offset);
sys/arch/sparc/sparc/msiiep.c
595
mspcic_bus_read_4(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/sparc/msiiep.c
598
uint32_t val = *(volatile uint32_t *)(handle + offset);
sys/arch/sparc/sparc/msiiep.c
605
mspcic_bus_read_8(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/sparc/msiiep.c
608
uint64_t val = *(volatile uint64_t *)(handle + offset);
sys/arch/sparc/sparc/msiiep.c
615
mspcic_bus_write_2(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/sparc/msiiep.c
619
(*(volatile uint16_t *)(handle + offset)) = htole16(value);
sys/arch/sparc/sparc/msiiep.c
624
mspcic_bus_write_4(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/sparc/msiiep.c
628
(*(volatile uint32_t *)(handle + offset)) = htole32(value);
sys/arch/sparc/sparc/msiiep.c
633
mspcic_bus_write_8(bus_space_tag_t space, bus_space_handle_t handle,
sys/arch/sparc/sparc/msiiep.c
637
(*(volatile uint64_t *)(handle + offset)) = htole64(value);
sys/arch/sparc/sparc/openfirm.c
158
OF_getproplen(int handle, const char *prop)
sys/arch/sparc/sparc/openfirm.c
169
KASSERT(handle != 0);
sys/arch/sparc/sparc/openfirm.c
173
args.phandle = HDL2CELL(handle);
sys/arch/sparc/sparc/openfirm.c
181
OF_getprop(int handle, const char *prop, void *buf, int buflen)
sys/arch/sparc/sparc/openfirm.c
194
KASSERT(handle != 0);
sys/arch/sparc/sparc/openfirm.c
200
args.phandle = HDL2CELL(handle);
sys/arch/sparc/sparc/openfirm.c
210
OF_setprop(int handle, const char *prop, const void *buf, int buflen)
sys/arch/sparc/sparc/openfirm.c
228
args.phandle = HDL2CELL(handle);
sys/arch/sparc/sparc/openfirm.c
238
OF_nextprop(int handle, const char *prop, void *buf)
sys/arch/sparc/sparc/openfirm.c
253
args.phandle = HDL2CELL(handle);
sys/arch/sparc/sparc/openfirm.c
414
cell_t handle;
sys/arch/sparc/sparc/openfirm.c
426
return args.handle;
sys/arch/sparc/sparc/openfirm.c
430
OF_close(int handle)
sys/arch/sparc/sparc/openfirm.c
436
cell_t handle;
sys/arch/sparc/sparc/openfirm.c
442
args.handle = HDL2CELL(handle);
sys/arch/sparc/sparc/openfirm.c
493
OF_read(int handle, void *addr, int len)
sys/arch/sparc/sparc/openfirm.c
518
args.ihandle = HDL2CELL(handle);
sys/arch/sparc/sparc/openfirm.c
552
OF_write(int handle, const void *addr, int len)
sys/arch/sparc/sparc/openfirm.c
580
args.ihandle = HDL2CELL(handle);
sys/arch/sparc/sparc/openfirm.c
600
OF_seek(int handle, u_quad_t pos)
sys/arch/sparc/sparc/openfirm.c
606
cell_t handle;
sys/arch/sparc/sparc/openfirm.c
615
args.handle = HDL2CELL(handle);
sys/arch/sparc/sparc/promlib.c
223
obp_devhandle_lookup_device_call(devhandle_t handle, const char *name,
sys/arch/sparc/sparc/promlib.c
246
devhandle_t handle = { 0 };
sys/arch/sparc/sparc/promlib.c
249
handle.impl = super_handle.impl;
sys/arch/sparc/sparc/promlib.c
252
handle.impl = &obp_devhandle_impl;
sys/arch/sparc/sparc/promlib.c
254
handle.integer = node;
sys/arch/sparc/sparc/promlib.c
256
return handle;
sys/arch/sparc/sparc/promlib.c
260
devhandle_to_obp(devhandle_t const handle)
sys/arch/sparc/sparc/promlib.c
262
KASSERT(devhandle_type(handle) == DEVHANDLE_TYPE_OPENBOOT);
sys/arch/sparc/sparc/promlib.c
264
return handle.integer;
sys/arch/sparc/sparc/promlib.c
843
obp_v2_seek(int handle, u_quad_t offset)
sys/arch/sparc/sparc/promlib.c
849
(*obpvec->pv_v2devops.v2_seek)(handle, hi, lo);
sys/arch/sparc/stand/bootxx/promlib.c
89
obp_v2_seek(int handle, u_quad_t offset)
sys/arch/sparc/stand/bootxx/promlib.c
95
(*obpvec->pv_v2devops.v2_seek)(handle, hi, lo);
sys/arch/sparc/stand/ofwboot/Locore.c
178
OF_getprop(int handle, const char *prop, void *buf, int buflen)
sys/arch/sparc/stand/ofwboot/Locore.c
194
args.phandle = HDL2CELL(handle);
sys/arch/sparc/stand/ofwboot/Locore.c
205
OF_setprop(u_int handle, char *prop, void *buf, int len)
sys/arch/sparc/stand/ofwboot/Locore.c
221
args.phandle = HDL2CELL(handle);
sys/arch/sparc/stand/ofwboot/Locore.c
299
cell_t handle;
sys/arch/sparc/stand/ofwboot/Locore.c
307
args.handle == 0)
sys/arch/sparc/stand/ofwboot/Locore.c
309
return args.handle;
sys/arch/sparc/stand/ofwboot/Locore.c
313
OF_close(int handle)
sys/arch/sparc/stand/ofwboot/Locore.c
319
cell_t handle;
sys/arch/sparc/stand/ofwboot/Locore.c
325
args.handle = HDL2CELL(handle);
sys/arch/sparc/stand/ofwboot/Locore.c
330
OF_write(int handle, const void *addr, int len)
sys/arch/sparc/stand/ofwboot/Locore.c
345
args.ihandle = HDL2CELL(handle);
sys/arch/sparc/stand/ofwboot/Locore.c
354
OF_read(int handle, void *addr, int len)
sys/arch/sparc/stand/ofwboot/Locore.c
369
args.ihandle = HDL2CELL(handle);
sys/arch/sparc/stand/ofwboot/Locore.c
379
OF_seek(int handle, u_quad_t pos)
sys/arch/sparc/stand/ofwboot/Locore.c
385
cell_t handle;
sys/arch/sparc/stand/ofwboot/Locore.c
394
args.handle = HDL2CELL(handle);
sys/arch/sparc/stand/ofwboot/boot.c
106
int handle;
sys/arch/sparc/stand/ofwboot/netif_of.c
167
rv = prom_write(op->handle, pkt, sendlen);
sys/arch/sparc/stand/ofwboot/netif_of.c
201
len = prom_read(op->handle, pkt, maxlen);
sys/arch/sparc/stand/ofwboot/netif_of.c
95
_prom_getprop(prom_instance_to_package(op->handle),
sys/arch/sparc/stand/ofwboot/ofdev.c
160
if (prom_seek(dev->handle, pos) < 0)
sys/arch/sparc/stand/ofwboot/ofdev.c
165
n = prom_read(dev->handle, buf, size);
sys/arch/sparc/stand/ofwboot/ofdev.c
185
prom_close(op->handle);
sys/arch/sparc/stand/ofwboot/ofdev.c
186
op->handle = -1;
sys/arch/sparc/stand/ofwboot/ofdev.c
438
int handle, part, try = 0;
sys/arch/sparc/stand/ofwboot/ofdev.c
444
if (ofdev.handle != -1)
sys/arch/sparc/stand/ofwboot/ofdev.c
471
if ((handle = prom_finddevice(fname)) == -1)
sys/arch/sparc/stand/ofwboot/ofdev.c
474
if (_prom_getprop(handle, "name", b.buf, sizeof b.buf) < 0)
sys/arch/sparc/stand/ofwboot/ofdev.c
478
if (_prom_getprop(handle, "device_type", b.buf, sizeof b.buf) < 0)
sys/arch/sparc/stand/ofwboot/ofdev.c
490
handle = prom_open(fname);
sys/arch/sparc/stand/ofwboot/ofdev.c
491
if (handle != -1) {
sys/arch/sparc/stand/ofwboot/ofdev.c
492
OF_instance_to_path(handle, devname,
sys/arch/sparc/stand/ofwboot/ofdev.c
495
prom_close(handle);
sys/arch/sparc/stand/ofwboot/ofdev.c
514
if ((handle = prom_open(fname)) == -1) {
sys/arch/sparc/stand/ofwboot/ofdev.c
533
device_target_unit(fname, handle);
sys/arch/sparc/stand/ofwboot/ofdev.c
536
ofdev.handle = handle;
sys/arch/sparc/stand/ofwboot/ofdev.c
565
prom_close(handle);
sys/arch/sparc/stand/ofwboot/ofdev.c
566
if ((handle = prom_open(fname)) == -1) {
sys/arch/sparc/stand/ofwboot/ofdev.c
571
ofdev.handle = handle;
sys/arch/sparc/stand/ofwboot/ofdev.c
633
prom_close(handle);
sys/arch/sparc/stand/ofwboot/ofdev.c
634
ofdev.handle = -1;
sys/arch/sparc/stand/ofwboot/ofdev.h
37
int handle;
sys/arch/sparc/stand/ofwboot/openfirm.h
48
u_int OF_getprop(u_int handle, char *prop, void *buf, int buflen);
sys/arch/sparc/stand/ofwboot/openfirm.h
50
int OF_setprop(u_int handle, char *prop, void *buf, int len);
sys/arch/sparc/stand/ofwboot/openfirm.h
53
void OF_close(u_int handle);
sys/arch/sparc/stand/ofwboot/openfirm.h
54
int OF_write(u_int handle, void *addr, int len);
sys/arch/sparc/stand/ofwboot/openfirm.h
55
int OF_read(u_int handle, void *addr, int len);
sys/arch/sparc/stand/ofwboot/openfirm.h
56
int OF_seek(u_int handle, uint64_t pos);
sys/arch/sparc64/dev/fdc.c
486
bus_space_handle_t handle)
sys/arch/sparc64/dev/fdc.c
515
v = bus_space_read_1(tag, handle, FDREG77_DOR);
sys/arch/sparc64/dev/fdc.c
520
bus_space_write_1(tag, handle, FDREG77_DOR, FDC_250KBPS);
sys/arch/sparc64/dev/fdc.c
521
v = bus_space_read_1(tag, handle, FDREG77_DOR);
sys/arch/sparc64/dev/mkclock.c
271
mkclock_wenable(struct todr_chip_handle *handle, int onoff)
sys/arch/sparc64/dev/mkclock.c
273
struct mk48txx_softc *sc = device_private(handle->todr_dev);
sys/arch/sparc64/dev/vrtc.c
71
vrtc_gettime(todr_chip_handle_t handle, struct timeval *tv)
sys/arch/sparc64/dev/vrtc.c
84
vrtc_settime(todr_chip_handle_t handle, struct timeval *tv)
sys/arch/sparc64/include/pci_machdep.h
107
#define pci_intr_establish(pc, handle, level, func, arg) \
sys/arch/sparc64/include/pci_machdep.h
108
((pc)->spc_intr_establish(pc, handle, level, func, arg))
sys/arch/sparc64/sparc64/machdep.c
2337
sparc_bus_subregion(bus_space_tag_t tag, bus_space_handle_t handle,
sys/arch/sparc64/sparc64/machdep.c
2340
nhandlep->_ptr = handle._ptr + offset;
sys/arch/sparc64/sparc64/machdep.c
2341
nhandlep->_asi = handle._asi;
sys/arch/sparc64/sparc64/machdep.c
2342
nhandlep->_sasi = handle._sasi;
sys/arch/sparc64/sparc64/pmap.c
659
int size, handle;
sys/arch/sparc64/sparc64/pmap.c
661
if ( (handle = prom_finddevice(device)) == 0) {
sys/arch/sparc64/sparc64/pmap.c
666
if ( (size = OF_getproplen(handle, property)) < 0) {
sys/arch/sparc64/sparc64/pmap.c
675
if (OF_getprop(handle, property, va, size) <= 0) {
sys/arch/sun68k/sun68k/bus.c
599
sun68k_bus_subregion(bus_space_tag_t tag, bus_space_handle_t handle,
sys/arch/sun68k/sun68k/bus.c
603
*nhandlep = handle + offset;
sys/arch/sun68k/sun68k/bus.c
622
sun68k_bus_peek(bus_space_tag_t tag, bus_space_handle_t handle,
sys/arch/sun68k/sun68k/bus.c
639
bus_space_read_1(tag, handle, offset);
sys/arch/sun68k/sun68k/bus.c
643
bus_space_read_2(tag, handle, offset);
sys/arch/sun68k/sun68k/bus.c
647
bus_space_read_4(tag, handle, offset);
sys/arch/sun68k/sun68k/bus.c
660
sun68k_bus_poke(bus_space_tag_t tag, bus_space_handle_t handle,
sys/arch/sun68k/sun68k/bus.c
672
bus_space_write_1(tag, handle, offset, (uint8_t)v);
sys/arch/sun68k/sun68k/bus.c
675
bus_space_write_2(tag, handle, offset, (uint16_t)v);
sys/arch/sun68k/sun68k/bus.c
678
bus_space_write_4(tag, handle, offset, (uint32_t)v);
sys/arch/sun68k/sun68k/vme_sun68k.c
186
bus_space_handle_t handle;
sys/arch/sun68k/sun68k/vme_sun68k.c
195
0, 0, &handle);
sys/arch/sun68k/sun68k/vme_sun68k.c
203
error = _bus_space_peek(sc->sc_bustag, handle, off, size, NULL);
sys/arch/sun68k/sun68k/vme_sun68k.c
208
error = (*callback)(arg, sc->sc_bustag, handle);
sys/arch/sun68k/sun68k/vme_sun68k.c
211
bus_space_unmap(sc->sc_bustag, handle, len);
sys/arch/vax/vax/clock.c
161
vax_gettime(todr_chip_handle_t handle, struct timeval *tvp)
sys/arch/vax/vax/clock.c
163
tvp->tv_sec = handle->todr_base_time;
sys/arch/vax/vax/clock.c
168
vax_settime(todr_chip_handle_t handle, struct timeval *tvp)
sys/arch/x68k/include/bus.h
264
#define __X68K_BUS_ADDR(tag, handle, offset) \
sys/arch/x68k/include/bus.h
265
(((long)(handle) < 0 ? (offset) * 2 : (offset)) \
sys/arch/x68k/include/bus.h
266
+ ((handle) & 0x7fffffff))
sys/arch/x68k/stand/libdos/dos.h
111
unsigned char handle[12];
sys/arch/x86/pci/pci_intr_machdep.c
442
pci_intr_handle_t *handle;
sys/arch/x86/pci/pci_intr_machdep.c
447
handle = kmem_zalloc(sizeof(*handle), KM_SLEEP);
sys/arch/x86/pci/pci_intr_machdep.c
448
if (pci_intr_map(pa, handle) != 0) {
sys/arch/x86/pci/pci_intr_machdep.c
457
intrstr = x86_pci_intx_create_intrid(pa->pa_pc, *handle, intrstr_buf,
sys/arch/x86/pci/pci_intr_machdep.c
468
*pih = handle;
sys/arch/x86/pci/pci_intr_machdep.c
472
kmem_free(handle, sizeof(*handle));
sys/arch/x86/x86/mp.c
187
intr_find_mpmapping(int bus, int pin, intr_handle_t *handle)
sys/arch/x86/x86/mp.c
191
while (intr_scan_bus(bus, pin, handle) != 0) {
sys/arch/x86/x86/mp.c
206
return intr_scan_bus(bus, pin, handle);
sys/arch/x86/x86/mp.c
211
intr_scan_bus(int bus, int pin, intr_handle_t *handle)
sys/arch/x86/x86/mp.c
229
*handle = mip->ioapic_ih;
sys/arch/x86/x86/mpbios.c
254
mpbios_map(paddr_t pa, int len, struct mp_map *handle)
sys/arch/x86/x86/mpbios.c
261
handle->pa = pa;
sys/arch/x86/x86/mpbios.c
262
handle->pg = pgpa;
sys/arch/x86/x86/mpbios.c
263
handle->psize = len;
sys/arch/x86/x86/mpbios.c
264
handle->baseva = va;
sys/arch/x86/x86/mpbios.c
265
handle->vsize = endpa-pgpa;
sys/arch/x86/x86/mpbios.c
278
mpbios_unmap(struct mp_map *handle)
sys/arch/x86/x86/mpbios.c
280
pmap_kremove(handle->baseva, handle->vsize);
sys/arch/x86/x86/mpbios.c
282
uvm_km_free(kernel_map, handle->baseva, handle->vsize, UVM_KMF_VAONLY);
sys/arch/x86/x86/nmi.c
104
KASSERT(handle != NULL);
sys/arch/x86/x86/nmi.c
112
if (n == handle) {
sys/arch/x86/x86/nmi.c
120
panic("%s: invalid handle %p", __func__, handle);
sys/arch/x86/x86/nmi.c
99
nmi_disestablish(nmi_handler_t *handle)
sys/arch/x86/x86/pmap.c
5578
unmap_op.handle = op->handle;
sys/arch/xen/include/xenring.h
39
blkif_vdev_t handle; /* only for read/write requests */
sys/arch/xen/include/xenring.h
60
blkif_vdev_t handle; /* only for read/write requests */
sys/arch/xen/include/xenring.h
72
blkif_vdev_t handle; /* only for read/write requests */
sys/arch/xen/include/xenring.h
93
blkif_vdev_t handle; /* only for read/write requests */
sys/arch/xen/x86/xen_shm_machdep.c
121
handlep[i] = op[i].handle;
sys/arch/xen/x86/xen_shm_machdep.c
143
unop[uncnt].handle = handlep[i];
sys/arch/xen/x86/xen_shm_machdep.c
203
op[i].handle = handlep[i];
sys/arch/xen/xen/privcmd.c
705
obj->u.gr.ops[i].handle = -1;
sys/arch/xen/xen/privcmd.c
946
op.handle = -1;
sys/arch/xen/xen/privcmd.c
962
uop.handle = op.handle;
sys/arch/xen/xen/xbd_xenbus.c
1077
req->handle = sc->sc_handle;
sys/arch/xen/xen/xbd_xenbus.c
1282
req->handle = sc->sc_handle;
sys/arch/xen/xen/xbd_xenbus.c
1285
req->handle));
sys/arch/xen/xen/xbd_xenbus.c
1344
req->handle = sc->sc_handle;
sys/arch/xen/xen/xbd_xenbus.c
1347
req->handle));
sys/arch/xen/xen/xbdback_xenbus.c
1201
req->handle = reqn->handle;
sys/arch/xen/xen/xbdback_xenbus.c
1226
req->handle = req32->handle;
sys/arch/xen/xen/xbdback_xenbus.c
1251
req->handle = req64->handle;
sys/arch/xen/xen/xbdback_xenbus.c
321
long domid, handle;
sys/arch/xen/xen/xbdback_xenbus.c
347
handle = strtoul(&xbusd->xbusd_path[i+1], &ep, 10);
sys/arch/xen/xen/xbdback_xenbus.c
357
xbdi->xbdi_handle = handle;
sys/arch/xen/xen/xbdback_xenbus.c
362
if (xbdif_lookup(domid, handle)) {
sys/arch/xen/xen/xbdback_xenbus.c
894
xbdif_lookup(domid_t dom , uint32_t handle)
sys/arch/xen/xen/xbdback_xenbus.c
902
if (xbdi->xbdi_domid == dom && xbdi->xbdi_handle == handle) {
sys/arch/xen/xen/xennetback_xenbus.c
174
long domid, handle;
sys/arch/xen/xen/xennetback_xenbus.c
189
"handle", &handle, 10)) != 0) {
sys/arch/xen/xen/xennetback_xenbus.c
197
xneti->xni_handle = handle;
sys/arch/xen/xen/xennetback_xenbus.c
202
if (xnetif_lookup(domid, handle)) {
sys/arch/xen/xen/xennetback_xenbus.c
217
(int)domid, (int)handle);
sys/arch/xen/xen/xennetback_xenbus.c
578
xnetif_lookup(domid_t dom , uint32_t handle)
sys/arch/xen/xen/xennetback_xenbus.c
586
if (xneti->xni_domid == dom && xneti->xni_handle == handle) {
sys/arch/xen/xenbus/xenbus_dev.c
117
struct xenbus_transaction *handle;
sys/arch/xen/xenbus/xenbus_dev.c
293
trans->handle = (struct xenbus_transaction *)
sys/arch/xen/xenbus/xenbus_dev.c
300
if ((unsigned long)trans->handle ==
sys/arch/xen/xenbus/xenbus_dev.c
429
xenbus_transaction_end(trans->handle, 1);
sys/arch/xen/xenbus/xenbus_xs.c
652
if (msg->u.watch.handle != watch)
sys/arch/xen/xenbus/xenbus_xs.c
705
msg->u.watch.handle->xbw_callback(
sys/arch/xen/xenbus/xenbus_xs.c
706
msg->u.watch.handle,
sys/arch/xen/xenbus/xenbus_xs.c
71
struct xenbus_watch *handle;
sys/arch/xen/xenbus/xenbus_xs.c
760
msg->u.watch.handle = find_watch(
sys/arch/xen/xenbus/xenbus_xs.c
762
found = (msg->u.watch.handle != NULL);
sys/arch/xen/xenbus/xenbus_xs.c
768
if (s_msg->u.watch.handle == msg->u.watch.handle) {
sys/compat/netbsd32/netbsd32_drm.c
184
netbsd32_pointer_t handle;/**< User-space: "Handle" to pass to mmap() */
sys/compat/netbsd32/netbsd32_drm.c
195
m64->handle = NETBSD32PTR64(m32->handle);
sys/compat/netbsd32/netbsd32_drm.c
206
NETBSD32PTR32(m32->handle, m64->handle);
sys/compat/netbsd32/netbsd32_drm.c
450
netbsd32_pointer_t handle; /**< Handle of map */
sys/compat/netbsd32/netbsd32_drm.c
464
req64.handle = NETBSD32PTR64(req32.handle);
sys/compat/netbsd32/netbsd32_drm.c
471
NETBSD32PTR32(req32.handle, req64.handle);
sys/compat/netbsd32/netbsd32_drm.c
492
NETBSD32PTR32(req32.handle, req64.handle);
sys/compat/netbsd32/netbsd32_drm.c
649
uint32_t handle; /**< Used for binding / unbinding */
sys/compat/netbsd32/netbsd32_drm.c
671
req32.handle = req64.handle;
sys/compat/netbsd32/netbsd32_drm.c
685
uint32_t handle;
sys/compat/netbsd32/netbsd32_drm.c
690
handle = req32.handle;
sys/compat/netbsd32/netbsd32_drm.c
691
req64.handle = handle;
sys/compat/netbsd32/netbsd32_drm.c
697
uint32_t handle; /**< From drm_agp_buffer */
sys/compat/netbsd32/netbsd32_drm.c
711
req64.handle = req32.handle;
sys/compat/netbsd32/netbsd32_drm.c
722
uint32_t handle;
sys/compat/netbsd32/netbsd32_drm.c
728
handle = req32.handle;
sys/compat/netbsd32/netbsd32_drm.c
729
req64.handle = handle;
sys/compat/netbsd32/netbsd32_drm.c
737
uint32_t handle; /**< Used for mapping / unmapping */
sys/compat/netbsd32/netbsd32_drm.c
757
req32.handle = req64.handle >> PAGE_SHIFT;
sys/compat/netbsd32/netbsd32_drm.c
773
x = req32.handle;
sys/compat/netbsd32/netbsd32_drm.c
774
req64.handle = x << PAGE_SHIFT;
sys/compat/netbsd32/netbsd32_drm.c
781
drm_drawable_t handle;
sys/compat/netbsd32/netbsd32_drm.c
791
req64->handle = update32->handle;
sys/dev/acpi/acpi.c
1298
acpi_notify_handler(ACPI_HANDLE handle, uint32_t event, void *aux)
sys/dev/acpi/acpi.c
1333
"%s (%p)\n", event, acpi_name(handle), handle));
sys/dev/acpi/acpi.c
1349
if (ad->ad_handle != handle)
sys/dev/acpi/acpi.c
1358
"for %s (%p)\n", event, acpi_name(handle), handle);
sys/dev/acpi/acpi.c
2069
acpi_device_present(ACPI_HANDLE handle)
sys/dev/acpi/acpi.c
2074
rv = acpi_eval_integer(handle, "_STA", &sta);
sys/dev/acpi/acpi.c
2121
acpi_activate_device(ACPI_HANDLE handle, ACPI_DEVICE_INFO **di)
sys/dev/acpi/acpi.c
2140
if (!acpi_device_present(handle))
sys/dev/acpi/acpi.c
2143
rv = acpi_allocate_resources(handle);
sys/dev/acpi/acpi.c
2148
rv = AcpiGetObjectInfo(handle, &newdi);
sys/dev/acpi/acpi.c
2170
acpi_allocate_resources(ACPI_HANDLE handle)
sys/dev/acpi/acpi.c
2181
rv = acpi_get(handle, &bufp, AcpiGetPossibleResources);
sys/dev/acpi/acpi.c
2184
rv = acpi_get(handle, &bufc, AcpiGetCurrentResources);
sys/dev/acpi/acpi.c
2261
rv = AcpiSetCurrentResources(handle, &bufn);
sys/dev/acpi/acpi.c
871
acpi_make_devnode(ACPI_HANDLE handle, uint32_t level,
sys/dev/acpi/acpi.c
881
rv = AcpiGetObjectInfo(handle, &devinfo);
sys/dev/acpi/acpi.c
891
acpi_activate_device(handle, &devinfo);
sys/dev/acpi/acpi.c
906
ad->ad_handle = handle;
sys/dev/acpi/acpi.c
944
acpi_make_devnode_post(ACPI_HANDLE handle, uint32_t level,
sys/dev/acpi/acpi.c
952
if (handle == awc->aw_parent->ad_handle)
sys/dev/acpi/acpi_acad.c
217
acpiacad_notify_handler(ACPI_HANDLE handle, uint32_t notify, void *context)
sys/dev/acpi/acpi_bat.c
675
acpibat_notify_handler(ACPI_HANDLE handle, uint32_t notify, void *context)
sys/dev/acpi/acpi_button.c
184
acpibut_notify_handler(ACPI_HANDLE handle, uint32_t notify, void *context)
sys/dev/acpi/acpi_cppc.c
118
ACPI_HANDLE handle;
sys/dev/acpi/acpi_cppc.c
124
rv = AcpiGetHandle(aa->aa_node->ad_handle, "_CPC", &handle);
sys/dev/acpi/acpi_cppc.c
142
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/dev/acpi/acpi_cppc.c
146
ci = acpi_match_cpu_handle(handle);
sys/dev/acpi/acpi_cppc.c
154
sc->sc_handle = handle;
sys/dev/acpi/acpi_display.c
2103
acpidisp_has_method(ACPI_HANDLE handle, const char *path, ACPI_OBJECT_TYPE type)
sys/dev/acpi/acpi_display.c
2108
KASSERT(handle != NULL);
sys/dev/acpi/acpi_display.c
2110
if (ACPI_FAILURE(AcpiGetHandle(handle, path, &hdl)))
sys/dev/acpi/acpi_display.c
2129
acpidisp_eval_package(ACPI_HANDLE handle, const char *path, ACPI_OBJECT **pkg,
sys/dev/acpi/acpi_display.c
2136
rv = acpi_eval_struct(handle, path, &buf);
sys/dev/acpi/acpi_display.c
445
acpidisp_notify(ACPI_HANDLE handle, uint32_t notify)
sys/dev/acpi/acpi_display.c
453
(*adn->adn_func)(handle, notify, adn->adn_cookie);
sys/dev/acpi/acpi_display.c
911
acpidisp_vga_notify_handler(ACPI_HANDLE handle, uint32_t notify,
sys/dev/acpi/acpi_display.c
941
acpidisp_notify(handle, notify);
sys/dev/acpi/acpi_display.c
945
acpidisp_out_notify_handler(ACPI_HANDLE handle, uint32_t notify,
sys/dev/acpi/acpi_event.c
119
acpi_event_create_gpio(device_t dev, ACPI_HANDLE handle,
sys/dev/acpi/acpi_event.c
125
ctx.ctx_handle = handle;
sys/dev/acpi/acpi_event.c
129
return AcpiWalkResources(handle, "_AEI", acpi_event_gpio_resource_cb, &ctx);
sys/dev/acpi/acpi_event.c
133
acpi_event_create_int(device_t dev, ACPI_HANDLE handle,
sys/dev/acpi/acpi_event.c
142
rv = acpi_resource_parse(dev, handle, "_CRS", &res,
sys/dev/acpi/acpi_event.c
148
rv = acpi_event_create(dev, handle, irq->ar_irq, irq->ar_type, &ev);
sys/dev/acpi/acpi_event.c
61
acpi_event_create(device_t dev, ACPI_HANDLE handle, UINT16 data, UINT8 trig, struct acpi_event **pev)
sys/dev/acpi/acpi_event.c
77
AcpiGetHandle(handle, namebuf, &ev->ev_method);
sys/dev/acpi/acpi_event.c
79
if (ev->ev_method == NULL && ACPI_SUCCESS(AcpiGetHandle(handle, "_EVT", &ev->ev_method)))
sys/dev/acpi/acpi_event.c
84
acpi_name(handle), data, trigchar);
sys/dev/acpi/acpi_ged.c
72
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/dev/acpi/acpi_ged.c
74
if (ACPI_FAILURE(acpi_event_create_int(self, handle, acpi_ged_register_event, self)))
sys/dev/acpi/acpi_hed.c
110
acpihed_notify(ACPI_HANDLE handle, uint32_t event, void *cookie)
sys/dev/acpi/acpi_lid.c
154
acpilid_notify_handler(ACPI_HANDLE handle, uint32_t notify, void *context)
sys/dev/acpi/acpi_mcfg.c
223
acpimcfg_check_system_resource(ACPI_HANDLE handle, UINT32 level, void *ctx,
sys/dev/acpi/acpi_mcfg.c
229
status = AcpiWalkResources(handle, "_CRS", acpimcfg_parse_callback, mr);
sys/dev/acpi/acpi_mcfg.c
779
acpimcfg_configure_bus(device_t self, pci_chipset_tag_t pc, ACPI_HANDLE handle,
sys/dev/acpi/acpi_mcfg.c
840
rv = AcpiWalkResources(handle, "_CRS", acpimcfg_configure_bus_cb,
sys/dev/acpi/acpi_mcfg.c
887
acpimcfg_configure_bus(device_t self, pci_chipset_tag_t pc, ACPI_HANDLE handle,
sys/dev/acpi/acpi_pci.c
103
acpi_pcidev_pciroot_bus(ACPI_HANDLE handle, uint16_t *busp)
sys/dev/acpi/acpi_pci.c
114
rv = AcpiWalkResources(handle, "_CRS",
sys/dev/acpi/acpi_pci_link.c
1123
acpi_pci_link_devbyhandle(ACPI_HANDLE handle)
sys/dev/acpi/acpi_pci_link.c
1128
if (sc->pl_handle == handle)
sys/dev/acpi/acpi_pci_link.c
1133
sc->pl_handle = handle;
sys/dev/acpi/acpi_resource.c
409
acpi_resource_parse(device_t dev, ACPI_HANDLE handle, const char *path,
sys/dev/acpi/acpi_resource.c
425
rv = AcpiWalkResources(handle, path, acpi_resource_parse_callback,
sys/dev/acpi/acpi_resource.c
447
acpi_resource_parse_any(device_t dev, ACPI_HANDLE handle, const char *path,
sys/dev/acpi/acpi_resource.c
463
rv = AcpiWalkResources(handle, path, acpi_resource_parse_callback,
sys/dev/acpi/acpi_tz.c
654
ACPI_HANDLE handle;
sys/dev/acpi/acpi_tz.c
658
handle = sc->sc_node->ad_handle;
sys/dev/acpi/acpi_tz.c
660
rv = acpi_eval_integer(handle, "FMIN", &fmin);
sys/dev/acpi/acpi_tz.c
667
rv = acpi_eval_integer(handle, "FMAX", &fmax);
sys/dev/acpi/acpi_tz.c
673
rv = acpi_eval_integer(handle, "FRSP", &fcurr);
sys/dev/acpi/acpi_tz.c
697
ACPI_HANDLE handle;
sys/dev/acpi/acpi_tz.c
700
handle = sc->sc_node->ad_handle;
sys/dev/acpi/acpi_tz.c
702
rv = acpi_eval_set_integer(handle, "FSSP", fanspeed);
sys/dev/acpi/acpi_tz.c
716
ACPI_HANDLE handle = sc->sc_node->ad_handle;
sys/dev/acpi/acpi_tz.c
724
rv = acpi_eval_struct(handle, "_PSL", &buf);
sys/dev/acpi/acpi_usb.c
54
acpi_usb_post_reset(ACPI_HANDLE handle)
sys/dev/acpi/acpi_usb.c
64
(void)acpi_dsm(handle, ehci_acpi_dsm_uuid, 0, 1, NULL, NULL);
sys/dev/acpi/acpi_util.c
104
acpi_devhandle_lookup_device_call(devhandle_t handle, const char *name,
sys/dev/acpi/acpi_util.c
1183
acpi_dsd_property(ACPI_HANDLE handle, const char *prop, ACPI_BUFFER *pbuf, ACPI_OBJECT_TYPE type, ACPI_OBJECT **ret)
sys/dev/acpi/acpi_util.c
1189
rv = AcpiEvaluateObjectTyped(handle, "_DSD", NULL, pbuf, ACPI_TYPE_PACKAGE);
sys/dev/acpi/acpi_util.c
1230
acpi_dsd_integer(ACPI_HANDLE handle, const char *prop, ACPI_INTEGER *val)
sys/dev/acpi/acpi_util.c
1239
rv = acpi_dsd_property(handle, prop, &buf, ACPI_TYPE_INTEGER, &propval);
sys/dev/acpi/acpi_util.c
1249
acpi_dsd_string(ACPI_HANDLE handle, const char *prop, char **val)
sys/dev/acpi/acpi_util.c
1258
rv = acpi_dsd_property(handle, prop, &buf, ACPI_TYPE_STRING, &propval);
sys/dev/acpi/acpi_util.c
1268
acpi_dsd_bool(ACPI_HANDLE handle, const char *prop, bool *val)
sys/dev/acpi/acpi_util.c
127
devhandle_t handle = { 0 };
sys/dev/acpi/acpi_util.c
1273
rv = acpi_dsd_integer(handle, prop, &ival);
sys/dev/acpi/acpi_util.c
1287
acpi_dsm_typed(ACPI_HANDLE handle, uint8_t *uuid, ACPI_INTEGER rev,
sys/dev/acpi/acpi_util.c
130
handle.impl = super_handle.impl;
sys/dev/acpi/acpi_util.c
1321
status = AcpiEvaluateObject(handle, "_DSM", &arg, NULL);
sys/dev/acpi/acpi_util.c
1324
status = AcpiEvaluateObjectTyped(handle, "_DSM", &arg, &buf,
sys/dev/acpi/acpi_util.c
133
handle.impl = &acpi_devhandle_impl;
sys/dev/acpi/acpi_util.c
1339
acpi_dsm_integer(ACPI_HANDLE handle, uint8_t *uuid, ACPI_INTEGER rev,
sys/dev/acpi/acpi_util.c
1345
status = acpi_dsm_typed(handle, uuid, rev, func, arg3,
sys/dev/acpi/acpi_util.c
135
handle.pointer = hdl;
sys/dev/acpi/acpi_util.c
1358
acpi_dsm(ACPI_HANDLE handle, uint8_t *uuid, ACPI_INTEGER rev,
sys/dev/acpi/acpi_util.c
1361
return acpi_dsm_typed(handle, uuid, rev, func, arg3, ACPI_TYPE_ANY,
sys/dev/acpi/acpi_util.c
1366
acpi_dsm_query(ACPI_HANDLE handle, uint8_t *uuid, ACPI_INTEGER rev,
sys/dev/acpi/acpi_util.c
137
return handle;
sys/dev/acpi/acpi_util.c
1374
status = acpi_dsm(handle, uuid, rev, 0, NULL, &obj);
sys/dev/acpi/acpi_util.c
141
devhandle_to_acpi(devhandle_t const handle)
sys/dev/acpi/acpi_util.c
143
KASSERT(devhandle_type(handle) == DEVHANDLE_TYPE_ACPI);
sys/dev/acpi/acpi_util.c
145
return handle.pointer;
sys/dev/acpi/acpi_util.c
178
ACPI_HANDLE handle = devhandle_to_acpi(call_handle);
sys/dev/acpi/acpi_util.c
185
rv = AcpiGetName(handle, ACPI_FULL_PATHNAME, &buf);
sys/dev/acpi/acpi_util.c
362
acpi_eval_integer(ACPI_HANDLE handle, const char *path, ACPI_INTEGER *valp)
sys/dev/acpi/acpi_util.c
368
if (handle == NULL)
sys/dev/acpi/acpi_util.c
369
handle = ACPI_ROOT_OBJECT;
sys/dev/acpi/acpi_util.c
375
rv = AcpiEvaluateObject(handle, path, NULL, &buf);
sys/dev/acpi/acpi_util.c
397
acpi_eval_set_integer(ACPI_HANDLE handle, const char *path, ACPI_INTEGER val)
sys/dev/acpi/acpi_util.c
402
if (handle == NULL)
sys/dev/acpi/acpi_util.c
403
handle = ACPI_ROOT_OBJECT;
sys/dev/acpi/acpi_util.c
411
return AcpiEvaluateObject(handle, path, &arg, NULL);
sys/dev/acpi/acpi_util.c
418
acpi_eval_string(ACPI_HANDLE handle, const char *path, char **stringp)
sys/dev/acpi/acpi_util.c
424
rv = acpi_eval_struct(handle, path, &buf);
sys/dev/acpi/acpi_util.c
462
acpi_eval_struct(ACPI_HANDLE handle, const char *path, ACPI_BUFFER *buf)
sys/dev/acpi/acpi_util.c
465
if (handle == NULL)
sys/dev/acpi/acpi_util.c
466
handle = ACPI_ROOT_OBJECT;
sys/dev/acpi/acpi_util.c
471
return AcpiEvaluateObject(handle, path, NULL, buf);
sys/dev/acpi/acpi_util.c
478
acpi_eval_reference_handle(ACPI_OBJECT *elm, ACPI_HANDLE *handle)
sys/dev/acpi/acpi_util.c
481
if (elm == NULL || handle == NULL)
sys/dev/acpi/acpi_util.c
492
*handle = elm->Reference.Handle;
sys/dev/acpi/acpi_util.c
497
return AcpiGetHandle(NULL, elm->String.Pointer, handle);
sys/dev/acpi/acpi_util.c
538
acpi_get(ACPI_HANDLE handle, ACPI_BUFFER *buf,
sys/dev/acpi/acpi_util.c
545
return (*getit)(handle, buf);
sys/dev/acpi/acpi_util.c
556
acpi_name(ACPI_HANDLE handle)
sys/dev/acpi/acpi_util.c
562
if (handle == NULL)
sys/dev/acpi/acpi_util.c
563
handle = ACPI_ROOT_OBJECT;
sys/dev/acpi/acpi_util.c
568
rv = AcpiGetName(handle, ACPI_FULL_PATHNAME, &buf);
sys/dev/acpi/acpi_util.c
694
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/dev/acpi/acpi_util.c
705
ret = acpi_dsd_string(handle, "compatible", &compatible);
sys/dev/acpi/acpi_util.c
714
ret = acpi_dsd_property(handle, "compatible", &buf,
sys/dev/acpi/acpi_util.c
884
acpi_match_class(ACPI_HANDLE handle, uint8_t pci_class, uint8_t pci_subclass,
sys/dev/acpi/acpi_util.c
892
rv = acpi_eval_struct(handle, "_CLS", &buf);
sys/dev/acpi/acpi_util.c
920
acpi_match_node(ACPI_HANDLE handle)
sys/dev/acpi/acpi_util.c
925
if (handle == NULL)
sys/dev/acpi/acpi_util.c
928
rv = AcpiGetData(handle, acpi_clean_node, (void **)&ad);
sys/dev/acpi/acpi_util.c
946
acpi_clean_node(ACPI_HANDLE handle, void *aux)
sys/dev/acpi/acpi_util.h
77
ACPI_STATUS acpi_eval_set_integer(ACPI_HANDLE handle, const char *path,
sys/dev/acpi/acpi_util.h
88
struct acpi_devnode *acpi_match_node(ACPI_HANDLE handle);
sys/dev/acpi/dwcmmc_acpi.c
129
if (dwcmmc_acpi_init_props(sc, handle) != 0) {
sys/dev/acpi/dwcmmc_acpi.c
137
ih = acpi_intr_establish(self, (uint64_t)(uintptr_t)handle, IPL_NET,
sys/dev/acpi/dwcmmc_acpi.c
149
dwcmmc_acpi_init_props(struct dwc_mmc_softc *sc, ACPI_HANDLE handle)
sys/dev/acpi/dwcmmc_acpi.c
160
if (ACPI_SUCCESS(acpi_dsd_integer(handle, "fifo-depth", &ival))) {
sys/dev/acpi/dwcmmc_acpi.c
163
if (ACPI_SUCCESS(acpi_dsd_integer(handle, "max-frequency", &ival))) {
sys/dev/acpi/dwcmmc_acpi.c
166
if (ACPI_SUCCESS(acpi_dsd_integer(handle, "bus-width", &ival))) {
sys/dev/acpi/dwcmmc_acpi.c
170
acpi_dsd_bool(handle, "non-removable", &bval);
sys/dev/acpi/dwcmmc_acpi.c
175
acpi_dsd_bool(handle, "broken-cd", &bval);
sys/dev/acpi/dwcmmc_acpi.c
85
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/dev/acpi/dwcmmc_acpi.c
95
rv = acpi_resource_parse(sc->sc_dev, handle, "_CRS",
sys/dev/acpi/dwcwdt_acpi.c
64
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/dev/acpi/dwcwdt_acpi.c
70
rv = acpi_resource_parse(sc->sc_dev, handle, "_CRS",
sys/dev/acpi/dwcwdt_acpi.c
89
if (ACPI_SUCCESS(acpi_dsd_integer(handle, "clock-frequency", &ival))) {
sys/dev/acpi/dwiic_acpi.c
139
dwiic_acpi_parse_param(struct dwiic_softc *sc, ACPI_HANDLE handle, const char *path,
sys/dev/acpi/dwiic_acpi.c
147
if (ACPI_FAILURE(acpi_eval_struct(handle, path, &buf)))
sys/dev/acpi/dwiic_acpi.c
163
dwiic_acpi_configure(struct dwiic_softc *sc, ACPI_HANDLE handle)
sys/dev/acpi/dwiic_acpi.c
167
dwiic_acpi_parse_param(sc, handle, "SSCN", &sscn);
sys/dev/acpi/dwiic_acpi.c
171
dwiic_acpi_parse_param(sc, handle, "FMCN", &fmcn);
sys/dev/acpi/eqos_acpi.c
120
eqos_acpi_init_props(sc, handle);
sys/dev/acpi/eqos_acpi.c
126
ih = acpi_intr_establish(self, (uint64_t)(uintptr_t)handle, IPL_NET,
sys/dev/acpi/eqos_acpi.c
138
eqos_acpi_init_props(struct eqos_softc *sc, ACPI_HANDLE handle)
sys/dev/acpi/eqos_acpi.c
153
rv = acpi_dsd_integer(handle, "snps,mixed-burst", &ival);
sys/dev/acpi/eqos_acpi.c
157
rv = acpi_dsd_integer(handle, "snps,tso", &ival);
sys/dev/acpi/eqos_acpi.c
163
rv = acpi_dsd_string(handle, "snps,axi-config", &sval);
sys/dev/acpi/eqos_acpi.c
165
rv = AcpiGetHandle(handle, sval, &axi);
sys/dev/acpi/eqos_acpi.c
81
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/dev/acpi/eqos_acpi.c
91
rv = acpi_resource_parse(sc->sc_dev, handle, "_CRS",
sys/dev/acpi/fujbp_acpi.c
311
fujitsu_bp_notify_handler(ACPI_HANDLE handle, uint32_t evt, void *context)
sys/dev/acpi/fujbp_acpi.c
632
fujitsu_bp_cap(ACPI_HANDLE handle, const char *path, ACPI_OBJECT_TYPE type)
sys/dev/acpi/fujbp_acpi.c
637
KASSERT(handle != NULL);
sys/dev/acpi/fujbp_acpi.c
639
if (ACPI_FAILURE(AcpiGetHandle(handle, path, &hdl)))
sys/dev/acpi/fujhk_acpi.c
222
fujitsu_hk_notify_handler(ACPI_HANDLE handle, uint32_t evt, void *context)
sys/dev/acpi/fujhk_acpi.c
433
fujitsu_hk_cap(ACPI_HANDLE handle, const char *path, ACPI_OBJECT_TYPE type)
sys/dev/acpi/fujhk_acpi.c
438
KASSERT(handle != NULL);
sys/dev/acpi/fujhk_acpi.c
440
if (ACPI_FAILURE(AcpiGetHandle(handle, path, &hdl)))
sys/dev/acpi/fujhk_acpi.c
461
fujitsu_hk_eval_nary_integer(ACPI_HANDLE handle, const char *path, const
sys/dev/acpi/fujhk_acpi.c
476
if (handle == NULL)
sys/dev/acpi/fujhk_acpi.c
477
handle = ACPI_ROOT_OBJECT;
sys/dev/acpi/fujhk_acpi.c
493
rv = AcpiEvaluateObject(handle, path, ¶mlist, &buf);
sys/dev/acpi/genet_acpi.c
115
rv = acpi_dsd_string(handle, "phy-mode", &phy_mode);
sys/dev/acpi/genet_acpi.c
138
ih = acpi_intr_establish(self, (uint64_t)(uintptr_t)handle, IPL_NET,
sys/dev/acpi/genet_acpi.c
76
ACPI_HANDLE handle = aa->aa_node->ad_handle;
sys/dev/acpi/genet_acpi.c
87
rv = acpi_resource_parse(sc->sc_dev, handle, "_CRS",
sys/dev/acpi/pckbc_acpi.c
224
ACPI_HANDLE handle;
sys/dev/acpi/pckbc_acpi.c
234
handle = psc->sc_handle;
sys/dev/acpi/pckbc_acpi.c
242
rv = acpi_intr_establish(sc->sc_dv, (uint64_t)(uintptr_t)handle,
sys/dev/acpi/sony_acpi.c
201
sony_acpi_eval_set_integer(ACPI_HANDLE handle, const char *path,
sys/dev/acpi/sony_acpi.c
209
if (handle == NULL)
sys/dev/acpi/sony_acpi.c
210
handle = ACPI_ROOT_OBJECT;
sys/dev/acpi/sony_acpi.c
221
rv = AcpiEvaluateObjectTyped(handle, path, ¶ms, &buf,
sys/dev/acpi/thinkpad_acpi.c
1010
ACPI_HANDLE handle = sc->sc_node->ad_handle;
sys/dev/acpi/thinkpad_acpi.c
1026
rv = AcpiEvaluateObjectTyped(handle, path, &arg_list, &buf,
sys/dev/acpi/thinkpad_acpi.c
1031
acpi_name(handle), path, (unsigned)arg,
sys/dev/acpi/vald_acpi.c
248
vald_acpi_notify_handler(ACPI_HANDLE handle, uint32_t notify, void *context)
sys/dev/acpi/vald_acpi.c
426
vald_acpi_libright_get_bus(ACPI_HANDLE handle, uint32_t level,
sys/dev/acpi/vald_acpi.c
435
rv = acpi_eval_struct(handle, "_BCL", &buf);
sys/dev/acpi/vald_acpi.c
439
sc->lcd_handle = handle;
sys/dev/acpi/vald_acpi.c
634
vald_acpi_bcm_set(ACPI_HANDLE handle, uint32_t bright)
sys/dev/acpi/vald_acpi.c
646
rv = AcpiEvaluateObject(handle, "_BCM", &ArgList, NULL);
sys/dev/acpi/valz_acpi.c
315
valz_acpi_notify_handler(ACPI_HANDLE handle, uint32_t notify, void *context)
sys/dev/cardbus/cardbus_exrom.c
158
bus_space_handle_t handle,
sys/dev/cardbus/cardbus_exrom.c
163
bus_space_read_region_1(tag, handle, dataptr, hdr, sizeof(hdr));
sys/dev/cardbus/cardbus_exrom.c
178
bus_space_read_region_1(tag, handle, dataptr + 0x18 + offset,
sys/dev/cardbus/cardbus_map.c
235
bus_space_handle_t handle;
sys/dev/cardbus/cardbus_map.c
269
size, busflags | flags, &base, &handle)) {
sys/dev/cardbus/cardbus_map.c
281
*handlep = handle;
sys/dev/cardbus/cardbus_map.c
311
cardbus_mapreg_unmap(struct cardbus_softc *sc, int func, int reg, bus_space_tag_t tag, bus_space_handle_t handle, bus_size_t size)
sys/dev/cardbus/cardbus_map.c
335
(*cf->cardbus_space_free)(cc, rbustag, handle, size);
sys/dev/cardbus/cardbusvar.h
289
#define Cardbus_mapreg_unmap(ct, reg, tag, handle, size) \
sys/dev/cardbus/cardbusvar.h
290
cardbus_mapreg_unmap((ct)->ct_sc, (ct->ct_func), (reg), (tag), (handle), (size))
sys/dev/cardbus/rbus_ppb.c
227
bus_space_handle_t handle;
sys/dev/cardbus/rbus_ppb.c
299
&handle) != 0) {
sys/dev/cardbus/rbus_ppb.c
318
&handle) != 0) {
sys/dev/cardbus/rbus_ppb.c
356
&handle) != 0) {
sys/dev/cardbus/rbus_ppb.c
393
&handle) != 0) {
sys/dev/cardbus/rbus_ppb.c
521
bus_space_handle_t handle;
sys/dev/cardbus/rbus_ppb.c
560
addr, &handle)) {
sys/dev/hpc/hpciovar.h
68
#define hpcio_intr_disestablish(hc, handle) \
sys/dev/hpc/hpciovar.h
69
((*(hc)->hc_intr_disestablish)((hc), (handle)))
sys/dev/hpc/hpciovar.h
70
#define hpcio_intr_clear(hc, handle) \
sys/dev/hpc/hpciovar.h
71
((*(hc)->hc_intr_clear)((hc), (handle)))
sys/dev/hyperv/vmbus.c
2052
uint32_t buflen, uint32_t *handle)
sys/dev/hyperv/vmbus.c
2106
*handle = atomic_inc_32_nv(&sc->sc_handle);
sys/dev/hyperv/vmbus.c
2110
hdr->chm_gpadl = *handle;
sys/dev/hyperv/vmbus.c
2127
cmd->chm_gpadl = *handle;
sys/dev/hyperv/vmbus.c
2171
KASSERT(*handle == rsp.chm_gpadl);
sys/dev/hyperv/vmbus.c
2177
vmbus_handle_free(struct vmbus_channel *ch, uint32_t handle)
sys/dev/hyperv/vmbus.c
2187
cmd.chm_gpadl = handle;
sys/dev/ic/arcofi.c
334
arcofi_set_format(void *handle, int setmode,
sys/dev/ic/arcofi.c
340
sc = handle;
sys/dev/ic/arcofi.c
383
arcofi_round_blocksize(void *handle, int block, int mode,
sys/dev/ic/i82365.c
243
for (i = 0; i < __arraycount(sc->handle); i++) {
sys/dev/ic/i82365.c
244
h = &sc->handle[i];
sys/dev/ic/i82365.c
263
if (i < __arraycount(sc->handle) - 1)
sys/dev/ic/i82365.c
294
for (i = 0; i < __arraycount(sc->handle); i++) {
sys/dev/ic/i82365.c
295
h = &sc->handle[i];
sys/dev/ic/i82365.c
315
for (i = 0; i < __arraycount(sc->handle) - 1; i += 2) {
sys/dev/ic/i82365.c
316
h = &sc->handle[i];
sys/dev/ic/i82365.c
323
chip, pcic_vendor_to_string(sc->handle[i].vendor));
sys/dev/ic/i82365.c
345
for (i = 0; i < __arraycount(sc->handle); i++)
sys/dev/ic/i82365.c
346
if (sc->handle[i].flags & PCIC_FLAG_SOCKETP)
sys/dev/ic/i82365.c
347
pcic_attach_socket(&sc->handle[i]);
sys/dev/ic/i82365.c
433
for (i = 0; i < __arraycount(sc->handle); i++)
sys/dev/ic/i82365.c
434
if (sc->handle[i].flags & PCIC_FLAG_SOCKETP)
sys/dev/ic/i82365.c
435
pcic_attach_socket_finish(&sc->handle[i]);
sys/dev/ic/i82365.c
450
(long) (h - &sc->handle[0])));
sys/dev/ic/i82365.c
650
for (i = 0; i < __arraycount(sc->handle); i++)
sys/dev/ic/i82365.c
651
if (sc->handle[i].flags & PCIC_FLAG_SOCKETP)
sys/dev/ic/i82365.c
652
(void)pcic_intr_socket(&sc->handle[i]);
sys/dev/ic/i82365.c
665
for (i = 0; i < __arraycount(sc->handle); i++)
sys/dev/ic/i82365.c
666
if (sc->handle[i].flags & PCIC_FLAG_SOCKETP)
sys/dev/ic/i82365.c
667
ret += pcic_intr_socket(&sc->handle[i]);
sys/dev/ic/i82365var.h
154
struct pcic_handle handle[PCIC_NSLOTS];
sys/dev/ic/icp.c
1331
icp_read_event(struct icp_softc *icp, int handle, gdt_evt_str *estr)
sys/dev/ic/icp.c
1338
if (handle == -1)
sys/dev/ic/icp.c
1341
eindex = handle;
sys/dev/ic/icp_ioctl.c
258
evt->handle = icp_read_event(icp, evt->handle, e);
sys/dev/ic/icp_ioctl.h
159
int handle;
sys/dev/ic/intersil7170.c
117
intersil7170_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/intersil7170.c
119
struct intersil7170_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/intersil7170.c
55
todr_chip_handle_t handle;
sys/dev/ic/intersil7170.c
59
handle = &sc->sc_handle;
sys/dev/ic/intersil7170.c
61
handle->todr_dev = sc->sc_dev;
sys/dev/ic/intersil7170.c
62
handle->todr_gettime_ymdhms = intersil7170_gettime_ymdhms;
sys/dev/ic/intersil7170.c
63
handle->todr_settime_ymdhms = intersil7170_settime_ymdhms;
sys/dev/ic/intersil7170.c
65
todr_attach(handle);
sys/dev/ic/intersil7170.c
72
intersil7170_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/intersil7170.c
74
struct intersil7170_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/isp.c
2048
fcp->portdb[i].handle, fcp->portdb[i].portid);
sys/dev/ic/isp.c
2080
isp_plogx(ispsoftc_t *isp, int chan, uint16_t handle, uint32_t portid, int flags, int gs)
sys/dev/ic/isp.c
2095
return (isp_port_login(isp, handle, portid));
sys/dev/ic/isp.c
2097
return (isp_port_logout(isp, handle, portid));
sys/dev/ic/isp.c
2108
plp->plogx_nphdl = handle;
sys/dev/ic/isp.c
2222
isp_prt(isp, ISP_LOGERR, "Chan %d PLOGX PortID 0x%06x to N-Port handle 0x%x: %s", chan, portid, handle, msg);
sys/dev/ic/isp.c
2232
isp_port_login(ispsoftc_t *isp, uint16_t handle, uint32_t portid)
sys/dev/ic/isp.c
2238
mbs.param[1] = handle;
sys/dev/ic/isp.c
2241
mbs.param[1] = handle << 8;
sys/dev/ic/isp.c
2259
handle, mbs.param[1] & 0xff);
sys/dev/ic/isp.c
2279
mbs.param[0], portid, handle);
sys/dev/ic/isp.c
2285
isp_port_logout(ispsoftc_t *isp, uint16_t handle, uint32_t portid)
sys/dev/ic/isp.c
2291
mbs.param[1] = handle;
sys/dev/ic/isp.c
2294
mbs.param[1] = handle << 8;
sys/dev/ic/isp.c
2340
pdb->handle = un.bill.pdb_handle;
sys/dev/ic/isp.c
2359
pdb->handle = un.fred.pdb_loopid;
sys/dev/ic/isp.c
2645
lp->handle = pdb.handle;
sys/dev/ic/isp.c
2805
(void) isp_plogx(isp, chan, lp->handle,
sys/dev/ic/isp.c
2891
uint16_t handle, lim = 0;
sys/dev/ic/isp.c
2943
for (handle = 0; handle < lim; handle++) {
sys/dev/ic/isp.c
2948
if (handle >= FL_ID && handle <= SNS_ID) {
sys/dev/ic/isp.c
2952
if (handle >= NPH_RESERVED && handle <= NPH_FL_ID) {
sys/dev/ic/isp.c
2961
uint64_t node_wwn = isp_get_wwn(isp, chan, handle, 1);
sys/dev/ic/isp.c
2975
r = isp_getpdb(isp, chan, handle, &pdb, 1);
sys/dev/ic/isp.c
2979
chan, handle, r);
sys/dev/ic/isp.c
3002
if (IS_2100(isp) && pdb.handle != handle) {
sys/dev/ic/isp.c
3018
tmp.handle = pdb.handle;
sys/dev/ic/isp.c
3032
isp_get_wwn(isp, chan, handle, 1);
sys/dev/ic/isp.c
3034
isp_get_wwn(isp, chan, handle, 0);
sys/dev/ic/isp.c
3042
a, b, c, handle);
sys/dev/ic/isp.c
3093
lp->handle == tmp.handle &&
sys/dev/ic/isp.c
3100
"Valid", chan, tmp.portid, tmp.handle);
sys/dev/ic/isp.c
3108
lp->handle = tmp.handle;
sys/dev/ic/isp.c
3116
chan, tmp.portid, tmp.handle);
sys/dev/ic/isp.c
3154
lp->handle = tmp.handle;
sys/dev/ic/isp.c
3159
chan, tmp.portid, tmp.handle);
sys/dev/ic/isp.c
3346
uint16_t handle, oldhandle, loopid;
sys/dev/ic/isp.c
3608
r = isp_getpdb(isp, chan, lp->handle, &pdb, 0);
sys/dev/ic/isp.c
3632
if (pdb.handle != lp->handle ||
sys/dev/ic/isp.c
3637
fconf, chan, dbidx, pdb.handle, pdb.portid,
sys/dev/ic/isp.c
3640
lp->handle, portid,
sys/dev/ic/isp.c
3683
lp->handle = pdb.handle;
sys/dev/ic/isp.c
3754
chan, portid, dbidx, lp->handle, lp->state);
sys/dev/ic/isp.c
3795
handle = pdb.handle;
sys/dev/ic/isp.c
3820
lp->handle = handle;
sys/dev/ic/isp.c
3852
lp->handle = handle;
sys/dev/ic/isp.c
3886
uint16_t handle;
sys/dev/ic/isp.c
3894
handle = isp_nxt_handle(isp, chan, *ohp);
sys/dev/ic/isp.c
3901
r = isp_getpdb(isp, chan, handle, p, 0);
sys/dev/ic/isp.c
3903
(void) isp_plogx(isp, chan, handle, portid, PLOGX_FLG_CMD_LOGO | PLOGX_FLG_IMPLICIT | PLOGX_FLG_FREE_NPHDL, 1);
sys/dev/ic/isp.c
3913
r = isp_plogx(isp, chan, handle, portid, PLOGX_FLG_CMD_PLOGI, 1);
sys/dev/ic/isp.c
3918
*ohp = handle;
sys/dev/ic/isp.c
3932
r = isp_plogx(isp, chan, handle, portid, PLOGX_FLG_CMD_PLOGI, 1);
sys/dev/ic/isp.c
3937
*ohp = handle;
sys/dev/ic/isp.c
3946
*ohp = handle;
sys/dev/ic/isp.c
3947
handle = isp_nxt_handle(isp, chan, handle);
sys/dev/ic/isp.c
3967
r = isp_getpdb(isp, chan, handle, p, 0);
sys/dev/ic/isp.c
3972
isp_prt(isp, ISP_LOGERR, "Chan %d new device 0x%06x@0x%x disappeared", chan, portid, handle);
sys/dev/ic/isp.c
3976
if (p->handle != handle || p->portid != portid) {
sys/dev/ic/isp.c
3978
chan, portid, handle, p->portid, p->handle);
sys/dev/ic/isp.c
4140
isp_nxt_handle(ispsoftc_t *isp, int chan, uint16_t handle)
sys/dev/ic/isp.c
4143
if (handle == NIL_HANDLE) {
sys/dev/ic/isp.c
4145
handle = 0;
sys/dev/ic/isp.c
4147
handle = SNS_ID+1;
sys/dev/ic/isp.c
4150
handle += 1;
sys/dev/ic/isp.c
4151
if (handle >= FL_ID && handle <= SNS_ID) {
sys/dev/ic/isp.c
4152
handle = SNS_ID+1;
sys/dev/ic/isp.c
4154
if (handle >= NPH_RESERVED && handle <= NPH_FL_ID) {
sys/dev/ic/isp.c
4155
handle = NPH_FL_ID+1;
sys/dev/ic/isp.c
4158
if (handle == NPH_MAX_2K) {
sys/dev/ic/isp.c
4159
handle = 0;
sys/dev/ic/isp.c
4162
if (handle == NPH_MAX) {
sys/dev/ic/isp.c
4163
handle = 0;
sys/dev/ic/isp.c
4167
if (handle == FCPARAM(isp, chan)->isp_loopid) {
sys/dev/ic/isp.c
4168
return (isp_nxt_handle(isp, chan, handle));
sys/dev/ic/isp.c
4175
if (FCPARAM(isp, chan)->portdb[i].handle == handle) {
sys/dev/ic/isp.c
4176
return (isp_nxt_handle(isp, chan, handle));
sys/dev/ic/isp.c
4179
return (handle);
sys/dev/ic/isp.c
4190
uint32_t handle, cdblen;
sys/dev/ic/isp.c
4261
target = fcp->portdb[hdlidx].handle;
sys/dev/ic/isp.c
4432
if (isp_allocate_xs(isp, xs, &handle)) {
sys/dev/ic/isp.c
4438
reqp->req_handle = handle;
sys/dev/ic/isp.c
4448
isp_destroy_handle(isp, handle);
sys/dev/ic/isp.c
4471
uint32_t handle;
sys/dev/ic/isp.c
4538
tmf->tmf_nphdl = lp->handle;
sys/dev/ic/isp.c
4545
isp_prt(isp, ISP_LOGALL, "Chan %d Reset N-Port Handle 0x%04x @ Port 0x%06x", chan, lp->handle, lp->portid);
sys/dev/ic/isp.c
4607
handle = isp_find_handle(isp, xs);
sys/dev/ic/isp.c
4608
if (handle == 0) {
sys/dev/ic/isp.c
4636
"0x%06x %p", chan, lp->handle, lp->portid, xs);
sys/dev/ic/isp.c
4640
ab->abrt_handle = lp->handle;
sys/dev/ic/isp.c
4641
ab->abrt_cmd_handle = handle;
sys/dev/ic/isp.c
4694
mbs.param[2] = handle;
sys/dev/ic/isp.c
4823
if ((p->flags & PLOGX_FLG_CMD_MASK) != PLOGX_FLG_CMD_PLOGI || (p->handle != NIL_HANDLE)) {
sys/dev/ic/isp.c
4824
return (isp_plogx(isp, p->channel, p->handle, p->portid, p->flags, 0));
sys/dev/ic/isp.c
4827
p->handle = isp_nxt_handle(isp, p->channel, p->handle);
sys/dev/ic/isp.c
4828
r = isp_plogx(isp, p->channel, p->handle, p->portid, p->flags, 0);
sys/dev/ic/isp.c
4830
p->handle = r >> 16;
sys/dev/ic/isp.c
5730
if (ISP_H2HT(hdp->handle) != ISP_HANDLE_INITIATOR) {
sys/dev/ic/isp_library.c
2265
hdp->handle = (hdp - isp->isp_tgtlist);
sys/dev/ic/isp_library.c
2266
hdp->handle |= (ISP_HANDLE_TARGET << ISP_HANDLE_USAGE_SHIFT);
sys/dev/ic/isp_library.c
2272
hdp->handle |= (isp->isp_seqno++ << ISP_HANDLE_SEQ_SHIFT);
sys/dev/ic/isp_library.c
2274
*handlep = hdp->handle;
sys/dev/ic/isp_library.c
2279
isp_find_xs_tgt(ispsoftc_t *isp, uint32_t handle)
sys/dev/ic/isp_library.c
2281
if (!ISP_VALID_TGT_HANDLE(isp, handle)) {
sys/dev/ic/isp_library.c
2282
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
sys/dev/ic/isp_library.c
2285
return (isp->isp_tgtlist[(handle & ISP_HANDLE_CMD_MASK)].cmd);
sys/dev/ic/isp_library.c
2298
foundhdl = isp->isp_tgtlist[i].handle;
sys/dev/ic/isp_library.c
2306
isp_destroy_tgt_handle(ispsoftc_t *isp, uint32_t handle)
sys/dev/ic/isp_library.c
2308
if (!ISP_VALID_TGT_HANDLE(isp, handle)) {
sys/dev/ic/isp_library.c
2309
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
sys/dev/ic/isp_library.c
2311
isp->isp_tgtlist[(handle & ISP_HANDLE_CMD_MASK)].handle = ISP_HANDLE_FREE;
sys/dev/ic/isp_library.c
2312
isp->isp_tgtlist[(handle & ISP_HANDLE_CMD_MASK)].cmd = isp->isp_tgtfree;
sys/dev/ic/isp_library.c
2313
isp->isp_tgtfree = &isp->isp_tgtlist[(handle & ISP_HANDLE_CMD_MASK)];
sys/dev/ic/isp_library.c
2357
if (lp->handle == loopid) {
sys/dev/ic/isp_library.c
2442
if (lp->handle == nphdl) {
sys/dev/ic/isp_library.c
2458
if (lp->handle != nphdl) {
sys/dev/ic/isp_library.c
2460
__func__, chan, nphdl, (unsigned long long)ini, s_id, (unsigned long long) lp->port_wwn, lp->handle, lp->portid);
sys/dev/ic/isp_library.c
2491
(unsigned long long) lp->port_wwn, lp->handle, lp->portid);
sys/dev/ic/isp_library.c
2516
lp->handle = nphdl;
sys/dev/ic/isp_library.c
259
hdp->handle = (hdp - isp->isp_xflist);
sys/dev/ic/isp_library.c
260
hdp->handle |= (ISP_HANDLE_INITIATOR << ISP_HANDLE_USAGE_SHIFT);
sys/dev/ic/isp_library.c
261
hdp->handle |= (isp->isp_seqno++ << ISP_HANDLE_SEQ_SHIFT);
sys/dev/ic/isp_library.c
2613
isp_del_wwn_entry(isp, chan, lp->port_wwn, lp->handle, lp->portid);
sys/dev/ic/isp_library.c
262
*handlep = hdp->handle;
sys/dev/ic/isp_library.c
2642
isp_del_wwn_entry(isp, mp->nt_channel, lp->port_wwn, lp->handle, lp->portid);
sys/dev/ic/isp_library.c
2648
isp_del_wwn_entry(isp, mp->nt_channel, lp->port_wwn, lp->handle, lp->portid);
sys/dev/ic/isp_library.c
2654
isp_del_wwn_entry(isp, mp->nt_channel, lp->port_wwn, lp->handle, lp->portid);
sys/dev/ic/isp_library.c
267
isp_find_xs(ispsoftc_t *isp, uint32_t handle)
sys/dev/ic/isp_library.c
269
if (!ISP_VALID_INI_HANDLE(isp, handle)) {
sys/dev/ic/isp_library.c
270
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
sys/dev/ic/isp_library.c
273
return (isp->isp_xflist[(handle & ISP_HANDLE_CMD_MASK)].cmd);
sys/dev/ic/isp_library.c
286
foundhdl = isp->isp_xflist[i].handle;
sys/dev/ic/isp_library.c
294
isp_handle_index(ispsoftc_t *isp, uint32_t handle)
sys/dev/ic/isp_library.c
296
if (!ISP_VALID_HANDLE(isp, handle)) {
sys/dev/ic/isp_library.c
297
int cmd = handle & ISP_HANDLE_CMD_MASK;
sys/dev/ic/isp_library.c
302
handle, isp->isp_seqno, cmd, isp->isp_xflist[cmd].handle);
sys/dev/ic/isp_library.c
305
return (handle & ISP_HANDLE_CMD_MASK);
sys/dev/ic/isp_library.c
310
isp_destroy_handle(ispsoftc_t *isp, uint32_t handle)
sys/dev/ic/isp_library.c
312
if (!ISP_VALID_INI_HANDLE(isp, handle)) {
sys/dev/ic/isp_library.c
313
isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle);
sys/dev/ic/isp_library.c
315
isp->isp_xflist[(handle & ISP_HANDLE_CMD_MASK)].handle = ISP_HANDLE_FREE;
sys/dev/ic/isp_library.c
316
isp->isp_xflist[(handle & ISP_HANDLE_CMD_MASK)].cmd = isp->isp_xffree;
sys/dev/ic/isp_library.c
317
isp->isp_xffree = &isp->isp_xflist[(handle & ISP_HANDLE_CMD_MASK)];
sys/dev/ic/isp_library.c
471
chan, i, lp->handle, dbs[lp->state], lp->autologin, mb, roles[lp->roles], lp->portid, roles[lp->new_roles], lp->new_portid,
sys/dev/ic/isp_library.c
640
if (hdp->handle == ISP_HANDLE_FREE) {
sys/dev/ic/isp_library.c
645
ISP_DMAFREE(isp, xs, hdp->handle);
sys/dev/ic/isp_library.c
650
hdp->handle = 0;
sys/dev/ic/isp_library.c
659
if (hdp->handle == ISP_HANDLE_FREE) {
sys/dev/ic/isp_library.c
662
ISP_DMAFREE(isp, hdp->cmd, hdp->handle);
sys/dev/ic/isp_library.c
666
ctio->ct_syshandle = hdp->handle;
sys/dev/ic/isp_library.c
671
ctio->ct_syshandle = hdp->handle;
sys/dev/ic/isp_library.c
676
ctio->ct_syshandle = hdp->handle;
sys/dev/ic/isp_netbsd.c
1303
lp->portid, lp->handle,
sys/dev/ic/isp_netbsd.c
1312
lp->portid, lp->handle,
sys/dev/ic/isp_netbsd.c
1336
lp->portid, lp->handle,
sys/dev/ic/isp_netbsd.c
1353
lp->portid, lp->handle,
sys/dev/ic/isp_netbsd.c
1361
lp->portid, lp->handle,
sys/dev/ic/isp_netbsd.c
1378
lp->portid, lp->handle,
sys/dev/ic/isp_netbsd.c
1386
lp->portid, lp->handle,
sys/dev/ic/isp_netbsd.c
1419
lp->portid, lp->handle,
sys/dev/ic/isp_netbsd.c
1427
lp->portid, lp->handle,
sys/dev/ic/isp_netbsd.c
313
ifc->loopid = lp->handle;
sys/dev/ic/isp_netbsd.c
824
uint32_t handle;
sys/dev/ic/isp_netbsd.c
836
handle = isp_find_handle(isp, xs);
sys/dev/ic/isp_netbsd.c
837
if (handle) {
sys/dev/ic/isp_netbsd.c
843
"watchdog found done cmd (handle %#x)", handle);
sys/dev/ic/isp_netbsd.c
849
"recursive watchdog (handle %#x)", handle);
sys/dev/ic/isp_netbsd.c
861
"watchdog cleanup for handle %#x", handle);
sys/dev/ic/isp_netbsd.c
866
"watchdog timeout for handle %#x", handle);
sys/dev/ic/isp_netbsd.c
877
ISP_DMAFREE(isp, xs, handle);
sys/dev/ic/isp_netbsd.c
879
isp_destroy_handle(isp, handle);
sys/dev/ic/isp_netbsd.c
887
"possible command timeout on handle %x", handle);
sys/dev/ic/ispmbox.h
1302
uint16_t handle;
sys/dev/ic/ispmbox.h
1343
uint16_t handle;
sys/dev/ic/ispmbox.h
1626
uint16_t handle;
sys/dev/ic/ispvar.h
339
uint32_t handle; /* handle associated with this command */
sys/dev/ic/ispvar.h
354
ISP_H2SEQ(hdl) == ISP_H2SEQ((c)->isp_xflist[hdl & ISP_HANDLE_CMD_MASK].handle))
sys/dev/ic/ispvar.h
358
ISP_H2SEQ(hdl) == ISP_H2SEQ((c)->isp_tgtlist[hdl & ISP_HANDLE_CMD_MASK].handle))
sys/dev/ic/ispvar.h
422
uint16_t handle;
sys/dev/ic/mc146818.c
129
mc146818_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/mc146818.c
131
struct mc146818_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/mc146818.c
49
todr_chip_handle_t handle;
sys/dev/ic/mc146818.c
59
handle = &sc->sc_handle;
sys/dev/ic/mc146818.c
60
handle->todr_dev = sc->sc_dev;
sys/dev/ic/mc146818.c
61
KASSERT(handle->todr_gettime == NULL);
sys/dev/ic/mc146818.c
62
KASSERT(handle->todr_settime == NULL);
sys/dev/ic/mc146818.c
63
if (handle->todr_gettime_ymdhms == NULL) {
sys/dev/ic/mc146818.c
64
handle->todr_gettime_ymdhms = mc146818_gettime_ymdhms;
sys/dev/ic/mc146818.c
66
if (handle->todr_settime_ymdhms == NULL) {
sys/dev/ic/mc146818.c
67
handle->todr_settime_ymdhms = mc146818_settime_ymdhms;
sys/dev/ic/mc146818.c
70
todr_attach(handle);
sys/dev/ic/mc146818.c
79
mc146818_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/mc146818.c
81
struct mc146818_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/mk48txx.c
105
mk48txx_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/mk48txx.c
107
struct mk48txx_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/mk48txx.c
151
mk48txx_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/mk48txx.c
153
struct mk48txx_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/mk48txx.c
205
mk48txx_get_nvram_size(todr_chip_handle_t handle, bus_size_t *vp)
sys/dev/ic/mk48txx.c
207
struct mk48txx_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/mk48txx.c
70
todr_chip_handle_t handle;
sys/dev/ic/mk48txx.c
86
handle = &sc->sc_handle;
sys/dev/ic/mk48txx.c
88
handle->todr_dev = sc->sc_dev;
sys/dev/ic/mk48txx.c
89
handle->todr_gettime_ymdhms = mk48txx_gettime_ymdhms;
sys/dev/ic/mk48txx.c
90
handle->todr_settime_ymdhms = mk48txx_settime_ymdhms;
sys/dev/ic/mk48txx.c
97
todr_attach(handle);
sys/dev/ic/mm58167.c
127
clock_secs_to_ymdhms(handle->todr_base_time, &dt_reasonable);
sys/dev/ic/mm58167.c
224
mm58167_settime_ymdhms(handle, dt);
sys/dev/ic/mm58167.c
231
mm58167_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/mm58167.c
233
struct mm58167_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/mm58167.c
65
struct todr_chip_handle *handle;
sys/dev/ic/mm58167.c
69
handle = &sc->_mm58167_todr_handle;
sys/dev/ic/mm58167.c
70
memset(handle, 0, sizeof(*handle));
sys/dev/ic/mm58167.c
71
handle->todr_dev = sc->mm58167_dev;
sys/dev/ic/mm58167.c
72
handle->todr_gettime_ymdhms = mm58167_gettime_ymdhms;
sys/dev/ic/mm58167.c
73
handle->todr_settime_ymdhms = mm58167_settime_ymdhms;
sys/dev/ic/mm58167.c
74
return handle;
sys/dev/ic/mm58167.c
81
mm58167_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/mm58167.c
83
struct mm58167_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/msm6242b.c
209
msm6242b_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/msm6242b.c
211
struct msm6242b_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/msm6242b.c
66
todr_chip_handle_t handle;
sys/dev/ic/msm6242b.c
69
handle = &sc->sc_handle;
sys/dev/ic/msm6242b.c
70
handle->todr_dev = sc->sc_dev;
sys/dev/ic/msm6242b.c
71
handle->todr_gettime_ymdhms = msm6242b_gettime_ymdhms;
sys/dev/ic/msm6242b.c
72
handle->todr_settime_ymdhms = msm6242b_settime_ymdhms;
sys/dev/ic/msm6242b.c
74
if (msm6242b_gettime_ymdhms(handle, &dt) != 0) {
sys/dev/ic/msm6242b.c
83
todr_attach(handle);
sys/dev/ic/msm6242b.c
87
msm6242b_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
sys/dev/ic/msm6242b.c
89
struct msm6242b_softc *sc = device_private(handle->todr_dev);
sys/dev/ic/tcic2.c
336
sc->handle[i].sc = sc;
sys/dev/ic/tcic2.c
337
sc->handle[i].sock = i;
sys/dev/ic/tcic2.c
338
sc->handle[i].flags = TCIC_FLAG_SOCKETP;
sys/dev/ic/tcic2.c
339
sc->handle[i].memwins
sys/dev/ic/tcic2.c
344
reg = tcic_read_1(&sc->handle[0], TCIC_R_IENA);
sys/dev/ic/tcic2.c
345
tcic_write_1(&sc->handle[0], TCIC_R_IENA,
sys/dev/ic/tcic2.c
355
tcic_sel_sock(&sc->handle[i]);
sys/dev/ic/tcic2.c
356
tcic_write_ind_2(&sc->handle[i], TCIC_IR_SCF1_N(i), 0);
sys/dev/ic/tcic2.c
357
tcic_write_ind_2(&sc->handle[i], TCIC_IR_SCF2_N(i),
sys/dev/ic/tcic2.c
364
tcic_write_1(&sc->handle[i], TCIC_R_MODE, 0);
sys/dev/ic/tcic2.c
368
SIMPLEQ_INIT(&sc->handle[i].events);
sys/dev/ic/tcic2.c
371
if ((sc->handle[0].flags & TCIC_FLAG_SOCKETP) ||
sys/dev/ic/tcic2.c
372
(sc->handle[1].flags & TCIC_FLAG_SOCKETP)) {
sys/dev/ic/tcic2.c
376
if ((sc->handle[0].flags & TCIC_FLAG_SOCKETP) &&
sys/dev/ic/tcic2.c
377
(sc->handle[1].flags & TCIC_FLAG_SOCKETP))
sys/dev/ic/tcic2.c
379
else if (sc->handle[0].flags & TCIC_FLAG_SOCKETP)
sys/dev/ic/tcic2.c
393
if (sc->handle[i].flags & TCIC_FLAG_SOCKETP)
sys/dev/ic/tcic2.c
394
tcic_attach_socket(&sc->handle[i]);
sys/dev/ic/tcic2.c
543
if (sc->handle[i].flags & TCIC_FLAG_SOCKETP)
sys/dev/ic/tcic2.c
544
ret += tcic_intr_socket(&sc->handle[i]);
sys/dev/ic/tcic2var.h
134
struct tcic_handle handle[TCIC_NSLOTS];
sys/dev/ic/uda1341.c
114
uda1341_close(void *handle)
sys/dev/ic/uda1341.c
116
struct uda1341_softc *sc = handle;
sys/dev/ic/uda1341.c
130
uda1341_set_format(void *handle, int setmode,
sys/dev/ic/uda1341.c
134
struct uda1341_softc *sc = handle;
sys/dev/ic/uda1341.c
297
uda1341_query_devinfo(void *handle, mixer_devinfo_t *mi)
sys/dev/ic/uda1341.c
549
uda1341_get_port(void *handle, mixer_ctrl_t *mixer)
sys/dev/ic/uda1341.c
551
struct uda1341_softc *sc = handle;
sys/dev/ic/uda1341.c
650
uda1341_set_port(void *handle, mixer_ctrl_t *mixer)
sys/dev/ic/uda1341.c
652
struct uda1341_softc *sc = handle;
sys/dev/ic/uda1341.c
79
uda1341_open(void *handle, int flags)
sys/dev/ic/uda1341.c
81
struct uda1341_softc *sc = handle;
sys/dev/isa/i82365_isasubr.c
283
if (sc->handle[i].flags & PCIC_FLAG_SOCKETP)
sys/dev/isa/i82365_isasubr.c
284
h = &sc->handle[i];
sys/dev/isa/i82365_isasubr.c
285
else if (sc->handle[i + 1].flags & PCIC_FLAG_SOCKETP)
sys/dev/isa/i82365_isasubr.c
286
h = &sc->handle[i + 1];
sys/dev/isa/i82365_isasubr.c
303
if ((sc->handle[i].flags & PCIC_FLAG_SOCKETP) == 0 &&
sys/dev/isa/i82365_isasubr.c
304
(sc->handle[i + 1].flags & PCIC_FLAG_SOCKETP) == 0)
sys/dev/isa/i82365_isasubr.c
391
if (sc->handle[i].flags & PCIC_FLAG_SOCKETP) {
sys/dev/isa/i82365_isasubr.c
398
sc->handle[i].sock + PCIC_IDENT);
sys/dev/isa/i82365_isasubr.c
402
sc->handle[i].sock + PCIC_IDENT);
sys/dev/led.c
177
led_detach(void *handle)
sys/dev/led.c
179
struct led_device *led = handle;
sys/dev/mvme/mvmebus.c
245
mvmebus_map(void *vsc, vme_addr_t vmeaddr, vme_size_t len, vme_am_t am, vme_datasize_t datasize, vme_swap_t swap, bus_space_tag_t *tag, bus_space_handle_t *handle, vme_mapresc_t *resc)
sys/dev/mvme/mvmebus.c
275
rv = bus_space_map(sc->sc_bust, paddr, len, 0, handle);
sys/dev/mvme/mvmebus.c
287
mr->mr_handle = *handle;
sys/dev/mvme/mvmebus.c
312
bus_space_handle_t handle;
sys/dev/mvme/mvmebus.c
319
&tag, &handle, &resc);
sys/dev/mvme/mvmebus.c
324
rv = (*callback) (arg, tag, handle);
sys/dev/mvme/mvmebus.c
329
rv = bus_space_peek_1(tag, handle, offs, NULL);
sys/dev/mvme/mvmebus.c
334
rv = bus_space_peek_2(tag, handle, offs, NULL);
sys/dev/mvme/mvmebus.c
339
rv = bus_space_peek_4(tag, handle, offs, NULL);
sys/dev/mvme/mvmebus.c
365
mvmebus_intr_evcnt(void *vsc, vme_intr_handle_t handle)
sys/dev/mvme/mvmebus.c
369
return (&sc->sc_evcnt[(((int) handle) >> 8) - 1]);
sys/dev/mvme/mvmebus.c
373
mvmebus_intr_establish(void *vsc, vme_intr_handle_t handle, int prior, int (*func)(void *), void *arg)
sys/dev/mvme/mvmebus.c
381
level = ((int) handle) >> 8;
sys/dev/mvme/mvmebus.c
382
vector = ((int) handle) & 0xff;
sys/dev/mvme/mvmebus.c
402
return ((void *) handle);
sys/dev/mvme/mvmebus.c
406
mvmebus_intr_disestablish(void *vsc, vme_intr_handle_t handle)
sys/dev/mvme/mvmebus.c
414
level = ((int) handle) >> 8;
sys/dev/mvme/mvmebus.c
415
vector = ((int) handle) & 0xff;
sys/dev/ofw/ofw_subr.c
105
devhandle_t handle = { 0 };
sys/dev/ofw/ofw_subr.c
108
handle.impl = super_handle.impl;
sys/dev/ofw/ofw_subr.c
111
handle.impl = &of_devhandle_impl;
sys/dev/ofw/ofw_subr.c
113
handle.integer = phandle;
sys/dev/ofw/ofw_subr.c
115
return handle;
sys/dev/ofw/ofw_subr.c
119
devhandle_to_of(devhandle_t const handle)
sys/dev/ofw/ofw_subr.c
121
KASSERT(devhandle_type(handle) == DEVHANDLE_TYPE_OF);
sys/dev/ofw/ofw_subr.c
123
return handle.integer;
sys/dev/ofw/ofw_subr.c
82
of_devhandle_lookup_device_call(devhandle_t handle, const char *name,
sys/dev/pci/agp.c
1196
agp_free_memory(void *dev, void *handle)
sys/dev/pci/agp.c
1199
struct agp_memory *mem = handle;
sys/dev/pci/agp.c
1205
agp_bind_memory(void *dev, void *handle, off_t offset)
sys/dev/pci/agp.c
1208
struct agp_memory *mem = handle;
sys/dev/pci/agp.c
1214
agp_unbind_memory(void *dev, void *handle)
sys/dev/pci/agp.c
1217
struct agp_memory *mem = handle;
sys/dev/pci/agp.c
1223
agp_memory_info(void *dev, void *handle, struct agp_memory_info *mi)
sys/dev/pci/agp.c
1225
struct agp_memory *mem = handle;
sys/dev/pci/btvmei.c
414
b3_617_map_vme(void *vsc, vme_addr_t vmeaddr, vme_size_t len, vme_am_t am, vme_datasize_t datasizes, vme_swap_t swap, bus_space_tag_t *tag, bus_space_handle_t *handle, vme_mapresc_t *resc)
sys/dev/pci/btvmei.c
458
if ((res = bus_space_map(sc->sc_vmet, pcibase, len, 0, handle))) {
sys/dev/pci/btvmei.c
471
r->handle = *handle;
sys/dev/pci/btvmei.c
486
bus_space_unmap(sc->sc_vmet, r->handle, r->len);
sys/dev/pci/btvmei.c
499
bus_space_handle_t handle;
sys/dev/pci/btvmei.c
506
&tag, &handle, &resc);
sys/dev/pci/btvmei.c
516
res = (*callback)(cbarg, tag, handle);
sys/dev/pci/btvmei.c
521
dummy = bus_space_read_1(tag, handle, i);
sys/dev/pci/btvmei.c
526
dummy = bus_space_read_2(tag, handle, i);
sys/dev/pci/btvmei.c
531
dummy = bus_space_read_4(tag, handle, i);
sys/dev/pci/btvmei.c
571
b3_617_establish_vmeint(void *vsc, vme_intr_handle_t handle, int prior, int (*func)(void *), void *arg)
sys/dev/pci/btvmei.c
579
lv = (long)handle; /* XXX */
sys/dev/pci/btvmei.c
67
bus_space_handle_t handle;
sys/dev/pci/btvmeii.c
290
b3_2706_map_vme(void *vsc, vme_addr_t vmeaddr, vme_size_t len, vme_am_t am, vme_datasize_t datasizes, vme_swap_t swap, bus_space_tag_t *tag, bus_space_handle_t *handle, vme_mapresc_t *resc)
sys/dev/pci/btvmeii.c
346
0, handle);
sys/dev/pci/btvmeii.c
362
sc->vmemaprescs[wnd].handle = *handle;
sys/dev/pci/btvmeii.c
373
bus_space_unmap(sc->vmet, r->handle, r->len);
sys/dev/pci/btvmeii.c
386
bus_space_handle_t handle;
sys/dev/pci/btvmeii.c
392
&tag, &handle, &resc);
sys/dev/pci/btvmeii.c
400
res = (*callback)(cbarg, tag, handle);
sys/dev/pci/btvmeii.c
405
dummy = bus_space_read_1(tag, handle, i);
sys/dev/pci/btvmeii.c
410
dummy = bus_space_read_2(tag, handle, i);
sys/dev/pci/btvmeii.c
415
dummy = bus_space_read_4(tag, handle, i);
sys/dev/pci/btvmeii.c
447
b3_2706_establish_vmeint(void *vsc, vme_intr_handle_t handle, int prior, int (*func)(void *), void *arg)
sys/dev/pci/btvmeii.c
455
lv = (long)handle; /* XXX */
sys/dev/pci/btvmeii.c
91
bus_space_handle_t handle;
sys/dev/pci/cmpci.c
1011
cmpci_allocm(void *handle, int direction, size_t size)
sys/dev/pci/cmpci.c
1017
if (cmpci_alloc_dmamem(handle, size, &addr))
sys/dev/pci/cmpci.c
1023
cmpci_freem(void *handle, void *addr, size_t size)
sys/dev/pci/cmpci.c
1026
cmpci_free_dmamem(handle, addr, size);
sys/dev/pci/cmpci.c
1357
cmpci_set_port(void *handle, mixer_ctrl_t *cp)
sys/dev/pci/cmpci.c
1362
sc = handle;
sys/dev/pci/cmpci.c
1469
cmpci_get_port(void *handle, mixer_ctrl_t *cp)
sys/dev/pci/cmpci.c
1473
sc = handle;
sys/dev/pci/cmpci.c
1537
cmpci_round_buffersize(void *handle, int direction,
sys/dev/pci/cmpci.c
1549
cmpci_get_props(void *handle)
sys/dev/pci/cmpci.c
1557
cmpci_trigger_output(void *handle, void *start, void *end, int blksize,
sys/dev/pci/cmpci.c
1565
sc = handle;
sys/dev/pci/cmpci.c
1596
cmpci_trigger_input(void *handle, void *start, void *end, int blksize,
sys/dev/pci/cmpci.c
1604
sc = handle;
sys/dev/pci/cmpci.c
503
cmpci_intr(void *handle)
sys/dev/pci/cmpci.c
505
struct cmpci_softc *sc = handle;
sys/dev/pci/cmpci.c
558
cmpci_query_format(void *handle, audio_format_query_t *afp)
sys/dev/pci/cmpci.c
565
cmpci_set_format(void *handle, int setmode,
sys/dev/pci/cmpci.c
572
sc = handle;
sys/dev/pci/cmpci.c
632
cmpci_halt_output(void *handle)
sys/dev/pci/cmpci.c
636
sc = handle;
sys/dev/pci/cmpci.c
649
cmpci_halt_input(void *handle)
sys/dev/pci/cmpci.c
653
sc = handle;
sys/dev/pci/cmpci.c
667
cmpci_getdev(void *handle, struct audio_device *ad)
sys/dev/pci/cmpci.c
671
sc = handle;
sys/dev/pci/cmpci.c
697
cmpci_query_devinfo(void *handle, mixer_devinfo_t *dip)
sys/dev/pci/cmpci.c
710
sc = handle;
sys/dev/pci/i82365_pci.c
184
pcic_write(&sc->handle[0], PCIC_CIRRUS_EXTENDED_INDEX,
sys/dev/pci/i82365_pci.c
186
if ((pcic_read(&sc->handle[0], PCIC_CIRRUS_EXTENDED_DATA) &
sys/dev/pci/isp_pci.c
1411
isp_pci_dmateardown(struct ispsoftc *isp, XS_T *xs, uint32_t handle)
sys/dev/pci/isp_pci.c
1417
hidx = isp_handle_index(isp, handle);
sys/dev/pci/mfii.c
989
uint16_t *map, handle;
sys/dev/pci/mfii.c
992
handle = map[target];
sys/dev/pci/mfii.c
995
return (handle);
sys/dev/pci/mpii.c
1869
u_int16_t handle;
sys/dev/pci/mpii.c
1889
handle = le16toh(pe->dev_handle);
sys/dev/pci/mpii.c
1891
DEVNAME(sc), handle);
sys/dev/pci/mpii.c
1894
if (mpii_find_dev(sc, handle)) {
sys/dev/pci/mpii.c
1898
"configured\n", DEVNAME(sc), handle);
sys/dev/pci/mpii.c
1903
dev->dev_handle = handle;
sys/dev/pci/mpii.c
2129
mpii_sas_remove_device(struct mpii_softc *sc, u_int16_t handle)
sys/dev/pci/mpii.c
2142
stq->dev_handle = htole16(handle);
sys/dev/pci/mpii.c
2158
soq->dev_handle = htole16(handle);
sys/dev/pci/mpii.c
2589
mpii_find_dev(struct mpii_softc *sc, u_int16_t handle)
sys/dev/pci/mpii.c
2598
if (sc->sc_devs[i]->dev_handle == handle)
sys/dev/pci/oboe.c
130
static int oboe_intr(void *handle);
sys/dev/pci/pci_map.c
573
bus_space_handle_t handle;
sys/dev/pci/pci_map.c
650
if (bus_space_map(tag, base, reqsize, busflags, &handle))
sys/dev/pci/pci_map.c
665
*handlep = handle;
sys/dev/pcmcia/aic_pcmcia.c
129
sc->sc_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/aic_pcmcia.c
130
sc->sc_ioh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/btbc.c
187
sc->sc_pcioh = cfe->iospace[0].handle;
sys/dev/pcmcia/com_pcmcia.c
191
com_init_regs(&sc->sc_regs, cfe->iospace[0].handle.iot,
sys/dev/pcmcia/com_pcmcia.c
192
cfe->iospace[0].handle.ioh, -1);
sys/dev/pcmcia/esp_pcmcia.c
170
esc->sc_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/esp_pcmcia.c
171
esc->sc_ioh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/fdc_pcmcia.c
160
fdc->sc_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/fdc_pcmcia.c
161
fdc->sc_iot = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/if_an_pcmcia.c
139
sc->sc_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/if_an_pcmcia.c
140
sc->sc_ioh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/if_awi_pcmcia.c
199
sc->sc_chip.sc_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/if_awi_pcmcia.c
200
sc->sc_chip.sc_ioh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/if_awi_pcmcia.c
202
sc->sc_chip.sc_memt = cfe->memspace[0].handle.memt;
sys/dev/pcmcia/if_awi_pcmcia.c
203
sc->sc_chip.sc_memh = cfe->memspace[0].handle.memh;
sys/dev/pcmcia/if_cs_pcmcia.c
116
sc->sc_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/if_cs_pcmcia.c
117
sc->sc_ioh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/if_malo_pcmcia.c
191
sc->sc_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/if_malo_pcmcia.c
192
sc->sc_ioh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/if_mbe_pcmcia.c
180
sc->sc_bst = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/if_mbe_pcmcia.c
181
sc->sc_bsh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/if_ne_pcmcia.c
600
dsc->sc_regt = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/if_ne_pcmcia.c
601
dsc->sc_regh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/if_ne_pcmcia.c
612
nsc->sc_asict = cfe->iospace[1].handle.iot;
sys/dev/pcmcia/if_ne_pcmcia.c
613
nsc->sc_asich = cfe->iospace[1].handle.ioh;
sys/dev/pcmcia/if_ray.c
512
sc->sc_memt = cfe->memspace[0].handle.memt;
sys/dev/pcmcia/if_ray.c
513
sc->sc_memh = cfe->memspace[0].handle.memh;
sys/dev/pcmcia/if_sm_pcmcia.c
154
sc->sc_bst = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/if_sm_pcmcia.c
155
sc->sc_bsh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/if_wi_pcmcia.c
350
sc->sc_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/if_wi_pcmcia.c
351
sc->sc_ioh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/nca_pcmcia.c
131
sc->sc_regt = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/nca_pcmcia.c
132
sc->sc_regh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/pcmcia.c
772
&cfe->iospace[n].handle);
sys/dev/pcmcia/pcmcia.c
778
pcmcia_io_free(pf, &cfe->iospace[m].handle);
sys/dev/pcmcia/pcmcia.c
788
error = pcmcia_mem_alloc(pf, length, &cfe->memspace[n].handle);
sys/dev/pcmcia/pcmcia.c
794
pcmcia_io_free(pf, &cfe->iospace[m].handle);
sys/dev/pcmcia/pcmcia.c
796
pcmcia_mem_free(pf, &cfe->memspace[m].handle);
sys/dev/pcmcia/pcmcia.c
811
pcmcia_io_free(pf, &cfe->iospace[m].handle);
sys/dev/pcmcia/pcmcia.c
813
pcmcia_mem_free(pf, &cfe->memspace[m].handle);
sys/dev/pcmcia/pcmcia.c
830
error = pcmcia_io_map(pf, width, &cfe->iospace[n].handle,
sys/dev/pcmcia/pcmcia.c
851
&cfe->memspace[n].handle, &cfe->memspace[n].offset,
sys/dev/pcmcia/pcmciachip.h
101
#define pcmcia_chip_mem_free(tag, handle, pcmhp) \
sys/dev/pcmcia/pcmciachip.h
102
((*(tag)->mem_free)((handle), (pcmhp)))
sys/dev/pcmcia/pcmciachip.h
104
#define pcmcia_chip_mem_map(tag, handle, kind, card_addr, size, pcmhp, \
sys/dev/pcmcia/pcmciachip.h
106
((*(tag)->mem_map)((handle), (kind), (card_addr), (size), (pcmhp), \
sys/dev/pcmcia/pcmciachip.h
109
#define pcmcia_chip_mem_unmap(tag, handle, window) \
sys/dev/pcmcia/pcmciachip.h
110
((*(tag)->mem_unmap)((handle), (window)))
sys/dev/pcmcia/pcmciachip.h
113
#define pcmcia_chip_io_alloc(tag, handle, start, size, align, pcihp) \
sys/dev/pcmcia/pcmciachip.h
114
((*(tag)->io_alloc)((handle), (start), (size), (align), (pcihp)))
sys/dev/pcmcia/pcmciachip.h
116
#define pcmcia_chip_io_free(tag, handle, pcihp) \
sys/dev/pcmcia/pcmciachip.h
117
((*(tag)->io_free)((handle), (pcihp)))
sys/dev/pcmcia/pcmciachip.h
119
#define pcmcia_chip_io_map(tag, handle, width, card_addr, size, pcihp, \
sys/dev/pcmcia/pcmciachip.h
121
((*(tag)->io_map)((handle), (width), (card_addr), (size), (pcihp), \
sys/dev/pcmcia/pcmciachip.h
124
#define pcmcia_chip_io_unmap(tag, handle, window) \
sys/dev/pcmcia/pcmciachip.h
125
((*(tag)->io_unmap)((handle), (window)))
sys/dev/pcmcia/pcmciachip.h
128
#define pcmcia_chip_intr_establish(tag, handle, pf, ipl, fct, arg) \
sys/dev/pcmcia/pcmciachip.h
129
((*(tag)->intr_establish)((handle), (pf), (ipl), (fct), (arg)))
sys/dev/pcmcia/pcmciachip.h
131
#define pcmcia_chip_intr_disestablish(tag, handle, ih) \
sys/dev/pcmcia/pcmciachip.h
132
((*(tag)->intr_disestablish)((handle), (ih)))
sys/dev/pcmcia/pcmciachip.h
135
#define pcmcia_chip_socket_enable(tag, handle) \
sys/dev/pcmcia/pcmciachip.h
136
((*(tag)->socket_enable)((handle)))
sys/dev/pcmcia/pcmciachip.h
137
#define pcmcia_chip_socket_disable(tag, handle) \
sys/dev/pcmcia/pcmciachip.h
138
((*(tag)->socket_disable)((handle)))
sys/dev/pcmcia/pcmciachip.h
139
#define pcmcia_chip_socket_settype(tag, handle, type) \
sys/dev/pcmcia/pcmciachip.h
140
((*(tag)->socket_settype)((handle), (type)))
sys/dev/pcmcia/pcmciachip.h
98
#define pcmcia_chip_mem_alloc(tag, handle, size, pcmhp) \
sys/dev/pcmcia/pcmciachip.h
99
((*(tag)->mem_alloc)((handle), (size), (pcmhp)))
sys/dev/pcmcia/pcmciavar.h
106
struct pcmcia_mem_handle handle;
sys/dev/pcmcia/pcmciavar.h
96
struct pcmcia_io_handle handle;
sys/dev/pcmcia/pcmcom.c
169
pca.pca_iot = cfe->iospace[slave].handle.iot;
sys/dev/pcmcia/pcmcom.c
170
pca.pca_ioh = cfe->iospace[slave].handle.ioh;
sys/dev/pcmcia/slhci_pcmcia.c
135
pioh = &pf->cfe->iospace[0].handle;
sys/dev/pcmcia/spc_pcmcia.c
122
spc->sc_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/spc_pcmcia.c
123
spc->sc_ioh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/wdc_pcmcia.c
238
wdr->cmd_iot = cfe->memspace[0].handle.memt;
sys/dev/pcmcia/wdc_pcmcia.c
239
wdr->cmd_baseioh = cfe->memspace[0].handle.memh;
sys/dev/pcmcia/wdc_pcmcia.c
241
wdr->ctl_iot = cfe->memspace[0].handle.memt;
sys/dev/pcmcia/wdc_pcmcia.c
242
if (bus_space_subregion(cfe->memspace[0].handle.memt,
sys/dev/pcmcia/wdc_pcmcia.c
243
cfe->memspace[0].handle.memh,
sys/dev/pcmcia/wdc_pcmcia.c
248
wdr->cmd_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/wdc_pcmcia.c
249
wdr->cmd_baseioh = cfe->iospace[0].handle.ioh;
sys/dev/pcmcia/wdc_pcmcia.c
252
wdr->ctl_iot = cfe->iospace[0].handle.iot;
sys/dev/pcmcia/wdc_pcmcia.c
253
if (bus_space_subregion(cfe->iospace[0].handle.iot,
sys/dev/pcmcia/wdc_pcmcia.c
254
cfe->iospace[0].handle.ioh,
sys/dev/pcmcia/wdc_pcmcia.c
259
wdr->ctl_iot = cfe->iospace[1].handle.iot;
sys/dev/pcmcia/wdc_pcmcia.c
260
wdr->ctl_ioh = cfe->iospace[1].handle.ioh;
sys/dev/pcmcia/wdc_pcmcia.c
276
wdr->data32iot = cfe->memspace[0].handle.memt;
sys/dev/pcmcia/wdc_pcmcia.c
277
if (bus_space_subregion(cfe->memspace[0].handle.memt,
sys/dev/pcmcia/wdc_pcmcia.c
278
cfe->memspace[0].handle.memh, offset + 1024, 1024,
sys/dev/sbus/isp_sbus.c
544
isp_sbus_dmateardown(ispsoftc_t *isp, XS_T *xs, uint32_t handle)
sys/dev/sbus/isp_sbus.c
550
hidx = isp_handle_index(isp, handle);
sys/dev/sbus/stp4020.c
258
stp4020_read_2(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset)
sys/dev/sbus/stp4020.c
260
return (le16toh(*(volatile uint16_t *)(handle + offset)));
sys/dev/sbus/stp4020.c
264
stp4020_read_4(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset)
sys/dev/sbus/stp4020.c
266
return (le32toh(*(volatile uint32_t *)(handle + offset)));
sys/dev/sbus/stp4020.c
270
stp4020_read_8(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset)
sys/dev/sbus/stp4020.c
272
return (le64toh(*(volatile uint64_t *)(handle + offset)));
sys/dev/sbus/stp4020.c
276
stp4020_write_2(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset, uint16_t value)
sys/dev/sbus/stp4020.c
278
(*(volatile uint16_t *)(handle + offset)) = htole16(value);
sys/dev/sbus/stp4020.c
282
stp4020_write_4(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset, uint32_t value)
sys/dev/sbus/stp4020.c
284
(*(volatile uint32_t *)(handle + offset)) = htole32(value);
sys/dev/sbus/stp4020.c
288
stp4020_write_8(bus_space_tag_t space, bus_space_handle_t handle, bus_size_t offset, uint64_t value)
sys/dev/sbus/stp4020.c
290
(*(volatile uint64_t *)(handle + offset)) = htole64(value);
sys/dev/sdmmc/sdmmcchip.h
100
((tag)->card_intr_ack((handle)))
sys/dev/sdmmc/sdmmcchip.h
102
#define sdmmc_chip_signal_voltage(tag, handle, voltage) \
sys/dev/sdmmc/sdmmcchip.h
103
((tag)->signal_voltage ? (tag)->signal_voltage((handle), (voltage)) : EINVAL)
sys/dev/sdmmc/sdmmcchip.h
104
#define sdmmc_chip_execute_tuning(tag, handle, timing) \
sys/dev/sdmmc/sdmmcchip.h
105
((tag)->execute_tuning ? (tag)->execute_tuning((handle), (timing)) : EINVAL)
sys/dev/sdmmc/sdmmcchip.h
107
#define sdmmc_chip_hw_reset(tag, handle) \
sys/dev/sdmmc/sdmmcchip.h
108
((tag)->hw_reset ? (tag)->hw_reset((handle)) : /*CONSTCOND*/0)
sys/dev/sdmmc/sdmmcchip.h
128
#define sdmmc_spi_chip_initialize(tag, handle) \
sys/dev/sdmmc/sdmmcchip.h
129
((tag)->initialize((handle)))
sys/dev/sdmmc/sdmmcchip.h
71
#define sdmmc_chip_host_reset(tag, handle) \
sys/dev/sdmmc/sdmmcchip.h
72
((tag)->host_reset((handle)))
sys/dev/sdmmc/sdmmcchip.h
74
#define sdmmc_chip_host_ocr(tag, handle) \
sys/dev/sdmmc/sdmmcchip.h
75
((tag)->host_ocr((handle)))
sys/dev/sdmmc/sdmmcchip.h
76
#define sdmmc_chip_host_maxblklen(tag, handle) \
sys/dev/sdmmc/sdmmcchip.h
77
((tag)->host_maxblklen((handle)))
sys/dev/sdmmc/sdmmcchip.h
79
#define sdmmc_chip_card_detect(tag, handle) \
sys/dev/sdmmc/sdmmcchip.h
80
((tag)->card_detect((handle)))
sys/dev/sdmmc/sdmmcchip.h
82
#define sdmmc_chip_write_protect(tag, handle) \
sys/dev/sdmmc/sdmmcchip.h
83
((tag)->write_protect((handle)))
sys/dev/sdmmc/sdmmcchip.h
85
#define sdmmc_chip_bus_power(tag, handle, ocr) \
sys/dev/sdmmc/sdmmcchip.h
86
((tag)->bus_power((handle), (ocr)))
sys/dev/sdmmc/sdmmcchip.h
87
#define sdmmc_chip_bus_clock(tag, handle, freq, ddr) \
sys/dev/sdmmc/sdmmcchip.h
88
((tag)->bus_clock_ddr ? (tag)->bus_clock_ddr((handle), (freq), (ddr)) : ((ddr) ? EINVAL : ((tag)->bus_clock((handle), (freq)))))
sys/dev/sdmmc/sdmmcchip.h
89
#define sdmmc_chip_bus_width(tag, handle, width) \
sys/dev/sdmmc/sdmmcchip.h
90
((tag)->bus_width((handle), (width)))
sys/dev/sdmmc/sdmmcchip.h
91
#define sdmmc_chip_bus_rod(tag, handle, width) \
sys/dev/sdmmc/sdmmcchip.h
92
((tag)->bus_rod((handle), (width)))
sys/dev/sdmmc/sdmmcchip.h
94
#define sdmmc_chip_exec_command(tag, handle, cmdp) \
sys/dev/sdmmc/sdmmcchip.h
95
((tag)->exec_command((handle), (cmdp)))
sys/dev/sdmmc/sdmmcchip.h
97
#define sdmmc_chip_card_enable_intr(tag, handle, enable) \
sys/dev/sdmmc/sdmmcchip.h
98
((tag)->card_enable_intr((handle), (enable)))
sys/dev/sdmmc/sdmmcchip.h
99
#define sdmmc_chip_card_intr_ack(tag, handle) \
sys/dev/smbiosvar.h
191
uint16_t handle; /* chassis handle */
sys/dev/smbiosvar.h
90
uint16_t handle;
sys/dev/vme/vmevar.h
108
#define vme_space_map(vc, vmeaddr, len, am, datasize, swap, tag, handle, resc) \
sys/dev/vme/vmevar.h
110
(swap), (tag), (handle), (resc))
sys/dev/vme/vmevar.h
126
#define vme_intr_evcnt(vc, handle) \
sys/dev/vme/vmevar.h
127
(*((vc)->vct_int_evcnt))((vc)->cookie, (handle))
sys/dev/vme/vmevar.h
128
#define vme_intr_establish(vc, handle, prio, func, arg) \
sys/dev/vme/vmevar.h
130
(handle), (prio), (func), (arg))
sys/dev/vme/xd.c
456
xdc_probe(void *arg, bus_space_tag_t tag, bus_space_handle_t handle)
sys/dev/vme/xd.c
458
struct xdc *xdc = (void *)handle; /* XXX */
sys/dev/vme/xy.c
370
xyc_probe(void *arg, bus_space_tag_t tag, bus_space_handle_t handle)
sys/dev/vme/xy.c
372
struct xyc *xyc = (void *)handle; /* XXX */
sys/fs/nfs/nlm/nlm.h
131
extern void nlm_deregister_wait_lock(void *handle);
sys/fs/nfs/nlm/nlm.h
141
extern int nlm_wait_lock(void *handle, int timo);
sys/fs/nfs/nlm/nlm_prot_impl.c
1352
nlm_deregister_wait_lock(void *handle)
sys/fs/nfs/nlm/nlm_prot_impl.c
1354
struct nlm_waiting_lock *nw = handle;
sys/fs/nfs/nlm/nlm_prot_impl.c
1364
nlm_wait_lock(void *handle, int timo)
sys/fs/nfs/nlm/nlm_prot_impl.c
1366
struct nlm_waiting_lock *nw = handle;
sys/kern/kern_fileassoc.c
92
#define FILEASSOC_HASH(tbl, handle) \
sys/kern/kern_fileassoc.c
93
(hash32_buf((handle), FHANDLE_SIZE(handle), HASH32_BUF_INIT) \
sys/kern/subr_device.c
132
sysdflt_lookup_device_call(devhandle_t handle, const char *name,
sys/kern/subr_device.c
149
devhandle_lookup_device_call(devhandle_t handle, const char *name,
sys/kern/subr_device.c
159
*call_handlep = handle;
sys/kern/subr_device.c
161
for (impl = handle.impl; impl != NULL; impl = impl->super) {
sys/kern/subr_device.c
163
call = impl->lookup_device_call(handle, name,
sys/kern/subr_device.c
172
return sysdflt_lookup_device_call(handle, name, call_handlep);
sys/kern/subr_device.c
190
devhandle_subclass(devhandle_t handle,
sys/kern/subr_device.c
194
devhandle_impl_subclass(new_impl, handle.impl, new_lookup);
sys/kern/subr_device.c
195
handle.impl = new_impl;
sys/kern/subr_device.c
197
return handle;
sys/kern/subr_device.c
393
device_set_handle(device_t dev, devhandle_t handle)
sys/kern/subr_device.c
395
dev->dv_handle = handle;
sys/kern/subr_device.c
405
device_call_generic(device_t dev, devhandle_t handle,
sys/kern/subr_device.c
411
call = devhandle_lookup_device_call(handle, gen->name, &call_handle);
sys/kern/subr_device.c
59
devhandle_is_valid(devhandle_t handle)
sys/kern/subr_device.c
61
return devhandle_is_valid_internal(&handle);
sys/kern/subr_device.c
75
devhandle_type(devhandle_t handle)
sys/kern/subr_device.c
77
if (!devhandle_is_valid_internal(&handle)) {
sys/kern/subr_device.c
81
return handle.impl->type;
sys/kern/sys_aio.c
1196
struct aiocbp *handle = NULL;
sys/kern/sys_aio.c
1200
error = aiocbp_remove_job(aiosp, uptr, &job, &handle);
sys/kern/sys_aio.c
1206
if (handle) {
sys/kern/sys_aio.c
1207
kmem_free(handle, sizeof(*handle));
sys/kern/sys_aio.c
1214
if (handle) {
sys/kern/sys_aio.c
1215
kmem_free(handle, sizeof(*handle));
sys/kern/sys_aio.c
1232
if (handle) {
sys/kern/sys_aio.c
1233
kmem_free(handle, sizeof(*handle));
sys/netbt/hci_event.c
384
uint16_t handle, num;
sys/netbt/hci_event.c
393
if (m->m_pkthdr.len < ep.num_con_handles * (sizeof(handle) + sizeof(num)))
sys/netbt/hci_event.c
397
m_copydata(m, 0, sizeof(handle), &handle);
sys/netbt/hci_event.c
398
m_adj(m, sizeof(handle));
sys/netbt/hci_event.c
399
handle = le16toh(handle);
sys/netbt/hci_event.c
405
link = hci_link_lookup_handle(unit, handle);
sys/netbt/hci_event.c
418
handle, num, (num == 1 ? "" : "s"));
sys/netbt/hci_link.c
1049
hci_link_lookup_handle(struct hci_unit *unit, uint16_t handle)
sys/netbt/hci_link.c
1056
if (handle == link->hl_handle)
sys/netbt/hci_link.c
429
uint16_t handle, want;
sys/netbt/hci_link.c
445
handle = HCI_CON_HANDLE(hdr.con_handle);
sys/netbt/hci_link.c
451
link = hci_link_lookup_handle(unit, handle);
sys/netbt/hci_link.c
456
device_xname(unit->hci_dev), handle);
sys/netbt/hci_link.c
469
cp.con_handle = htole16(handle);
sys/netbt/hci_link.c
629
uint16_t handle;
sys/netbt/hci_link.c
660
handle = HCI_MK_CON_HANDLE(link->hl_handle,
sys/netbt/hci_link.c
663
handle = HCI_MK_CON_HANDLE(link->hl_handle,
sys/netbt/hci_link.c
672
hdr->con_handle = htole16(handle);
sys/netbt/hci_link.c
837
uint16_t handle;
sys/netbt/hci_link.c
851
handle = HCI_CON_HANDLE(hdr.con_handle);
sys/netbt/hci_link.c
856
link = hci_link_lookup_handle(unit, handle);
sys/netbt/hci_link.c
859
device_xname(unit->hci_dev), handle);
sys/netbt/l2cap_upper.c
100
*handle = chan;
sys/netbt/l2cap_upper.c
268
l2cap_detach_pcb(struct l2cap_channel **handle)
sys/netbt/l2cap_upper.c
272
chan = *handle;
sys/netbt/l2cap_upper.c
273
*handle = NULL;
sys/netbt/l2cap_upper.c
61
l2cap_attach_pcb(struct l2cap_channel **handle,
sys/netbt/l2cap_upper.c
66
KASSERT(handle != NULL);
sys/netbt/rfcomm_upper.c
278
rfcomm_detach_pcb(struct rfcomm_dlc **handle)
sys/netbt/rfcomm_upper.c
280
struct rfcomm_dlc *dlc = *handle;
sys/netbt/rfcomm_upper.c
289
*handle = NULL;
sys/netbt/rfcomm_upper.c
64
rfcomm_attach_pcb(struct rfcomm_dlc **handle,
sys/netbt/rfcomm_upper.c
69
KASSERT(handle != NULL);
sys/netbt/rfcomm_upper.c
96
*handle = dlc;
sys/netbt/sco_upper.c
230
sco_detach_pcb(struct sco_pcb **handle)
sys/netbt/sco_upper.c
234
KASSERT(handle != NULL);
sys/netbt/sco_upper.c
235
pcb = *handle;
sys/netbt/sco_upper.c
236
*handle = NULL;
sys/netbt/sco_upper.c
61
sco_attach_pcb(struct sco_pcb **handle,
sys/netbt/sco_upper.c
66
KASSERT(handle != NULL);
sys/netbt/sco_upper.c
80
*handle = pcb;
sys/stand/efiboot/smbios.h
186
uint16_t handle; /* chassis handle */
sys/stand/efiboot/smbios.h
85
uint16_t handle;
sys/sys/device.h
741
#define devhandle_call(handle, call) \
sys/sys/device.h
742
device_call_generic(NULL, (handle), &(call)->generic)
sys/sys/timepps.h
191
time_pps_create(int filedes, pps_handle_t *handle)
sys/sys/timepps.h
194
*handle = filedes;
sys/sys/timepps.h
199
time_pps_destroy(pps_handle_t handle)
sys/sys/timepps.h
206
time_pps_setparams(pps_handle_t handle, const pps_params_t *ppsparams)
sys/sys/timepps.h
209
return (ioctl(handle, PPS_IOC_SETPARAMS, __UNCONST(ppsparams)));
sys/sys/timepps.h
213
time_pps_getparams(pps_handle_t handle, pps_params_t *ppsparams)
sys/sys/timepps.h
216
return (ioctl(handle, PPS_IOC_GETPARAMS, ppsparams));
sys/sys/timepps.h
220
time_pps_getcap(pps_handle_t handle, int *mode)
sys/sys/timepps.h
223
return (ioctl(handle, PPS_IOC_GETCAP, mode));
sys/sys/timepps.h
227
time_pps_fetch(pps_handle_t handle, const int tsformat, pps_info_t *ppsinfobuf,
sys/sys/timepps.h
231
return (ioctl(handle, PPS_IOC_FETCH, ppsinfobuf));
sys/sys/timepps.h
235
time_pps_kcbind(pps_handle_t handle, const int kernel_consumer, const int edge,
sys/sys/timepps.h
244
return (ioctl(handle, PPS_IOC_KCBIND, __UNCONST(&edge)));
tests/lib/csu/h_initfini3.cxx
12
void *handle;
tests/lib/csu/h_initfini3.cxx
15
handle = dlopen("h_initfini3_dso.so", RTLD_NOW | RTLD_LOCAL);
tests/lib/csu/h_initfini3.cxx
16
if (handle == NULL)
tests/lib/csu/h_initfini3.cxx
19
dlclose(handle);
tests/lib/libc/tls/t_tls_dlopen.c
105
dlclose(handle);
tests/lib/libc/tls/t_tls_dlopen.c
84
void *handle;
tests/lib/libc/tls/t_tls_dlopen.c
91
handle = dlopen("h_tls_dlopen.so", RTLD_NOW | RTLD_LOCAL);
tests/lib/libc/tls/t_tls_dlopen.c
92
ATF_REQUIRE(handle != NULL);
tests/lib/libc/tls/t_tls_dlopen.c
94
testf_helper = dlsym(handle, "testf_dso_helper");
tests/lib/libpthread/dlopen/t_dlopen.c
103
ATF_REQUIRE(dlclose(handle) == 0);
tests/lib/libpthread/dlopen/t_dlopen.c
137
void *handle;
tests/lib/libpthread/dlopen/t_dlopen.c
143
handle = dlopen(DSO, flags);
tests/lib/libpthread/dlopen/t_dlopen.c
144
ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
tests/lib/libpthread/dlopen/t_dlopen.c
146
testf_dso_mutex_unlock = dlsym(handle, "testf_dso_mutex_unlock");
tests/lib/libpthread/dlopen/t_dlopen.c
152
dlclose(handle);
tests/lib/libpthread/dlopen/t_dlopen.c
186
void *handle;
tests/lib/libpthread/dlopen/t_dlopen.c
191
handle = dlopen(DSO, flags);
tests/lib/libpthread/dlopen/t_dlopen.c
192
ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
tests/lib/libpthread/dlopen/t_dlopen.c
194
testf_dso_mutex_lock = dlsym(handle, "testf_dso_mutex_lock");
tests/lib/libpthread/dlopen/t_dlopen.c
202
dlclose(handle);
tests/lib/libpthread/dlopen/t_dlopen.c
48
void *handle;
tests/lib/libpthread/dlopen/t_dlopen.c
50
handle = dlopen(DSO, flags);
tests/lib/libpthread/dlopen/t_dlopen.c
51
ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
tests/lib/libpthread/dlopen/t_dlopen.c
53
testf_dso_null = dlsym(handle, "testf_dso_null");
tests/lib/libpthread/dlopen/t_dlopen.c
58
ATF_REQUIRE(dlclose(handle) == 0);
tests/lib/libpthread/dlopen/t_dlopen.c
87
void *handle;
tests/lib/libpthread/dlopen/t_dlopen.c
93
handle = dlopen(DSO, flags);
tests/lib/libpthread/dlopen/t_dlopen.c
94
ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
tests/lib/libpthread/dlopen/t_dlopen.c
96
testf_dso_null = dlsym(handle, "testf_dso_null");
tests/lib/libpthread/dlopen/t_dso_pthread_create.c
102
ATF_REQUIRE(dlclose(handle) == 0);
tests/lib/libpthread/dlopen/t_dso_pthread_create.c
80
void *handle;
tests/lib/libpthread/dlopen/t_dso_pthread_create.c
85
handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
tests/lib/libpthread/dlopen/t_dso_pthread_create.c
86
ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
tests/lib/libpthread/dlopen/t_dso_pthread_create.c
88
testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create");
tests/lib/libpthread/dlopen/t_main_pthread_create.c
82
void *handle;
tests/lib/libpthread/dlopen/t_main_pthread_create.c
86
handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL);
tests/lib/libpthread/dlopen/t_main_pthread_create.c
87
ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror());
tests/lib/libpthread/dlopen/t_main_pthread_create.c
89
testf_dso_pthread_create = dlsym(handle, "testf_dso_pthread_create");
tests/lib/libpthread/dlopen/t_main_pthread_create.c
96
ATF_REQUIRE(dlclose(handle) == 0);
tests/libexec/ld.elf_so/h_df_1_noopen.c
38
void *handle;
tests/libexec/ld.elf_so/h_df_1_noopen.c
40
handle = dlopen("libpthread.so", RTLD_NOLOAD);
tests/libexec/ld.elf_so/h_df_1_noopen.c
41
if (handle == NULL)
tests/libexec/ld.elf_so/t_dlclose_thread.c
168
void *handle;
tests/libexec/ld.elf_so/t_dlclose_thread.c
181
handle = dlopen("libh_helper_recurdso.so", RTLD_LAZY | RTLD_LOCAL);
tests/libexec/ld.elf_so/t_dlclose_thread.c
182
ATF_REQUIRE_MSG(handle != NULL, "%s", dlerror());
tests/libexec/ld.elf_so/t_dlclose_thread.c
183
ATF_REQUIRE_MSG((error = dlclose(handle)) == 0,
tests/libexec/ld.elf_so/t_dlclose_thread.c
205
void *handle;
tests/libexec/ld.elf_so/t_dlclose_thread.c
218
handle = dlopen("libh_helper_recurdso2.so", RTLD_LAZY | RTLD_LOCAL);
tests/libexec/ld.elf_so/t_dlclose_thread.c
219
ATF_REQUIRE_MSG(handle != NULL, "%s", dlerror());
tests/libexec/ld.elf_so/t_dlclose_thread.c
220
ATF_REQUIRE_MSG((error = dlclose(handle)) == 0,
tests/libexec/ld.elf_so/t_dlclose_thread.c
56
void *handle;
tests/libexec/ld.elf_so/t_dlclose_thread.c
60
handle = dlopen(path, RTLD_LAZY | RTLD_LOCAL);
tests/libexec/ld.elf_so/t_dlclose_thread.c
61
ATF_REQUIRE(handle != NULL);
tests/libexec/ld.elf_so/t_dlclose_thread.c
62
dlclose(handle);
tests/libexec/ld.elf_so/t_dlerror-cleared.c
47
void *handle;
tests/libexec/ld.elf_so/t_dlerror-cleared.c
54
handle = dlopen("libnonexistent.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_dlerror-cleared.c
55
ATF_CHECK(handle == NULL);
tests/libexec/ld.elf_so/t_dlerror-cleared.c
56
handle = dlopen("libm.so", RTLD_NOW);
tests/libexec/ld.elf_so/t_dlerror-cleared.c
57
ATF_CHECK(handle);
tests/libexec/ld.elf_so/t_dlerror-false.c
47
void *handle, *sym;
tests/libexec/ld.elf_so/t_dlerror-false.c
57
handle = dlopen("libm.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_dlerror-false.c
60
ATF_CHECK(handle != NULL);
tests/libexec/ld.elf_so/t_dlerror-false.c
62
sym = dlsym(handle, "sin");
tests/libexec/ld.elf_so/t_dlerror-false.c
67
dlclose(handle);
tests/libexec/ld.elf_so/t_dlinfo.c
75
void *handle;
tests/libexec/ld.elf_so/t_dlinfo.c
78
handle = dlopen("libutil.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_dlinfo.c
79
ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror());
tests/libexec/ld.elf_so/t_dlinfo.c
81
rv = dlinfo(handle, RTLD_DI_LINKMAP, &map);
tests/libexec/ld.elf_so/t_dlinfo.c
84
ATF_CHECK_EQ_MSG(dlclose(handle), 0, "dlclose: %s", dlerror());
tests/libexec/ld.elf_so/t_dlinfo.c
95
void *handle;
tests/libexec/ld.elf_so/t_dlinfo.c
97
handle = dlopen("libutil.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_dlinfo.c
98
ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror());
tests/libexec/ld.elf_so/t_dlvsym.c
110
void *handle;
tests/libexec/ld.elf_so/t_dlvsym.c
117
handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_dlvsym.c
120
ATF_CHECK(handle != NULL);
tests/libexec/ld.elf_so/t_dlvsym.c
122
sym = dlvsym(handle, "symbol_nonexistent", "V_3");
tests/libexec/ld.elf_so/t_dlvsym.c
127
dlclose(handle);
tests/libexec/ld.elf_so/t_dlvsym.c
140
void *handle;
tests/libexec/ld.elf_so/t_dlvsym.c
147
handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_dlvsym.c
150
ATF_CHECK(handle != NULL);
tests/libexec/ld.elf_so/t_dlvsym.c
152
sym = dlvsym(handle, "testfunc", "");
tests/libexec/ld.elf_so/t_dlvsym.c
157
dlclose(handle);
tests/libexec/ld.elf_so/t_dlvsym.c
170
void *handle;
tests/libexec/ld.elf_so/t_dlvsym.c
178
handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_dlvsym.c
181
ATF_CHECK(handle != NULL);
tests/libexec/ld.elf_so/t_dlvsym.c
183
sym = dlvsym(handle, "testfunc", NULL);
tests/libexec/ld.elf_so/t_dlvsym.c
190
dlclose(handle);
tests/libexec/ld.elf_so/t_dlvsym.c
45
void *handle;
tests/libexec/ld.elf_so/t_dlvsym.c
53
handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_dlvsym.c
56
ATF_CHECK(handle != NULL);
tests/libexec/ld.elf_so/t_dlvsym.c
58
sym = dlvsym(handle, "testfunc", "V_1");
tests/libexec/ld.elf_so/t_dlvsym.c
65
dlclose(handle);
tests/libexec/ld.elf_so/t_dlvsym.c
77
void *handle;
tests/libexec/ld.elf_so/t_dlvsym.c
85
handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_dlvsym.c
88
ATF_CHECK(handle != NULL);
tests/libexec/ld.elf_so/t_dlvsym.c
90
sym = dlvsym(handle, "testfunc", "V_3");
tests/libexec/ld.elf_so/t_dlvsym.c
97
dlclose(handle);
tests/libexec/ld.elf_so/t_ifunc.c
118
void *handle;
tests/libexec/ld.elf_so/t_ifunc.c
131
handle = dlopen("libh_helper_ifunc_dso.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_ifunc.c
134
ATF_CHECK(handle != NULL);
tests/libexec/ld.elf_so/t_ifunc.c
136
sym = dlsym(handle, "ifunc_plt");
tests/libexec/ld.elf_so/t_ifunc.c
144
sym2 = dlsym(handle, "ifunc_indirect");
tests/libexec/ld.elf_so/t_ifunc.c
153
dlclose(handle);
tests/libexec/ld.elf_so/t_ifunc.c
65
void *handle;
tests/libexec/ld.elf_so/t_ifunc.c
77
handle = dlopen("libh_helper_ifunc_dso.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_ifunc.c
80
ATF_CHECK(handle != NULL);
tests/libexec/ld.elf_so/t_ifunc.c
82
sym = dlsym(handle, "ifunc");
tests/libexec/ld.elf_so/t_ifunc.c
90
dlclose(handle);
tests/libexec/ld.elf_so/t_rtld_r_debug.c
179
void *handle;
tests/libexec/ld.elf_so/t_rtld_r_debug.c
182
handle = dlopen("libutil.so", RTLD_LAZY);
tests/libexec/ld.elf_so/t_rtld_r_debug.c
183
ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror());
tests/libexec/ld.elf_so/t_rtld_r_debug.c
187
ATF_REQUIRE_EQ_MSG(dlinfo(handle, RTLD_DI_LINKMAP, &map), 0,
tests/libexec/ld.elf_so/t_rtld_r_debug.c
191
ATF_CHECK_EQ_MSG(dlclose(handle), 0, "dlclose: %s", dlerror());
tests/rump/rumpkern/t_modcmd.c
119
void *handle;
tests/rump/rumpkern/t_modcmd.c
136
handle = dlopen(TMPFSMODULE, RTLD_GLOBAL);
tests/rump/rumpkern/t_modcmd.c
137
if (handle == NULL) {
tests/rump/rumpkern/t_modcmd.c
143
mi_start = dlsym(handle, "__start_link_set_modules");
tests/rump/rumpkern/t_modcmd.c
144
mi_end = dlsym(handle, "__stop_link_set_modules");
tests/rump/rumpkern/t_modcmd.c
168
if (dlclose(handle)) {
usr.bin/rpcinfo/rpcinfo.c
1599
void *handle;
usr.bin/rpcinfo/rpcinfo.c
1603
if ((handle = __rpc_setconf(tlist[i])) == NULL)
usr.bin/rpcinfo/rpcinfo.c
1606
if ((nconf = __rpc_getconf(handle)) == NULL) {
usr.bin/rpcinfo/rpcinfo.c
1614
__rpc_endconf(handle);
usr.bin/sdpquery/command.c
119
unsigned long handle;
usr.bin/sdpquery/command.c
128
handle = strtoul(*argv, &ep, 0);
usr.bin/sdpquery/command.c
129
if (*argv[0] == '\0' || *ep != '\0' || handle > UINT32_MAX)
usr.bin/sdpquery/command.c
132
rv = sdp_service_attribute(ss, (uint32_t)handle, NULL, &rsp);
usr.sbin/acpitools/aml/aml_common.c
642
struct aml_region_handle handle;
usr.sbin/acpitools/aml/aml_common.c
645
baseaddr, bitoffset, bitlen, &handle);
usr.sbin/acpitools/aml/aml_common.c
651
offset = bitoffset % (handle.unit * 8);
usr.sbin/acpitools/aml/aml_common.c
653
bytelen = (handle.bytelen > 4) ? 4 : handle.bytelen;
usr.sbin/acpitools/aml/aml_common.c
657
for (i = 0; i < bytelen; i += handle.unit) {
usr.sbin/acpitools/aml/aml_common.c
658
state = aml_region_read_simple(&handle, i, &value);
usr.sbin/acpitools/aml/aml_common.c
665
regtype, readval, handle.addr, offset, bitlen);
usr.sbin/acpitools/aml/aml_common.c
673
value = aml_region_prompt_read(&handle, value);
usr.sbin/acpitools/aml/aml_common.c
674
state = aml_region_prompt_update_value(readval, value, &handle);
usr.sbin/acpitools/aml/aml_common.c
685
value = aml_region_prompt_write(&handle, value);
usr.sbin/acpitools/aml/aml_common.c
687
handle.addr, offset, bitlen);
usr.sbin/acpitools/aml/aml_common.c
688
for (i = 0; i < bytelen; i += handle.unit) {
usr.sbin/acpitools/aml/aml_common.c
689
state = aml_region_write_simple(&handle, i, value);
usr.sbin/acpitools/aml/aml_common.c
693
value = value >> (handle.unit * 8);
usr.sbin/acpitools/aml/aml_common.c
698
aml_region_handle_free(&handle);
usr.sbin/altq/altqstat/qdisc_cbq.c
101
sp->handle, ifname, clnames[i]);
usr.sbin/altq/altqstat/qdisc_cbq.c
112
if (lp->handle != NULL_CLASS_HANDLE) {
usr.sbin/altq/altqstat/qdisc_cbq.c
94
if (sp->handle != clhandles[i]) {
usr.sbin/altq/altqstat/qdisc_cbq.c
95
quip_chandle2name(ifname, sp->handle,
usr.sbin/altq/altqstat/qdisc_cbq.c
97
clhandles[i] = sp->handle;
usr.sbin/altq/altqstat/quip_client.c
372
quip_chandle2name(const char *ifname, u_long handle, char *name, size_t size)
usr.sbin/altq/altqstat/quip_client.c
382
snprintf(req, sizeof(req), "GET handle-to-name?%s:%#lx\n", ifname, handle);
usr.sbin/altq/altqstat/quip_client.c
423
quip_printfilter(const char *ifname, const u_long handle)
usr.sbin/altq/altqstat/quip_client.c
434
snprintf(req, sizeof(req), "GET filter?%s::%#lx\n", ifname, handle);
usr.sbin/altq/altqstat/quip_client.c
469
u_long handle;
usr.sbin/altq/altqstat/quip_client.c
487
if (sscanf(cp, "%lx %255s", &handle, name) != 2)
usr.sbin/altq/altqstat/quip_client.c
500
name, handle);
usr.sbin/altq/altqstat/quip_client.c
505
name, handle);
usr.sbin/altq/altqstat/quip_client.c
510
quip_printfilter(extract_ifname(name), handle);
usr.sbin/altq/altqstat/quip_client.c
511
printf("] (handle:%#lx)\n", handle);
usr.sbin/altq/libaltq/altq_qop.h
118
u_long handle; /* filter handle */
usr.sbin/altq/libaltq/altq_qop.h
173
struct classinfo * clhandle2clinfo(struct ifinfo *ifinfo, u_long handle);
usr.sbin/altq/libaltq/altq_qop.h
176
struct fltrinfo *flhandle2fltrinfo(struct ifinfo *ifinfo, u_long handle);
usr.sbin/altq/libaltq/altq_qop.h
98
u_long handle; /* class handle */
usr.sbin/altq/libaltq/qop.c
709
clhandle2clinfo(struct ifinfo *ifinfo, u_long handle)
usr.sbin/altq/libaltq/qop.c
714
if (clinfo->handle == handle)
usr.sbin/altq/libaltq/qop.c
732
flhandle2fltrinfo(struct ifinfo *ifinfo, u_long handle)
usr.sbin/altq/libaltq/qop.c
737
if (fltrinfo->handle == handle)
usr.sbin/altq/libaltq/qop_cbq.c
1016
clinfo->handle = class_add.cbq_class_handle;
usr.sbin/altq/libaltq/qop_cbq.c
1031
class_mod.cbq_class_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cbq.c
1047
class_delete.cbq_class_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cbq.c
1062
fltr_add.cbq_class_handle = fltrinfo->clinfo->handle;
usr.sbin/altq/libaltq/qop_cbq.c
1067
fltrinfo->handle = fltr_add.cbq_filter_handle;
usr.sbin/altq/libaltq/qop_cbq.c
1079
fltr_del.cbq_filter_handle = fltrinfo->handle;
usr.sbin/altq/libaltq/qop_cbq.c
595
parent_handle = parent != NULL ? parent->handle : NULL_CLASS_HANDLE;
usr.sbin/altq/libaltq/qop_cbq.c
596
borrow_handle = borrow != NULL ? borrow->handle : NULL_CLASS_HANDLE;
usr.sbin/altq/libaltq/qop_cdnr.c
102
return (clinfo->handle);
usr.sbin/altq/libaltq/qop_cdnr.c
156
rp->tca_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cdnr.c
186
rp->tca_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cdnr.c
221
rp->tca_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cdnr.c
258
rp->tca_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cdnr.c
747
clinfo->handle = 0;
usr.sbin/altq/libaltq/qop_cdnr.c
758
clinfo->handle = CDNR_NULL_HANDLE;
usr.sbin/altq/libaltq/qop_cdnr.c
761
clinfo->handle = element_add.cdnr_handle;
usr.sbin/altq/libaltq/qop_cdnr.c
772
clinfo->handle = CDNR_NULL_HANDLE;
usr.sbin/altq/libaltq/qop_cdnr.c
775
clinfo->handle = tbmeter_add.cdnr_handle;
usr.sbin/altq/libaltq/qop_cdnr.c
789
clinfo->handle = CDNR_NULL_HANDLE;
usr.sbin/altq/libaltq/qop_cdnr.c
792
clinfo->handle = trtcm_add.cdnr_handle;
usr.sbin/altq/libaltq/qop_cdnr.c
806
clinfo->handle = CDNR_NULL_HANDLE;
usr.sbin/altq/libaltq/qop_cdnr.c
809
clinfo->handle = tswtcm_add.cdnr_handle;
usr.sbin/altq/libaltq/qop_cdnr.c
833
tbmeter_modify.cdnr_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cdnr.c
843
trtcm_modify.cdnr_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cdnr.c
857
tswtcm_modify.cdnr_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cdnr.c
876
if (clinfo->handle == CDNR_NULL_HANDLE)
usr.sbin/altq/libaltq/qop_cdnr.c
882
element_delete.cdnr_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_cdnr.c
897
fltr_add.cdnr_handle = fltrinfo->clinfo->handle;
usr.sbin/altq/libaltq/qop_cdnr.c
902
fltrinfo->handle = fltr_add.filter_handle;
usr.sbin/altq/libaltq/qop_cdnr.c
914
fltr_del.filter_handle = fltrinfo->handle;
usr.sbin/altq/libaltq/qop_hfsc.c
1083
class_add.parent_handle = clinfo->parent->handle;
usr.sbin/altq/libaltq/qop_hfsc.c
1090
clinfo->handle = HFSC_NULLCLASS_HANDLE;
usr.sbin/altq/libaltq/qop_hfsc.c
1093
clinfo->handle = class_add.class_handle;
usr.sbin/altq/libaltq/qop_hfsc.c
1109
class_mod.class_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_hfsc.c
1130
if (clinfo->handle == HFSC_NULLCLASS_HANDLE)
usr.sbin/altq/libaltq/qop_hfsc.c
1136
class_delete.class_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_hfsc.c
1151
fltr_add.class_handle = fltrinfo->clinfo->handle;
usr.sbin/altq/libaltq/qop_hfsc.c
1156
fltrinfo->handle = fltr_add.filter_handle;
usr.sbin/altq/libaltq/qop_hfsc.c
1168
fltr_del.filter_handle = fltrinfo->handle;
usr.sbin/altq/libaltq/qop_jobs.c
623
clinfo->handle = JOBS_NULLCLASS_HANDLE;
usr.sbin/altq/libaltq/qop_jobs.c
626
clinfo->handle = class_add.class_handle;
usr.sbin/altq/libaltq/qop_jobs.c
640
class_mod.class_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_jobs.c
660
if (clinfo->handle == JOBS_NULLCLASS_HANDLE)
usr.sbin/altq/libaltq/qop_jobs.c
666
class_delete.class_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_jobs.c
681
fltr_add.class_handle = fltrinfo->clinfo->handle;
usr.sbin/altq/libaltq/qop_jobs.c
686
fltrinfo->handle = fltr_add.filter_handle;
usr.sbin/altq/libaltq/qop_jobs.c
698
fltr_del.filter_handle = fltrinfo->handle;
usr.sbin/altq/libaltq/qop_priq.c
443
clinfo->handle = PRIQ_NULLCLASS_HANDLE;
usr.sbin/altq/libaltq/qop_priq.c
446
clinfo->handle = class_add.class_handle;
usr.sbin/altq/libaltq/qop_priq.c
460
class_mod.class_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_priq.c
476
if (clinfo->handle == PRIQ_NULLCLASS_HANDLE)
usr.sbin/altq/libaltq/qop_priq.c
482
class_delete.class_handle = clinfo->handle;
usr.sbin/altq/libaltq/qop_priq.c
497
fltr_add.class_handle = fltrinfo->clinfo->handle;
usr.sbin/altq/libaltq/qop_priq.c
502
fltrinfo->handle = fltr_add.filter_handle;
usr.sbin/altq/libaltq/qop_priq.c
514
fltr_del.filter_handle = fltrinfo->handle;
usr.sbin/altq/libaltq/quip_server.c
215
u_long handle;
usr.sbin/altq/libaltq/quip_server.c
224
if (sscanf(fltr_field, "%lx", &handle) != 1)
usr.sbin/altq/libaltq/quip_server.c
228
if ((fltrinfo = flhandle2fltrinfo(ifinfo, handle)) == NULL)
usr.sbin/altq/libaltq/quip_server.c
233
if (sscanf(class_field, "%lx", &handle) != 1)
usr.sbin/altq/libaltq/quip_server.c
237
if ((clinfo = clhandle2clinfo(ifinfo, handle)) == NULL)
usr.sbin/altq/libaltq/quip_server.c
267
u_long handle;
usr.sbin/altq/libaltq/quip_server.c
277
if (sscanf(fltr_field, "%lx", &handle) != 1)
usr.sbin/altq/libaltq/quip_server.c
282
if ((fltrinfo = flhandle2fltrinfo(ifinfo, handle)) == NULL)
usr.sbin/altq/libaltq/quip_server.c
476
clinfo->handle, tmp);
usr.sbin/altq/libaltq/quip_server.c
488
fltrinfo->handle, tmp);
usr.sbin/intrctl/intrctl.c
135
void *handle;
usr.sbin/intrctl/intrctl.c
138
handle = intrctl_io_alloc(intrctl_io_alloc_retry_count);
usr.sbin/intrctl/intrctl.c
139
if (handle == NULL)
usr.sbin/intrctl/intrctl.c
143
ncpus = intrctl_io_ncpus(handle);
usr.sbin/intrctl/intrctl.c
145
for (illine = intrctl_io_firstline(handle); illine != NULL;
usr.sbin/intrctl/intrctl.c
146
illine = intrctl_io_nextline(handle, illine)) {
usr.sbin/intrctl/intrctl.c
159
for (illine = intrctl_io_firstline(handle); illine != NULL;
usr.sbin/intrctl/intrctl.c
160
illine = intrctl_io_nextline(handle, illine)) {
usr.sbin/intrctl/intrctl.c
185
for (illine = intrctl_io_firstline(handle); illine != NULL;
usr.sbin/intrctl/intrctl.c
186
illine = intrctl_io_nextline(handle, illine)) {
usr.sbin/intrctl/intrctl.c
241
intrctl_io_free(handle);
usr.sbin/intrctl/intrctl_io.c
101
struct intrio_list *list = handle;
usr.sbin/intrctl/intrctl_io.c
107
intrctl_io_firstline(void *handle)
usr.sbin/intrctl/intrctl_io.c
109
struct intrio_list *list = handle;
usr.sbin/intrctl/intrctl_io.c
122
intrctl_io_nextline(void *handle, struct intrio_list_line *cur)
usr.sbin/intrctl/intrctl_io.c
129
list = handle;
usr.sbin/intrctl/intrctl_io.c
84
intrctl_io_free(void *handle)
usr.sbin/intrctl/intrctl_io.c
87
free(handle);
usr.sbin/intrctl/intrctl_io.c
91
intrctl_io_ncpus(void *handle)
usr.sbin/intrctl/intrctl_io.c
93
struct intrio_list *list = handle;
usr.sbin/intrctl/intrctl_io.c
99
intrctl_io_nintrs(void *handle)
usr.sbin/npf/npfctl/npf_extmod.c
56
npf_extmod_sym(void *handle, const char *name, const char *func)
usr.sbin/npf/npfctl/npf_extmod.c
62
sym = dlsym(handle, buf);
usr.sbin/npf/npfctl/npf_extmod.c
73
void *handle;
usr.sbin/npf/npfctl/npf_extmod.c
77
handle = dlopen(extlib, RTLD_LAZY | RTLD_LOCAL);
usr.sbin/npf/npfctl/npf_extmod.c
78
if (handle == NULL) {
usr.sbin/npf/npfctl/npf_extmod.c
84
ext->init = npf_extmod_sym(handle, name, "init");
usr.sbin/npf/npfctl/npf_extmod.c
85
ext->cons = npf_extmod_sym(handle, name, "construct");
usr.sbin/npf/npfctl/npf_extmod.c
86
ext->param = npf_extmod_sym(handle, name, "param");
usr.sbin/sdpd/compat.c
816
if (!db_create(srv, fd, &bdaddr, srv->handle, &r))
usr.sbin/sdpd/compat.c
821
be32enc(srv->obuf + sizeof(uint16_t), srv->handle++);
usr.sbin/sdpd/compat.c
880
if (!db_create(srv, fd, &rec->bdaddr, rec->handle, &r))
usr.sbin/sdpd/db.c
133
srv->handle = 0x00010000; /* values 0x00000001->0x0000FFFF are reserved */
usr.sbin/sdpd/db.c
142
if (!db_create(srv, -1, BDADDR_ANY, srv->handle++, &d))
usr.sbin/sdpd/db.c
314
db_select_handle(server_t *srv, int fd, uint32_t handle)
usr.sbin/sdpd/db.c
327
if (handle == r->handle) {
usr.sbin/sdpd/db.c
341
db_create(server_t *srv, int fd, const bdaddr_t *bdaddr, uint32_t handle, sdp_data_t *data)
usr.sbin/sdpd/db.c
354
sdp_set_uint(&v, handle);
usr.sbin/sdpd/db.c
363
rec->handle = handle;
usr.sbin/sdpd/db.c
380
} while (n != NULL && n->handle < handle);
usr.sbin/sdpd/db.c
382
if (n != NULL && n->valid && n->handle == handle) {
usr.sbin/sdpd/record.c
146
if (!db_create(srv, fd, &rec->bdaddr, rec->handle, &seq))
usr.sbin/sdpd/record.c
85
if (!db_create(srv, fd, &bdaddr, srv->handle, &seq))
usr.sbin/sdpd/record.c
93
be32enc(srv->obuf + sizeof(uint16_t), srv->handle++);
usr.sbin/sdpd/sdpd.h
111
uint32_t handle; /* next ServiceRecordHandle */
usr.sbin/sdpd/sdpd.h
74
uint32_t handle; /* ServiceRecord handle */
usr.sbin/sdpd/service.c
126
be32enc(d.next, r->handle);
usr.sbin/sdpd/service.c
171
uint32_t handle;
usr.sbin/sdpd/service.c
185
handle = be32dec(d.next);
usr.sbin/sdpd/service.c
218
db_select_handle(srv, fd, handle);