Lines Matching refs:bh

780 get_brand_handle(zone_dochandle_t handle, brand_handle_t *bh)
787 if ((*bh = brand_open(brand)) != NULL)
793 if ((*bh = brand_open(brand)) != NULL)
803 brand_handle_t bh;
805 if (get_brand_handle(handle, &bh) != Z_OK)
809 if (brand_fixed_prop(bh, res, propname)) {
810 brand_close(bh);
815 if (brand_disabled_prop(bh, res, propname)) {
816 brand_close(bh);
822 if (brand_disabled_prop_val(bh, res, propname, propval)) {
823 brand_close(bh);
828 brand_close(bh);
836 brand_handle_t bh;
838 if (get_brand_handle(handle, &bh) != Z_OK)
841 if (brand_get_fixed_prop(bh, res, (char *)prop, propval) != 0) {
842 brand_close(bh);
846 brand_close(bh);
961 brand_handle_t bh;
963 if (get_brand_handle(handle, &bh) != Z_OK)
966 if (brand_disabled_res(bh, res)) {
967 brand_close(bh);
971 brand_close(bh);
1450 brand_handle_t bh;
1451 if ((bh = brand_open(brand)) == NULL)
1453 brand_close(bh);
2146 brand_handle_t bh;
2149 if (get_brand_handle(handle, &bh) != Z_OK)
2152 if (brand_get_fixed_prop(bh, dtd_to_rt(node->name),
2154 brand_close(bh);
2158 brand_close(bh);
5608 brand_handle_t bh;
5615 if (get_brand_handle(handle, &bh) != Z_OK)
5618 if (brand_disabled_res(bh, dtd_to_rt(elem))) {
5619 brand_close(bh);
5623 brand_close(bh);
6324 brand_handle_t bh;
6331 if ((bh = brand_open(brand)) == NULL)
6334 if (get_brand_handle(handle, &bh) != Z_OK)
6339 brand_close(bh);
6346 if (brand_config_iter_privilege(bh, priv_lists_cb, plp) != 0) {
6348 brand_close(bh);
6352 brand_close(bh);
10138 brand_handle_t bh;
10147 if (get_brand_handle(handle, &bh) != Z_OK)
10150 if (brand_verify_mac_profile(bh, prof))
10155 brand_close(bh);
10223 brand_handle_t bh;
10239 if (get_brand_handle(handle, &bh) != Z_OK)
10247 if (brand_config_iter_rwp(bh, cb_enum, prof, &ps[w],
10249 brand_close(bh);
10262 if (brand_config_iter_rwp(bh, cb_store, prof, &ps[w],
10264 brand_close(bh);
10270 brand_close(bh);