fc_phandle_entry
struct fc_phandle_entry **
fc_phandle_table_alloc(struct fc_phandle_entry **head)
fc_phandle_table_free(struct fc_phandle_entry **head)
struct fc_phandle_entry *ip, *np;
kmem_free(ip, sizeof (struct fc_phandle_entry));
fc_phandle_to_dip(struct fc_phandle_entry **head, fc_phandle_t handle)
struct fc_phandle_entry *ip;
fc_dip_to_phandle(struct fc_phandle_entry **head, dev_info_t *dip)
struct fc_phandle_entry *hp, *np;
np = kmem_zalloc(sizeof (struct fc_phandle_entry), KM_SLEEP);
kmem_free(np, sizeof (struct fc_phandle_entry));
fc_add_dip_to_phandle(struct fc_phandle_entry **head, dev_info_t *dip,
struct fc_phandle_entry *hp, *np;
np = kmem_zalloc(sizeof (struct fc_phandle_entry), KM_SLEEP);
kmem_free(np, sizeof (struct fc_phandle_entry));
struct fc_phandle_entry *next;
extern void fc_phandle_table_alloc(struct fc_phandle_entry **);
extern void fc_phandle_table_free(struct fc_phandle_entry **);
extern dev_info_t *fc_phandle_to_dip(struct fc_phandle_entry **, fc_phandle_t);
extern fc_phandle_t fc_dip_to_phandle(struct fc_phandle_entry **, dev_info_t *);
extern void fc_add_dip_to_phandle(struct fc_phandle_entry **, dev_info_t *,
struct fc_phandle_entry *ptable; /* devinfo/phandle table */
extern struct fc_phandle_entry **fc_handle_to_phandle_head(fco_handle_t rp);