Home
last modified time | relevance | path

Searched refs:prev_entry (Results 1 – 9 of 9) sorted by relevance

/linux/net/ipv6/
H A Dcalipso.c205 struct calipso_map_cache_entry *prev_entry = NULL; in calipso_cache_check() local
223 if (!prev_entry) { in calipso_cache_check()
228 if (prev_entry->activity > 0) in calipso_cache_check()
229 prev_entry->activity -= 1; in calipso_cache_check()
230 if (entry->activity > prev_entry->activity && in calipso_cache_check()
231 entry->activity - prev_entry->activity > in calipso_cache_check()
235 prev_entry->list.prev, in calipso_cache_check()
236 &prev_entry->list); in calipso_cache_check()
242 prev_entry = entry; in calipso_cache_check()
/linux/fs/btrfs/
H A Dordered-data.c71 struct btrfs_ordered_extent *prev_entry = NULL; in __tree_search() local
76 prev_entry = entry; in __tree_search()
88 while (prev && file_offset >= entry_end(prev_entry)) { in __tree_search()
92 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
94 if (file_offset < entry_end(prev_entry)) in __tree_search()
100 prev_entry = rb_entry(prev, struct btrfs_ordered_extent, in __tree_search()
102 while (prev && file_offset < entry_end(prev_entry)) { in __tree_search()
106 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
H A Dextent_map.c146 struct extent_map *prev_entry = NULL; in __tree_search() local
153 prev_entry = entry; in __tree_search()
164 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search()
166 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search()
179 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search()
180 while (prev && offset < prev_entry->start) { in __tree_search()
182 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search()
/linux/drivers/net/ethernet/natsemi/
H A Dsonic.c559 int prev_entry = lp->eol_rx; in sonic_rx() local
615 prev_entry = entry; in sonic_rx()
621 if (prev_entry != lp->eol_rx) { in sonic_rx()
623 sonic_rda_put(dev, prev_entry, SONIC_RD_LINK, SONIC_EOL | in sonic_rx()
624 sonic_rda_get(dev, prev_entry, SONIC_RD_LINK)); in sonic_rx()
627 lp->eol_rx = prev_entry; in sonic_rx()
/linux/net/ipv4/
H A Dcipso_ipv4.c239 struct cipso_v4_map_cache_entry *prev_entry = NULL; in cipso_v4_cache_check() local
257 if (!prev_entry) { in cipso_v4_cache_check()
262 if (prev_entry->activity > 0) in cipso_v4_cache_check()
263 prev_entry->activity -= 1; in cipso_v4_cache_check()
264 if (entry->activity > prev_entry->activity && in cipso_v4_cache_check()
265 entry->activity - prev_entry->activity > in cipso_v4_cache_check()
269 prev_entry->list.prev, in cipso_v4_cache_check()
270 &prev_entry->list); in cipso_v4_cache_check()
276 prev_entry = entry; in cipso_v4_cache_check()
/linux/fs/afs/
H A Ddir_edit.c466 if (!iter.prev_entry) { in afs_edit_dir_remove()
472 iter.bucket, iter.prev_entry, prev_next, entry, in afs_edit_dir_remove()
478 unsigned int pb = iter.prev_entry / AFS_DIR_SLOTS_PER_BLOCK; in afs_edit_dir_remove()
479 unsigned int ps = iter.prev_entry % AFS_DIR_SLOTS_PER_BLOCK; in afs_edit_dir_remove()
491 iter.bucket, iter.prev_entry, prev_next, entry, in afs_edit_dir_remove()
H A Ddir_search.c50 iter->prev_entry = 0; /* Hash head is previous */ in afs_dir_reset_iter()
166 iter->prev_entry = entry; in afs_dir_search_bucket()
H A Dinternal.h988 unsigned int prev_entry; member
/linux/drivers/net/ethernet/3com/
H A D3c515.c1001 struct boom_tx_desc *prev_entry; in corkscrew_start_xmit() local
1008 prev_entry = &vp->tx_ring[(vp->cur_tx - 1) % TX_RING_SIZE]; in corkscrew_start_xmit()
1010 prev_entry = NULL; in corkscrew_start_xmit()
1027 if (prev_entry) in corkscrew_start_xmit()
1028 prev_entry->next = isa_virt_to_bus(&vp->tx_ring[entry]); in corkscrew_start_xmit()
1041 if (prev_entry) in corkscrew_start_xmit()
1042 prev_entry->status &= ~0x80000000; in corkscrew_start_xmit()