Lines Matching refs:bfd
45 bus_func_desc_t *bfd = kmem_alloc(sizeof (bus_func_desc_t), KM_SLEEP);
47 bfd->bf_type = type;
48 bfd->bf_func = func;
49 bfd->bf_arg = arg;
52 bfd->bf_next = bfd_list;
53 bfd_list = bfd;
65 bus_func_desc_t *bfd, **pp;
70 for (bfd = bfd_list; bfd != NULL; bfd = bfd->bf_next) {
71 if (bfd->bf_type == type && bfd->bf_func == func &&
72 bfd->bf_arg == arg) {
73 *pp = bfd->bf_next;
76 pp = &bfd->bf_next;
81 if (bfd != NULL)
82 kmem_free(bfd, sizeof (bus_func_desc_t));
95 bus_func_desc_t *bfd;
100 for (bfd = bfd_list; bfd != NULL; bfd = bfd->bf_next) {
101 if (bfd->bf_type == type) {
102 uint_t status = bfd->bf_func(bfd->bf_arg);