Home
last modified time | relevance | path

Searched refs:cookiep (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data.c401 void *prev = *cookiep; in bhnd_nvram_data_next()
405 if ((name = nv->cls->op_next(nv, cookiep)) == NULL) in bhnd_nvram_data_next()
452 void *cookiep; in bhnd_nvram_data_generic_find() local
454 cookiep = NULL; in bhnd_nvram_data_generic_find()
455 while ((next = bhnd_nvram_data_next(nv, &cookiep))) { in bhnd_nvram_data_generic_find()
457 return (cookiep); in bhnd_nvram_data_generic_find()
549 name = bhnd_nvram_data_getvar_name(nv, cookiep); in bhnd_nvram_data_getvar_ptr_info()
638 return (nv->cls->op_copy_val(nv, cookiep, value)); in bhnd_nvram_data_copy_val()
654 void *cookiep, bhnd_nvram_val **value) in bhnd_nvram_data_generic_rp_copy_val() argument
697 return (nv->cls->op_getvar_ptr(nv, cookiep, len, type)); in bhnd_nvram_data_getvar_ptr()
[all …]
H A Dbhnd_nvram_store_subr.c190 index->cookiep[index->count] = cookiep; in bhnd_nvstore_index_append()
258 qsort_r(index->cookiep, index->count, sizeof(index->cookiep[0]), in bhnd_nvstore_index_prepare()
330 void *cookiep; in bhnd_nvstore_path_register_update() local
342 if (cookiep != NULL) { in bhnd_nvstore_path_register_update()
544 void *cookiep; in bhnd_nvstore_index_lookup() local
566 cookiep = index->cookiep[mid]; in bhnd_nvstore_index_lookup()
619 return (cookiep); in bhnd_nvstore_index_lookup()
627 return (cookiep); in bhnd_nvstore_index_lookup()
943 if (alias->cookiep != cookiep || in bhnd_nvstore_register_alias()
954 alias->cookiep != cookiep || in bhnd_nvstore_register_alias()
[all …]
H A Dbhnd_nvram_data_tlv.c100 size_t *next, void **cookiep);
104 void *cookiep);
111 void *cookiep);
469 if (*cookiep == NULL) { in bhnd_nvram_tlv_next()
538 BHND_NV_PANIC("invalid cookiep: %p", cookiep); in bhnd_nvram_tlv_getvar_ptr()
562 BHND_NV_PANIC("invalid cookiep: %p", cookiep); in bhnd_nvram_tlv_getvar_name()
750 void **cookiep) in bhnd_nvram_tlv_next_env() argument
777 if (cookiep != NULL) in bhnd_nvram_tlv_next_env()
778 *cookiep = c; in bhnd_nvram_tlv_next_env()
830 cookiep); in bhnd_nvram_tlv_get_env()
[all …]
H A Dbhnd_nvram_data_bcmraw.c377 bhnd_nvram_bcmraw_next(struct bhnd_nvram_data *nv, void **cookiep) in bhnd_nvram_bcmraw_next() argument
384 if (*cookiep == NULL) { in bhnd_nvram_bcmraw_next()
389 envp = *cookiep; in bhnd_nvram_bcmraw_next()
398 *cookiep = (void *)(uintptr_t)envp; in bhnd_nvram_bcmraw_next()
425 return (bhnd_nvram_data_generic_rp_getvar(nv, cookiep, buf, len, type)); in bhnd_nvram_bcmraw_getvar()
429 bhnd_nvram_bcmraw_copy_val(struct bhnd_nvram_data *nv, void *cookiep, in bhnd_nvram_bcmraw_copy_val() argument
432 return (bhnd_nvram_data_generic_rp_copy_val(nv, cookiep, value)); in bhnd_nvram_bcmraw_copy_val()
436 bhnd_nvram_bcmraw_getvar_ptr(struct bhnd_nvram_data *nv, void *cookiep, in bhnd_nvram_bcmraw_getvar_ptr() argument
442 envp = cookiep; in bhnd_nvram_bcmraw_getvar_ptr()
451 bhnd_nvram_bcmraw_getvar_name(struct bhnd_nvram_data *nv, void *cookiep) in bhnd_nvram_bcmraw_getvar_name() argument
[all …]
H A Dbhnd_nvram_data_bcm.c75 void *cookiep);
849 hvar = bhnd_nvram_bcm_to_hdrvar(bcm, *cookiep); in bhnd_nvram_bcm_next()
863 *cookiep = hvar_next; in bhnd_nvram_bcm_next()
873 if (*cookiep == NULL) { in bhnd_nvram_bcm_next()
878 envp = *cookiep; in bhnd_nvram_bcm_next()
919 *cookiep = &bcm->hvars[i]; in bhnd_nvram_bcm_next()
927 *cookiep = __DECONST(void *, envp); in bhnd_nvram_bcm_next()
1007 envp = cookiep; in bhnd_nvram_bcm_getvar_ptr()
1029 return (cookiep); in bhnd_nvram_bcm_getvar_name()
1093 if (cookiep < (void *)&bcm->hvars[0]) in bhnd_nvram_bcm_to_hdrvar()
[all …]
H A Dbhnd_nvram_store.c260 void *cookiep; in bhnd_nvstore_parse_data() local
271 cookiep = NULL; in bhnd_nvstore_parse_data()
338 cookiep = NULL; in bhnd_nvstore_parse_data()
358 cookiep); in bhnd_nvstore_parse_data()
397 void *cookiep; in bhnd_nvstore_parse_path_entries() local
410 cookiep = NULL; in bhnd_nvstore_parse_path_entries()
450 void *cookiep, *idxp; in bhnd_nvstore_export_merge() local
827 void *cookiep; in bhnd_nvram_store_export() local
948 cookiep = NULL; in bhnd_nvram_store_export()
1105 void *cookiep; in bhnd_nvram_store_getvar() local
[all …]
H A Dbhnd_nvram_datavar.h48 struct bhnd_nvram_data *nv, void *cookiep,
51 struct bhnd_nvram_data *nv, void *cookiep,
89 void **cookiep);
97 struct bhnd_nvram_data *nv, void *cookiep,
108 void *cookiep);
112 void *cookiep, void *buf, size_t *len,
117 struct bhnd_nvram_data *nv, void *cookiep,
H A Dbhnd_nvram_data_btxt.c81 void *cookiep);
587 bhnd_nvram_btxt_next(struct bhnd_nvram_data *nv, void **cookiep) in bhnd_nvram_btxt_next() argument
598 if (*cookiep == NULL) { in bhnd_nvram_btxt_next()
603 io_offset = bhnd_nvram_btxt_cookiep_to_offset(btxt, *cookiep); in bhnd_nvram_btxt_next()
629 *cookiep = bhnd_nvram_btxt_offset_to_cookiep(btxt, io_offset); in bhnd_nvram_btxt_next()
666 return (bhnd_nvram_data_generic_rp_copy_val(nv, cookiep, value)); in bhnd_nvram_btxt_copy_val()
683 io_offset = bhnd_nvram_btxt_cookiep_to_offset(btxt, cookiep); in bhnd_nvram_btxt_getvar_ptr()
729 io_offset = bhnd_nvram_btxt_cookiep_to_offset(btxt, cookiep); in bhnd_nvram_btxt_getvar_name()
733 BHND_NV_PANIC("invalid cookiep: %p", cookiep); in bhnd_nvram_btxt_getvar_name()
776 BHND_NV_ASSERT(cookiep != NULL, ("null cookiep")); in bhnd_nvram_btxt_cookiep_to_offset()
[all …]
H A Dbhnd_nvram_data.h126 void **cookiep);
135 void *cookiep, void *buf, size_t *len,
139 void *cookiep, size_t *len, bhnd_nvram_type *type);
142 void *cookiep);
145 void *cookiep, bhnd_nvram_val **val);
H A Dbhnd_nvram_data_sprom.c828 entry = *cookiep; in bhnd_nvram_sprom_next()
831 *cookiep = entry; in bhnd_nvram_sprom_next()
832 var = SPROM_COOKIE_TO_NVRAM_VAR(*cookiep); in bhnd_nvram_sprom_next()
841 error = bhnd_nvram_sprom_getvar(nv, *cookiep, NULL, in bhnd_nvram_sprom_next()
1284 BHND_NV_ASSERT(cookiep != NULL, ("NULL variable cookiep")); in bhnd_nvram_sprom_getvar_common()
1287 entry = cookiep; in bhnd_nvram_sprom_getvar_common()
1290 var = SPROM_COOKIE_TO_NVRAM_VAR(cookiep); in bhnd_nvram_sprom_getvar_common()
1291 BHND_NV_ASSERT(var != NULL, ("invalid cookiep %p", cookiep)); in bhnd_nvram_sprom_getvar_common()
1373 BHND_NV_ASSERT(cookiep != NULL, ("NULL variable cookiep")); in bhnd_nvram_sprom_getvar_name()
1375 var = SPROM_COOKIE_TO_NVRAM_VAR(cookiep); in bhnd_nvram_sprom_getvar_name()
[all …]
H A Dbhnd_nvram_storevar.h106 void *cookiep);
146 bhnd_nvstore_name_info *info, void *cookiep);
152 const bhnd_nvstore_name_info *info, void *cookiep);
234 void *cookiep[]; /**< cookiep values */ member
258 void *cookiep; /**< NVRAM variable's cookiep value */ member
/freebsd/sys/powerpc/powerpc/
H A Dnexus.c153 void **cookiep) in nexus_setup_intr() argument
160 if (cookiep != NULL) in nexus_setup_intr()
161 *cookiep = NULL; in nexus_setup_intr()
176 rman_get_start(r), filt, intr, arg, flags, cookiep, domain); in nexus_setup_intr()
/freebsd/sys/x86/include/xen/
H A Darch-intr.h67 struct xenisrc *isrc, void **cookiep) in xen_arch_intr_add_handler() argument
71 arg, flags, cookiep, 0)); in xen_arch_intr_add_handler()
/freebsd/sys/sys/
H A Dinterrupt.h170 u_char pri, enum intr_type flags, void **cookiep);
195 void **cookiep);
H A Dnv.h107 const char *nvlist_next(const nvlist_t *nvl, int *typep, void **cookiep);
109 const nvlist_t *nvlist_get_parent(const nvlist_t *nvl, void **cookiep);
114 const nvlist_t *nvlist_get_pararr(const nvlist_t *nvl, void **cookiep);
/freebsd/sys/net/
H A Droute.h407 #define NH_VALIDATE(ro, cookiep, fibnum) do { \ argument
409 if (*(cookiep) != cookie) { \
411 *(cookiep) = cookie; \
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhnd_bhndb.c141 void **cookiep) in bhnd_bhndb_setup_intr() argument
166 arg, cookiep)); in bhnd_bhndb_setup_intr()
/freebsd/sys/contrib/libnv/
H A Dnvlist.c212 nvlist_get_parent(const nvlist_t *nvl, void **cookiep) in nvlist_get_parent() argument
219 if (cookiep != NULL) in nvlist_get_parent()
220 *cookiep = nvp; in nvlist_get_parent()
330 nvlist_get_pararr(const nvlist_t *nvl, void **cookiep) in nvlist_get_pararr() argument
336 if (cookiep != NULL) in nvlist_get_pararr()
337 *cookiep = NULL; in nvlist_get_pararr()
341 return (nvlist_get_parent(nvl, cookiep)); in nvlist_get_pararr()
1402 if (cookiep == NULL || *cookiep == NULL) in nvlist_next()
1405 nvp = nvlist_next_nvpair(nvl, *cookiep); in nvlist_next()
1410 if (cookiep != NULL) in nvlist_next()
[all …]
/freebsd/sys/x86/x86/
H A Dnexus.c458 void *arg, void **cookiep) in nexus_setup_intr() argument
466 *cookiep = NULL; in nexus_setup_intr()
480 rman_get_start(irq), filter, ihand, arg, flags, cookiep, domain); in nexus_setup_intr()
482 rman_set_irq_cookie(irq, *cookiep); in nexus_setup_intr()
/freebsd/sys/dev/xen/bus/
H A Dintr-internal.h88 void **cookiep);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_quota.c164 uint64_t *cookiep, void *vbuf, uint64_t *bufsizep) in zfs_userspace_many() argument
199 for (zap_cursor_init_serialized(&zc, zfsvfs->z_os, obj, *cookiep); in zfs_userspace_many()
225 *cookiep = zap_cursor_serialize(&zc); in zfs_userspace_many()
/freebsd/sys/kern/
H A Dsubr_intr.c566 intr_irq_filter_t *filter, void *arg, void **cookiep) in iscr_setup_filter() argument
586 *cookiep = isrc; in iscr_setup_filter()
722 enum intr_type flags, void **cookiep) argument
733 arg, intr_priority(flags), flags, cookiep);
1060 driver_intr_t hand, void *arg, int flags, void **cookiep) argument
1099 arg, cookiep);
1106 cookiep);
1121 intr_event_remove_handler(*cookiep);
/freebsd/sys/dev/puc/
H A Dpuc.c598 int flags, driver_filter_t *filt, void (*ihand)(void *), void *arg, void **cookiep) in puc_bus_setup_intr() argument
617 if (cookiep == NULL || res != port->p_ires) in puc_bus_setup_intr()
642 sc->sc_ires, flags, filt, ihand, arg, cookiep)); in puc_bus_setup_intr()
649 *cookiep = port; in puc_bus_setup_intr()
/freebsd/sys/arm/arm/
H A Dnexus.c274 driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) in nexus_setup_intr() argument
280 return (intr_setup_irq(child, res, filt, intr, arg, flags, cookiep)); in nexus_setup_intr()
/freebsd/sys/riscv/riscv/
H A Dnexus.c266 driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) in nexus_setup_intr() argument
278 error = intr_setup_irq(child, res, filt, intr, arg, flags, cookiep); in nexus_setup_intr()

123