Searched defs:hdp (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_cluster.c524 hash_data_t *hdp; local
587 hdp = (hash_data_t *)malloc(sizeof (hash_data_t));
588 hdp->scstat_node_name = strdup(dsn->scstat_node_name);
589 nsc_insert_node(schash, hdp, dsp->scstat_ds_name);
/osnet-11/usr/src/lib/librcm/
H A Dlibrcm.c52 rcm_alloc_handle(char *modname, uint_t flag, void *arg, rcm_handle_t **hdp) argument
58 if ((hdp == NULL) || (flag & ~RCM_ALLOC_HDL_MASK)) {
97 *hdp = hd;
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c132 struct di_devlink_handle *hdp; local
140 if ((hdp = handle_alloc(root_dir, OPEN_RDWR)) == NULL) {
144 err = open_db(hdp, OPEN_RDONLY);
154 get_db_path(hdp, DB_FILE, path, sizeof (path));
160 handle_free(&hdp); /* also closes the DB */
165 if (cache_alloc(hdp) != 0) {
166 handle_free(&hdp);
178 (void) di_devlink_close(&hdp, 0);
187 return (hdp);
191 CACHE(hdp)
201 get_db_path( struct di_devlink_handle *hdp, const char *fname, char *buf, size_t blen) argument
223 open_db(struct di_devlink_handle *hdp, int flags) argument
318 struct di_devlink_handle *hdp, proto = {0}; local
468 cache_alloc(struct di_devlink_handle *hdp) argument
490 invalid_db(struct di_devlink_handle *hdp, size_t fsize, long page_sz) argument
543 read_nodes(struct di_devlink_handle *hdp, cache_node_t *pcnp, uint32_t nidx) argument
591 read_minors(struct di_devlink_handle *hdp, cache_node_t *pcnp, uint32_t nidx) argument
633 read_links(struct di_devlink_handle *hdp, cache_minor_t *pcmp, uint32_t nidx) argument
674 struct di_devlink_handle *hdp; local
780 init_hdr(struct di_devlink_handle *hdp, long page_sz, uint32_t *count) argument
799 write_nodes( struct di_devlink_handle *hdp, struct db_node *pdnp, cache_node_t *cnp, uint32_t *next) argument
861 write_minors( struct di_devlink_handle *hdp, struct db_node *pdnp, cache_minor_t *cmnp, uint32_t *next) argument
916 write_links( struct di_devlink_handle *hdp, struct db_minor *pdmp, cache_link_t *clp, uint32_t *next) argument
982 write_string(struct di_devlink_handle *hdp, const char *str, uint32_t *next) argument
1013 close_db(struct di_devlink_handle *hdp) argument
1056 cache_free(struct di_devlink_handle *hdp) argument
1084 struct di_devlink_handle *hdp = *pp; local
1108 subtree_free(struct di_devlink_handle *hdp, cache_node_t **pp) argument
1140 rm_link_from_hash(struct di_devlink_handle *hdp, cache_link_t *clp) argument
1165 link_hash(di_devlink_handle_t hdp, const char *link, uint_t flags) argument
1193 link2minor(struct di_devlink_handle *hdp, cache_link_t *clp) argument
1289 resolve_dangling_links(struct di_devlink_handle *hdp) argument
1329 minor_free(struct di_devlink_handle *hdp, cache_minor_t **pp) argument
1379 lookup_minor( struct di_devlink_handle *hdp, const char *minor_path, const char *nodetype, const int flags) argument
1446 lookup_node(struct di_devlink_handle *hdp, char *path, const int flags) argument
1466 get_last_node(struct di_devlink_handle *hdp, const char *path, int flags) argument
1497 get_last_minor( struct di_devlink_handle *hdp, const char *devfs_path, const char *minor_name, int flags) argument
1534 set_last_minor(struct di_devlink_handle *hdp, cache_minor_t *cmnp, int flags) argument
1646 minor_delete(di_devlink_handle_t hdp, cache_minor_t *cmnp) argument
1690 delete_unused_nodes(di_devlink_handle_t hdp, cache_node_t *cnp) argument
1733 rm_link(di_devlink_handle_t hdp, const char *link) argument
1758 di_devlink_rm_link(di_devlink_handle_t hdp, const char *link) argument
1769 link_delete(di_devlink_handle_t hdp, cache_link_t *clp) argument
1801 delete_unused_minor(di_devlink_handle_t hdp, cache_minor_t *cmnp) argument
1816 di_devlink_add_link( di_devlink_handle_t hdp, const char *link, const char *content, int flags) argument
1826 add_link( struct di_devlink_handle *hdp, const char *link, const char *content, int flags) argument
1897 di_devlink_update(di_devlink_handle_t hdp) argument
1914 synchronize_db(di_devlink_handle_t hdp) argument
1997 struct di_devlink_handle *hdp; local
2044 di_devlink_walk( di_devlink_handle_t hdp, const char *re, const char *minor_path, uint_t flags, void *arg, int (*devlink_callback)(di_devlink_t, void *)) argument
2137 walk_db(struct di_devlink_handle *hdp, link_desc_t *linkp) argument
2149 cache_dev(struct di_devlink_handle *hdp) argument
2177 walk_dev(struct di_devlink_handle *hdp, link_desc_t *linkp) argument
2203 cache_dev_link(struct di_devlink_handle *hdp, void *data, const char *link) argument
2237 walk_all_links(struct di_devlink_handle *hdp, link_desc_t *linkp) argument
2271 walk_matching_links(struct di_devlink_handle *hdp, link_desc_t *linkp) argument
2310 visit_link( struct di_devlink_handle *hdp, link_desc_t *linkp, struct di_devlink *vlp) argument
2503 rel_path(struct di_devlink_handle *hdp, const char *path) argument
2520 recurse_dev(struct di_devlink_handle *hdp, recurse_t *rp) argument
2530 do_recurse( const char *dir, struct di_devlink_handle *hdp, recurse_t *rp, int *retp) argument
2647 node_insert( struct di_devlink_handle *hdp, cache_node_t *pcnp, const char *path, int insert) argument
2703 minor_insert( struct di_devlink_handle *hdp, cache_node_t *pcnp, const char *name, const char *nodetype, cache_minor_t **prev) argument
2755 link_insert( struct di_devlink_handle *hdp, cache_minor_t *cmnp, const char *path, const char *content, uint32_t attr) argument
2800 hash_insert(struct di_devlink_handle *hdp, cache_link_t *clp) argument
2811 get_node(struct di_devlink_handle *hdp, uint32_t idx) argument
2817 set_node(struct di_devlink_handle *hdp, uint32_t idx) argument
2823 get_minor(struct di_devlink_handle *hdp, uint32_t idx) argument
2829 set_minor(struct di_devlink_handle *hdp, uint32_t idx) argument
2835 get_link(struct di_devlink_handle *hdp, uint32_t idx) argument
2841 set_link(struct di_devlink_handle *hdp, uint32_t idx) argument
2847 get_string(struct di_devlink_handle *hdp, uint32_t idx) argument
2853 set_string(struct di_devlink_handle *hdp, uint32_t idx) argument
2864 map_seg( struct di_devlink_handle *hdp, uint32_t idx, int prot, db_seg_t seg) argument
2932 seg_size(struct di_devlink_handle *hdp, int seg) argument
2953 size_db(struct di_devlink_handle *hdp, long page_sz, uint32_t *count) argument
3046 hashfn(struct di_devlink_handle *hdp, const char *str) argument
3078 enter_db_lock(struct di_devlink_handle *hdp, const char *root_dir) argument
3164 exit_db_lock(struct di_devlink_handle *hdp) argument
3552 walk_cache_links(di_devlink_handle_t hdp, cache_link_t *clp, link_desc_t *linkp) argument
3595 walk_all_cache(di_devlink_handle_t hdp, link_desc_t *linkp) argument
3623 walk_cache_minor(di_devlink_handle_t hdp, const char *mpath, link_desc_t *linkp) argument
3637 walk_cache_node(di_devlink_handle_t hdp, const char *path, link_desc_t *linkp) argument
3676 di_devlink_cache_walk(di_devlink_handle_t hdp, const char *re, const char *path, uint_t flags, void *arg, int (*devlink_callback)(di_devlink_t, void *)) argument
[all...]
/osnet-11/usr/src/lib/libuefi_rt/common/
H A Dlibuefi_rt_path.c362 uefi_hard_drive_path_t *hdp, char **logdev[])
371 hdp_mbrsig = (hdp->part_sig[0]) | (hdp->part_sig[1] << 8) |
372 (hdp->part_sig[2] << 16) | (hdp->part_sig[3] << 24);
517 if ((part_start != hdp->part_start) ||
518 (part_size != hdp->part_size)) {
601 uefi_hard_drive_path_t *hdp, char **logdev[])
702 if (bcmp(part_sig, hdp->part_sig, num_elem) != 0) {
732 if ((part_start != hdp
361 find_drive_mbrsig(uefirt_hdl_t hdl, uefi_hard_drive_path_t *hdp, char **logdev[]) argument
600 find_drive_guid(uefirt_hdl_t hdl, uefi_hard_drive_path_t *hdp, char **logdev[]) argument
3404 uefi_hard_drive_path_t *hdp; local
[all...]

Completed in 35 milliseconds