Home
last modified time | relevance | path

Searched refs:os_calloc (Results 1 – 16 of 16) sorted by relevance

/trueos/contrib/wpa/hostapd/
HDmain.c179 hapd_iface->bss = os_calloc(conf->num_bss, in hostapd_init()
252 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *)); in hostapd_driver_init()
394 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
614 interfaces.iface = os_calloc(interfaces.count, in main()
HDconfig_file.c1437 offsets = os_calloc(bss->nai_realm_count * MAX_NAI_REALMS, in parse_nai_realm()
/trueos/contrib/wpa/wpa_supplicant/dbus/
HDdbus_dict_helpers.c741 buffer = os_calloc(BYTE_ARRAY_CHUNK_SIZE, BYTE_ARRAY_ITEM_SIZE); in _wpa_dbus_dict_entry_get_byte_array()
799 buffer = os_calloc(STR_ARRAY_CHUNK_SIZE, STR_ARRAY_ITEM_SIZE); in _wpa_dbus_dict_entry_get_string_array()
HDdbus_new_handlers_p2p.c1052 peer_obj_paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_p2p_peers()
1512 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_persistent_groups()
1819 paths = os_calloc(num_members, sizeof(char *)); in wpas_dbus_getter_p2p_group_members()
HDdbus_new_handlers.c873 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_interfaces()
2841 paths = os_calloc(wpa_s->num_bss, sizeof(char *)); in wpas_dbus_getter_bsss()
2904 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_networks()
/trueos/contrib/wpa/src/ap/
HDhw_features.c145 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data)); in hostapd_prepare_rates()
477 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4()
HDieee802_1x.c1224 nclass = os_calloc(count, sizeof(struct radius_attr_data)); in ieee802_1x_store_radius_class()
/trueos/contrib/wpa/src/utils/
HDos.h195 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() function
/trueos/contrib/wpa/src/radius/
HDradius.c81 msg->attr_pos = os_calloc(RADIUS_DEFAULT_ATTR_COUNT, in radius_msg_initialize()
1540 dst->attr = os_calloc(src->count, sizeof(struct radius_attr_data)); in radius_copy_class()
/trueos/contrib/wpa/wpa_supplicant/
HDwpa_cli.c244 res = os_calloc(count + 1, sizeof(char *)); in cli_txt_list_array()
1683 res = os_calloc(6, sizeof(char *)); in wpa_cli_complete_p2p_find()
2768 res = os_calloc(count, sizeof(char *)); in wpa_list_cmd_list()
HDinterworking.c431 r->eap = os_calloc(r->eap_count, sizeof(struct nai_realm_eap)); in nai_realm_parse_realm()
467 realm = os_calloc(num, sizeof(struct nai_realm)); in nai_realm_parse()
HDap.c538 hapd_iface->bss = os_calloc(conf->num_bss, in wpa_supplicant_create_ap()
HDsme.c984 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in wpa_setband_scan_freqs_list()
HDconfig.c929 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_freqs()
2145 props = os_calloc(2 * NUM_SSID_FIELDS + 1, sizeof(char *)); in wpa_config_get_all()
/trueos/contrib/wpa/src/drivers/
HDdriver_privsep.c155 results->res = os_calloc(num, sizeof(struct wpa_scan_res *)); in wpa_driver_privsep_get_scan_results2()
HDdriver_ndis.c854 results->res = os_calloc(count, sizeof(struct wpa_scan_res *)); in wpa_driver_ndis_get_scan_results()