Lines Matching refs:ncuh
326 nwam_ncu_handle_t ncuh; in valid_ncu() local
332 ret = nwam_ncu_read(ncph, name, NWAM_NCU_TYPE_ANY, 0, &ncuh); in valid_ncu()
336 nwam_ncu_free(ncuh); in valid_ncu()
502 nwam_ncu_handle_t ncuh; in ncu_action() local
512 ret = nwam_ncu_read(ncph, name, type, 0, &ncuh); in ncu_action()
516 ret = nwam_ncu_enable(ncuh); in ncu_action()
518 ret = nwam_ncu_disable(ncuh); in ncu_action()
519 (void) nwam_ncu_get_name(ncuh, realnamep); in ncu_action()
520 nwam_ncu_free(ncuh); in ncu_action()
787 list_ncu_cb(nwam_ncu_handle_t ncuh, void *arg) in list_ncu_cb() argument
794 ret = add_to_profile_entry(NWAM_OBJECT_TYPE_NCU, ncuh, &pent); in list_ncu_cb()
907 nwam_ncu_handle_t ncuh; in list_func() local
911 &ncuh); in list_func()
915 NWAM_NCU_TYPE_LINK, 0, &ncuh) in list_func()
917 (void) list_ncu_cb(ncuh, ofmt); in list_func()
918 nwam_ncu_free(ncuh); in list_func()
921 NWAM_NCU_TYPE_INTERFACE, 0, &ncuh) in list_func()
923 (void) list_ncu_cb(ncuh, ofmt); in list_func()
924 nwam_ncu_free(ncuh); in list_func()
928 (void) list_ncu_cb(ncuh, ofmt); in list_func()
929 nwam_ncu_free(ncuh); in list_func()
1211 nwam_ncu_handle_t ncuh = NULL; in name_to_linkname() local
1216 err = nwam_ncu_read(ncph, name, NWAM_NCU_TYPE_LINK, 0, &ncuh); in name_to_linkname()
1218 err = nwam_ncu_get_name(ncuh, linknamep); in name_to_linkname()
1221 nwam_ncu_free(ncuh); in name_to_linkname()