/external/yaffs2/yaffs2/ |
H A D | devextras.h | 51 * using the generic single-entry routines. 70 * Insert a new entry between two known consecutive entries. 86 * list_add - add a new entry 87 * @new: new entry to be added 90 * Insert a new entry after the specified head. 99 * list_add_tail - add a new entry 100 * @new: new entry to be added 103 * Insert a new entry before the specified head. 113 * Delete a list entry by making the prev/next entries 127 * list_del - deletes entry fro 132 list_del(struct list_head *entry) argument 141 list_del_init(struct list_head *entry) argument [all...] |
/external/yaffs2/yaffs2/utils/ |
H A D | mkyaffs2image.c | 337 struct dirent *entry; local 346 while((entry = readdir(dir)) != NULL) 350 if(strcmp(entry->d_name,".") && 351 strcmp(entry->d_name,"..")) 360 sprintf(full_name,"%s/%s",path,entry->d_name); 422 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_HARDLINK, &stats, parent, entry->d_name, equivalentObj, NULL, secontext); 439 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SYMLINK, &stats, parent, entry->d_name, -1, symname, secontext); 445 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_FILE, &stats, parent, entry->d_name, -1, NULL, secontext); 481 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SPECIAL, &stats, parent, entry->d_name, -1, NULL, secontext); 486 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SPECIAL, &stats, parent, entry [all...] |
H A D | mkyaffsimage.c | 388 struct dirent *entry; local 396 while((entry = readdir(dir)) != NULL) 400 if(strcmp(entry->d_name,".") && 401 strcmp(entry->d_name,"..")) 408 sprintf(full_name,"%s/%s",path,entry->d_name); 431 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_HARDLINK, &stats, parent, entry->d_name, equivalentObj, NULL); 448 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SYMLINK, &stats, parent, entry->d_name, -1, symname); 454 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_FILE, &stats, parent, entry->d_name, -1, NULL); 490 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SPECIAL, &stats, parent, entry->d_name, -1, NULL); 495 error = write_object_header(newObj, YAFFS_OBJECT_TYPE_SPECIAL, &stats, parent, entry [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | dfs.c | 153 int *entry; local 158 for (entry = iface->conf->chanlist; *entry != -1; entry++) { 159 if (*entry == chan->chan)
|
H A D | ieee802_11_auth.c | 106 struct hostapd_cached_radius_acl *entry; local 111 for (entry = hapd->acl_cache; entry; entry = entry->next) { 112 if (os_memcmp(entry->addr, addr, ETH_ALEN) != 0) 115 if (os_reltime_expired(&now, &entry->timestamp, 117 return -1; /* entry has expired */ 118 if (entry->accepted == HOSTAPD_ACL_ACCEPT_TIMEOUT) 120 *session_timeout = entry 343 struct hostapd_cached_radius_acl *prev, *entry, *tmp; local 373 struct hostapd_acl_query_data *prev, *entry, *tmp; local [all...] |
H A D | pmksa_cache_auth.c | 30 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx); 38 static void _pmksa_cache_free_entry(struct rsn_pmksa_cache_entry *entry) argument 40 os_free(entry->identity); 41 wpabuf_free(entry->cui); 43 radius_free_class(&entry->radius_class); 45 bin_clear_free(entry, sizeof(*entry)); 50 struct rsn_pmksa_cache_entry *entry) 56 pmksa->free_cb(entry, pmksa->ctx); 59 hash = PMKID_HASH(entry 49 pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, struct rsn_pmksa_cache_entry *entry) argument 125 pmksa_cache_from_eapol_data(struct rsn_pmksa_cache_entry *entry, struct eapol_state_machine *eapol) argument 152 pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry, struct eapol_state_machine *eapol) argument 189 pmksa_cache_link_entry(struct rsn_pmksa_cache *pmksa, struct rsn_pmksa_cache_entry *entry) argument 248 struct rsn_pmksa_cache_entry *entry, *pos; local 296 struct rsn_pmksa_cache_entry *entry; local 337 struct rsn_pmksa_cache_entry *entry, *prev; local 369 struct rsn_pmksa_cache_entry *entry; local 405 struct rsn_pmksa_cache_entry *entry; local 427 pmksa_cache_auth_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx), void *ctx) argument [all...] |
H A D | pmksa_cache_auth.h | 15 * struct rsn_pmksa_cache_entry - PMKSA cache entry 38 pmksa_cache_auth_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, 56 void pmksa_cache_to_eapol_data(struct rsn_pmksa_cache_entry *entry, 59 struct rsn_pmksa_cache_entry *entry);
|
H A D | wpa_auth.c | 280 static void wpa_auth_pmksa_free_cb(struct rsn_pmksa_cache_entry *entry, argument 284 wpa_auth_for_each_sta(wpa_auth, wpa_auth_pmksa_clear_cb, entry); 596 * reassociates back to the same AP while the previous entry for the 771 return 1; /* STA entry was removed */ 1162 return; /* STA entry was removed */ 1535 * entry getting removed. Consequently, we need to make 1803 * Calculate PMKID since no PMKSA cache entry was 2519 * This should not really happen, so add a debug log entry. 2938 /* TODO: FF-FF-FF-FF-FF-FF entry for broadcast/multicast stats */ 3018 struct rsn_pmksa_cache_entry *entry) 3017 wpa_auth_sta_clear_pmksa(struct wpa_state_machine *sm, struct rsn_pmksa_cache_entry *entry) argument [all...] |
H A D | wpa_auth.h | 267 struct rsn_pmksa_cache_entry *entry);
|
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | wpa_ctrl.c | 238 struct dirent entry; local 256 while (readdir_r(dir, &entry, &result) == 0 && result != NULL) { 257 if (os_strlcpy(namep, entry.d_name, maxcopy) < maxcopy)
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_macsec_qca.c | 606 fal_rx_prc_lut_t entry; local 613 os_memset(&entry, 0, sizeof(entry)); 615 os_memcpy(entry.sci, sci_addr, ETH_ALEN); 616 entry.sci[6] = (sci_port >> 8) & 0xf; 617 entry.sci[7] = sci_port & 0xf; 618 entry.sci_mask = 0xf; 620 entry.valid = 1; 621 entry.channel = channel; 622 entry 651 fal_rx_prc_lut_t entry; local 746 fal_tx_class_lut_t entry; local 778 fal_tx_class_lut_t entry; local [all...] |
H A D | driver_ndis.c | 873 * entry with an invalid IELength in scan results and 1204 struct ndis_pmkid_entry *entry; local 1208 entry = drv->pmkid; 1209 while (entry) { 1213 entry = entry->next; 1222 entry = drv->pmkid; 1224 os_memcpy(&p->BSSIDInfo[i].BSSID, entry->bssid, ETH_ALEN); 1225 os_memcpy(&p->BSSIDInfo[i].PMKID, entry->pmkid, 16); 1226 entry 1239 struct ndis_pmkid_entry *entry, *prev; local 1280 struct ndis_pmkid_entry *entry, *prev; local [all...] |
H A D | driver_nl80211.c | 1034 /* drv entry for this bss already there? */ 2271 "cfg80211 BSS entry"); 4312 struct iovec entry; local 4319 msg.msg_iov = &entry; 4321 entry.iov_base = data; 4322 entry.iov_len = sizeof(data); 5593 * duplicated entries. Prefer associated BSS entry in such a case in 6347 * cfg80211 has likely expired the BSS entry even 6366 "entry"); 7717 * a dummy STA entry i [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_fast.c | 826 static void eap_fast_parse_pac_tlv(struct eap_fast_pac *entry, int type, argument 838 os_memcpy(entry->pac_key, pos, len); 842 entry->pac_opaque = pos; 843 entry->pac_opaque_len = len; 847 entry->pac_info = pos; 848 entry->pac_info_len = len; 858 static int eap_fast_process_pac_tlv(struct eap_fast_pac *entry, argument 883 eap_fast_parse_pac_tlv(entry, type, pos, len, &pac_key_found); 889 if (!pac_key_found || !entry->pac_opaque || !entry 899 eap_fast_parse_pac_info(struct eap_fast_pac *entry, int type, u8 *pos, size_t len) argument 979 eap_fast_process_pac_info(struct eap_fast_pac *entry) argument 1030 struct eap_fast_pac entry; local [all...] |
H A D | eap_fast_pac.c | 45 * @pac: Pointer to the PAC entry 47 * Note that the PAC entry must not be in a list since this function does not 62 * eap_fast_get_pac - Get a PAC entry based on A-ID 67 * Returns: Pointer to the PAC entry, or %NULL if A-ID not found 128 * eap_fast_add_pac - Add a copy of a PAC entry to a list 131 * @entry: New entry to clone and add to the list 134 * This function makes a clone of the given PAC entry and adds this copied 135 * entry to the list (pac_root). If an old entry fo 139 eap_fast_add_pac(struct eap_fast_pac **pac_root, struct eap_fast_pac **pac_current, struct eap_fast_pac *entry) argument [all...] |
H A D | eap_fast_pac.h | 38 struct eap_fast_pac *entry);
|
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | eap_sim_db.c | 374 struct eap_sim_db_pending *entry, *prev = NULL; local 376 entry = data->pending; 377 while (entry) { 378 if (entry->aka == aka && os_strcmp(entry->imsi, imsi) == 0) { 380 prev->next = entry->next; 382 data->pending = entry->next; 385 prev = entry; 386 entry = entry 392 eap_sim_db_add_pending(struct eap_sim_db_data *data, struct eap_sim_db_pending *entry) argument 404 struct eap_sim_db_pending *entry; local 483 struct eap_sim_db_pending *entry; local 874 struct eap_sim_db_pending *entry; local 1339 struct eap_sim_db_pending *entry; local [all...] |
/external/wpa_supplicant_8/hostapd/src/radius/ |
H A D | radius_client.c | 31 * Maximum number of retransmit attempts before the entry is removed from 330 struct radius_msg_list *entry, 337 if (entry->msg_type == RADIUS_ACCT || 338 entry->msg_type == RADIUS_ACCT_INTERIM) { 340 if (entry->attempts == 0) 348 if (entry->attempts == 0) 356 /* retransmit; remove entry if too many attempts */ 357 entry->attempts++; 358 hostapd_logger(radius->ctx, entry->addr, HOSTAPD_MODULE_RADIUS, 360 radius_msg_get_hdr(entry 329 radius_client_retransmit(struct radius_client_data *radius, struct radius_msg_list *entry, os_time_t now) argument 389 struct radius_msg_list *entry, *prev, *tmp; local 511 struct radius_msg_list *entry; local 542 struct radius_msg_list *entry, *prev; local 592 struct radius_msg_list *entry, *prev, *tmp; local 865 struct radius_msg_list *entry, *prev, *_remove; local 905 struct radius_msg_list *entry, *prev, *tmp; local 939 struct radius_msg_list *entry; local 969 struct radius_msg_list *entry; local 1390 struct radius_msg_list *entry, *prev, *tmp; local [all...] |
H A D | radius_server.c | 381 RADIUS_ERROR("Failed to add authlog entry into sqlite database: %s", 633 RADIUS_DEBUG("Matching user entry found"); 854 RADIUS_DEBUG("No MAC ACL user entry"); 1517 struct radius_client *clients, *tail, *entry; local 1611 entry = os_zalloc(sizeof(*entry)); 1612 if (entry == NULL) { 1616 entry->shared_secret = os_strdup(pos); 1617 if (entry->shared_secret == NULL) { 1619 os_free(entry); [all...] |
/external/wpa_supplicant_8/hostapd/src/rsn_supp/ |
H A D | pmksa_cache.c | 27 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx, 36 static void _pmksa_cache_free_entry(struct rsn_pmksa_cache_entry *entry) argument 38 bin_clear_free(entry, sizeof(*entry)); 43 struct rsn_pmksa_cache_entry *entry, 46 wpa_sm_remove_pmkid(pmksa->sm, entry->aa, entry->pmkid); 48 pmksa->free_cb(entry, pmksa->ctx, reason); 49 _pmksa_cache_free_entry(entry); 60 struct rsn_pmksa_cache_entry *entry local 42 pmksa_cache_free_entry(struct rsn_pmksa_cache *pmksa, struct rsn_pmksa_cache_entry *entry, enum pmksa_free_reason reason) argument 82 struct rsn_pmksa_cache_entry *entry; local 127 struct rsn_pmksa_cache_entry *entry, *pos, *prev; local 250 struct rsn_pmksa_cache_entry *entry, *prev = NULL, *tmp; local 286 struct rsn_pmksa_cache_entry *entry, *prev; local 315 struct rsn_pmksa_cache_entry *entry = pmksa->pmksa; local 364 struct rsn_pmksa_cache_entry *entry = pmksa->pmksa; local 468 struct rsn_pmksa_cache_entry *entry; local 509 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx, enum pmksa_free_reason reason), void *ctx, struct wpa_sm *sm) argument [all...] |
H A D | pmksa_cache.h | 13 * struct rsn_pmksa_cache_entry - PMKSA cache entry 31 * This can be a pointer to the configuration entry, but PMKSA caching 50 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, 75 pmksa_cache_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, argument
|
H A D | preauth.c | 39 struct rsn_pmksa_candidate *entry, *n; local 44 dl_list_for_each_safe(entry, n, &sm->pmksa_candidates, 46 dl_list_del(&entry->list); 47 os_free(entry); 283 * without an existing PMKSA cache entry is found. Processed candidates will be 367 * entry. Do not override priority based on normal scan results. */
|
H A D | wpa.c | 151 * matching PMKSA cache entry here. */ 245 "RSN: no PMKSA entry found - trigger " 524 "opportunistic PMKSA entry - marking it valid"); 2001 static void wpa_sm_pmksa_free_cb(struct rsn_pmksa_cache_entry *entry, argument 2007 wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG, "RSN: PMKSA cache entry free_cb: " 2008 MACSTR " reason=%d", MAC2STR(entry->aa), reason); 2010 if (sm->cur_pmksa == entry) { 2012 "RSN: %s current PMKSA entry", 2017 * If an entry is simply being replaced, there's no need to 2027 (sm->pmk_len == entry [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | dfs.c | 153 int *entry; local 158 for (entry = iface->conf->chanlist; *entry != -1; entry++) { 159 if (*entry == chan->chan)
|
H A D | ieee802_11_auth.c | 106 struct hostapd_cached_radius_acl *entry; local 111 for (entry = hapd->acl_cache; entry; entry = entry->next) { 112 if (os_memcmp(entry->addr, addr, ETH_ALEN) != 0) 115 if (os_reltime_expired(&now, &entry->timestamp, 117 return -1; /* entry has expired */ 118 if (entry->accepted == HOSTAPD_ACL_ACCEPT_TIMEOUT) 120 *session_timeout = entry 343 struct hostapd_cached_radius_acl *prev, *entry, *tmp; local 373 struct hostapd_acl_query_data *prev, *entry, *tmp; local [all...] |