Home
last modified time | relevance | path

Searched defs:nv (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd-src/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data.c278 bhnd_nvram_data_new(bhnd_nvram_data_class *cls, struct bhnd_nvram_data **nv, in bhnd_nvram_data_new()
313 bhnd_nvram_data_retain(struct bhnd_nvram_data *nv) in bhnd_nvram_data_retain()
328 bhnd_nvram_data_release(struct bhnd_nvram_data *nv) in bhnd_nvram_data_release()
346 bhnd_nvram_data_get_class(struct bhnd_nvram_data *nv) in bhnd_nvram_data_get_class()
357 bhnd_nvram_data_count(struct bhnd_nvram_data *nv) in bhnd_nvram_data_count()
369 bhnd_nvram_data_options(struct bhnd_nvram_data *nv) in bhnd_nvram_data_options()
380 bhnd_nvram_data_caps(struct bhnd_nvram_data *nv) in bhnd_nvram_data_caps()
397 bhnd_nvram_data_next(struct bhnd_nvram_data *nv, void **cookiep) in bhnd_nvram_data_next()
437 bhnd_nvram_data_find(struct bhnd_nvram_data *nv, const char *name) in bhnd_nvram_data_find()
449 bhnd_nvram_data_generic_find(struct bhnd_nvram_data *nv, const char *name) in bhnd_nvram_data_generic_find()
[all …]
H A Dbhnd_nvram_data_bcmraw.c67 struct bhnd_nvram_data nv; /**< common instance state */ member
330 bhnd_nvram_bcmraw_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io) in bhnd_nvram_bcmraw_new()
348 bhnd_nvram_bcmraw_free(struct bhnd_nvram_data *nv) in bhnd_nvram_bcmraw_free()
357 bhnd_nvram_bcmraw_options(struct bhnd_nvram_data *nv) in bhnd_nvram_bcmraw_options()
363 bhnd_nvram_bcmraw_count(struct bhnd_nvram_data *nv) in bhnd_nvram_bcmraw_count()
371 bhnd_nvram_bcmraw_caps(struct bhnd_nvram_data *nv) in bhnd_nvram_bcmraw_caps()
377 bhnd_nvram_bcmraw_next(struct bhnd_nvram_data *nv, void **cookiep) in bhnd_nvram_bcmraw_next()
403 bhnd_nvram_bcmraw_find(struct bhnd_nvram_data *nv, const char *name) in bhnd_nvram_bcmraw_find()
409 bhnd_nvram_bcmraw_getvar_order(struct bhnd_nvram_data *nv, void *cookiep1, in bhnd_nvram_bcmraw_getvar_order()
422 bhnd_nvram_bcmraw_getvar(struct bhnd_nvram_data *nv, void *cookiep, void *buf, in bhnd_nvram_bcmraw_getvar()
[all …]
H A Dbhnd_nvram_data_btxt.c64 struct bhnd_nvram_data nv; /**< common instance state */ member
535 bhnd_nvram_btxt_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io) in bhnd_nvram_btxt_new()
554 bhnd_nvram_btxt_free(struct bhnd_nvram_data *nv) in bhnd_nvram_btxt_free()
562 bhnd_nvram_btxt_count(struct bhnd_nvram_data *nv) in bhnd_nvram_btxt_count()
569 bhnd_nvram_btxt_options(struct bhnd_nvram_data *nv) in bhnd_nvram_btxt_options()
575 bhnd_nvram_btxt_caps(struct bhnd_nvram_data *nv) in bhnd_nvram_btxt_caps()
581 bhnd_nvram_btxt_find(struct bhnd_nvram_data *nv, const char *name) in bhnd_nvram_btxt_find()
587 bhnd_nvram_btxt_next(struct bhnd_nvram_data *nv, void **cookiep) in bhnd_nvram_btxt_next()
643 bhnd_nvram_btxt_getvar_order(struct bhnd_nvram_data *nv, void *cookiep1, in bhnd_nvram_btxt_getvar_order()
656 bhnd_nvram_btxt_getvar(struct bhnd_nvram_data *nv, void *cookiep, void *buf, in bhnd_nvram_btxt_getvar()
[all …]
H A Dbhnd_nvram_data_tlv.c59 struct bhnd_nvram_data nv; /**< common instance state */ member
413 bhnd_nvram_tlv_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io) in bhnd_nvram_tlv_new()
433 bhnd_nvram_tlv_free(struct bhnd_nvram_data *nv) in bhnd_nvram_tlv_free()
441 bhnd_nvram_tlv_count(struct bhnd_nvram_data *nv) in bhnd_nvram_tlv_count()
448 bhnd_nvram_tlv_options(struct bhnd_nvram_data *nv) in bhnd_nvram_tlv_options()
454 bhnd_nvram_tlv_caps(struct bhnd_nvram_data *nv) in bhnd_nvram_tlv_caps()
460 bhnd_nvram_tlv_next(struct bhnd_nvram_data *nv, void **cookiep) in bhnd_nvram_tlv_next()
493 bhnd_nvram_tlv_find(struct bhnd_nvram_data *nv, const char *name) in bhnd_nvram_tlv_find()
499 bhnd_nvram_tlv_getvar_order(struct bhnd_nvram_data *nv, void *cookiep1, in bhnd_nvram_tlv_getvar_order()
512 bhnd_nvram_tlv_getvar(struct bhnd_nvram_data *nv, void *cookiep, void *buf, in bhnd_nvram_tlv_getvar()
[all …]
H A Dbhnd_nvram_data_bcm.c119 struct bhnd_nvram_data nv; /**< common instance state */ member
762 bhnd_nvram_bcm_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io) in bhnd_nvram_bcm_new()
791 bhnd_nvram_bcm_free(struct bhnd_nvram_data *nv) in bhnd_nvram_bcm_free()
803 bhnd_nvram_bcm_count(struct bhnd_nvram_data *nv) in bhnd_nvram_bcm_count()
810 bhnd_nvram_bcm_options(struct bhnd_nvram_data *nv) in bhnd_nvram_bcm_options()
817 bhnd_nvram_bcm_caps(struct bhnd_nvram_data *nv) in bhnd_nvram_bcm_caps()
823 bhnd_nvram_bcm_next(struct bhnd_nvram_data *nv, void **cookiep) in bhnd_nvram_bcm_next()
932 bhnd_nvram_bcm_find(struct bhnd_nvram_data *nv, const char *name) in bhnd_nvram_bcm_find()
938 bhnd_nvram_bcm_getvar_order(struct bhnd_nvram_data *nv, void *cookiep1, in bhnd_nvram_bcm_getvar_order()
971 bhnd_nvram_bcm_getvar(struct bhnd_nvram_data *nv, void *cookiep, void *buf, in bhnd_nvram_bcm_getvar()
[all …]
H A Dbhnd_nvram_data_sprom.c761 bhnd_nvram_sprom_new(struct bhnd_nvram_data *nv, struct bhnd_nvram_io *io) in bhnd_nvram_sprom_new()
791 bhnd_nvram_sprom_free(struct bhnd_nvram_data *nv) in bhnd_nvram_sprom_free()
800 bhnd_nvram_sprom_count(struct bhnd_nvram_data *nv) in bhnd_nvram_sprom_count()
807 bhnd_nvram_sprom_options(struct bhnd_nvram_data *nv) in bhnd_nvram_sprom_options()
813 bhnd_nvram_sprom_caps(struct bhnd_nvram_data *nv) in bhnd_nvram_sprom_caps()
819 bhnd_nvram_sprom_next(struct bhnd_nvram_data *nv, void **cookiep) in bhnd_nvram_sprom_next()
859 bhnd_nvram_sprom_find(struct bhnd_nvram_data *nv, const char *name) in bhnd_nvram_sprom_find()
1277 bhnd_nvram_sprom_getvar_common(struct bhnd_nvram_data *nv, void *cookiep, in bhnd_nvram_sprom_getvar_common()
1298 bhnd_nvram_sprom_getvar_order(struct bhnd_nvram_data *nv, void *cookiep1, in bhnd_nvram_sprom_getvar_order()
1317 bhnd_nvram_sprom_getvar(struct bhnd_nvram_data *nv, void *cookiep, void *buf, in bhnd_nvram_sprom_getvar()
[all …]
/freebsd-src/sbin/hastd/
H A Dnv.c108 PJDLOG_ASSERT((nv) != NULL); \ argument
87 struct nv { global() struct
88 nv_magicnv global() argument
89 nv_errornv global() argument
90 nv_ebufnv global() argument
128 struct nv *nv; nv_alloc() local
147 nv_free(struct nv * nv) nv_free() argument
164 nv_error(const struct nv * nv) nv_error() argument
179 nv_set_error(struct nv * nv,int error) nv_set_error() argument
198 nv_validate(struct nv * nv,size_t * extrap) nv_validate() argument
342 nv_hton(struct nv * nv) nv_hton() argument
374 struct nv *nv; nv_ntoh() local
465 nv_add_stringf(struct nv * nv,const char * name,const char * valuefmt,...) nv_add_stringf() argument
475 nv_add_stringv(struct nv * nv,const char * name,const char * valuefmt,va_list valueap) nv_add_stringv() argument
575 nv_vexists(struct nv * nv,const char * namefmt,va_list nameap) nv_vexists() argument
595 nv_exists(struct nv * nv,const char * namefmt,...) nv_exists() argument
608 nv_assert(struct nv * nv,const char * namefmt,...) nv_assert() argument
621 nv_dump(struct nv * nv) nv_dump() argument
758 nv_add(struct nv * nv,const unsigned char * value,size_t vsize,int type,const char * name) nv_add() argument
815 nv_addv(struct nv * nv,const unsigned char * value,size_t vsize,int type,const char * namefmt,va_list nameap) nv_addv() argument
828 nv_find(struct nv * nv,int type,const char * namefmt,va_list nameap) nv_find() argument
[all...]
H A Dmetadata.c51 struct nv *nv; metadata_read() local
172 struct nv *nv; metadata_write() local
[all...]
H A Dhast_proto.c79 struct nv *nv, const void *data, size_t size) in hast_proto_send()
133 struct nv *nv; in hast_proto_recv_hdr() local
173 struct nv *nv, void *data, size_t size) in hast_proto_recv_data()
H A Dhast_checksum.c86 checksum_send(const struct hast_resource *res, struct nv *nv, void **datap, in checksum_send()
114 checksum_recv(const struct hast_resource *res __unused, struct nv *nv, in checksum_recv()
H A Dhast_compression.c203 compression_send(const struct hast_resource *res, struct nv *nv, void **datap, in compression_send()
251 compression_recv(const struct hast_resource *res __unused, struct nv *nv, in compression_recv()
/freebsd-src/sys/dev/nvdimm/
H A Dnvdimm.c67 read_label_area_size(struct nvdimm_dev *nv) in read_label_area_size()
102 read_label_area(struct nvdimm_dev *nv, uint8_t *dest, off_t offset, in read_label_area()
201 read_label(struct nvdimm_dev *nv, int num) in read_label()
243 read_labels(struct nvdimm_dev *nv) in read_labels()
311 struct nvdimm_dev *nv; in nvdimm_attach() local
404 struct nvdimm_dev *nv; in nvdimm_detach() local
H A Dnvdimm_ns.c41 struct nvdimm_dev *nv; in nvdimm_create_namespaces() local
/freebsd-src/sys/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_pair.c31 nvlist_t *nv; in lzbe_nvlist_get() local
78 nvlist_t *nv; in lzbe_nvlist_set() local
185 nvlist_t *nv = ptr; in lzbe_add_pair() local
H A Dlzbe_device.c32 nvlist_t *nv; in lzbe_set_boot_device() local
118 nvlist_t *nv; in lzbe_get_boot_device() local
H A Dlzbe_util.c26 nvlist_t *nv; in lzbe_bootenv_print() local
/freebsd-src/contrib/libc-vis/
H A Dunvis.c91 static const struct nv { struct
94 } nv[] = { argument
/freebsd-src/sbin/hastctl/
H A Dhastctl.c260 control_set_role(struct nv * nv,const char * newrole) control_set_role() argument
293 control_list(struct nv * nv) control_list() argument
369 control_status(struct nv * nv) control_status() argument
408 struct nv *nv; main() local
[all...]
/freebsd-src/contrib/netbsd-tests/net/icmp/
H A Dt_forward.c74 int nv; in sendttl() local
108 int nv; in router() local
/freebsd-src/sys/contrib/openzfs/module/zcommon/
H A Dzfs_comutil.c46 zfs_allocatable_devs(nvlist_t *nv) in zfs_allocatable_devs()
71 zfs_special_devs(nvlist_t *nv, const char *type) in zfs_special_devs()
/freebsd-src/sbin/zfsbootcfg/
H A Dzfsbootcfg.c47 void *data, *nv; in add_pair() local
164 void *nv; in delete_pair() local
/freebsd-src/sys/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_import_os.c85 update_vdev_config_dev_strs(nvlist_t *nv) in update_vdev_config_dev_strs()
253 update_vdev_config_dev_sysfs_path(nvlist_t *nv, const char *path, in update_vdev_config_dev_sysfs_path()
/freebsd-src/contrib/file/src/
H A Dreadcdf.c44 static const struct nv { struct
45 const char *pattern;
46 const char *mime;
111 cdf_app_to_mime(const char *vbuf, const struct nv *nv) in cdf_app_to_mime()
/freebsd-src/usr.sbin/ctld/
H A Dkernel.c263 struct cctl_lun_nv *nv; in cctl_end_element() local
389 struct cctl_lun_nv *nv; cctl_end_pelement() local
618 struct cctl_lun_nv *nv; conf_new_from_kernel() local
636 struct cctl_lun_nv *nv; conf_new_from_kernel() local
684 struct cctl_lun_nv *nv; conf_new_from_kernel() local
[all...]
/freebsd-src/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c230 fix_paths(libpc_handle_t *hdl, nvlist_t *nv, name_entry_t *names) in fix_paths() argument
1572 discover_cached_paths(libpc_handle_t * hdl,nvlist_t * nv,avl_tree_t * cache,pthread_mutex_t * lock) discover_cached_paths() argument
1737 nvlist_t *nv = zpool_find_import_impl(hdl, iarg, zpool_find_import_cached() local
1927 vdev_is_leaf(nvlist_t * nv) vdev_is_leaf() argument
1940 vdev_is_real_leaf(nvlist_t * nv) vdev_is_real_leaf() argument
1969 __for_each_vdev_macro_helper_func(void * state,nvlist_t * nv,void * last_nv,boolean_t real_leaves_only) __for_each_vdev_macro_helper_func() argument
2011 for_each_vdev_macro_helper_func(void * state,nvlist_t * nv,void * last_nv) for_each_vdev_macro_helper_func() argument
2017 for_each_real_leaf_vdev_macro_helper_func(void * state,nvlist_t * nv,void * last_nv) for_each_real_leaf_vdev_macro_helper_func() argument
2034 for_each_vdev_cb(void * zhp,nvlist_t * nv,pool_vdev_iter_f func,void * data) for_each_vdev_cb() argument
[all...]

1234