Lines Matching refs:ie
2114 struct inquiry_entry *ie)
2120 list_del(&ie->list);
2124 abs(p->data.rssi) >= abs(ie->data.rssi))
2129 list_add(&ie->list, pos);
2136 struct inquiry_entry *ie;
2146 ie = hci_inquiry_cache_lookup(hdev, &data->bdaddr);
2147 if (ie) {
2148 if (!ie->data.ssp_mode)
2151 if (ie->name_state == NAME_NEEDED &&
2152 data->rssi != ie->data.rssi) {
2153 ie->data.rssi = data->rssi;
2154 hci_inquiry_cache_update_resolve(hdev, ie);
2161 ie = kzalloc(sizeof(*ie), GFP_KERNEL);
2162 if (!ie) {
2167 list_add(&ie->all, &cache->all);
2170 ie->name_state = NAME_KNOWN;
2172 ie->name_state = NAME_NOT_KNOWN;
2173 list_add(&ie->list, &cache->unknown);
2177 if (name_known && ie->name_state != NAME_KNOWN &&
2178 ie->name_state != NAME_PENDING) {
2179 ie->name_state = NAME_KNOWN;
2180 list_del(&ie->list);
2183 memcpy(&ie->data, data, sizeof(*data));
2184 ie->timestamp = jiffies;
2187 if (ie->name_state == NAME_NOT_KNOWN)