Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dextent_map.c153 struct extent_map *prev_entry = NULL; in __tree_search() local
158 prev_entry = entry; in __tree_search()
170 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search()
172 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()
Dordered-data.c74 struct btrfs_ordered_extent *prev_entry = NULL; in __tree_search() local
79 prev_entry = entry; in __tree_search()
91 while (prev && file_offset >= entry_end(prev_entry)) { in __tree_search()
95 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
97 if (file_offset < entry_end(prev_entry)) in __tree_search()
103 prev_entry = rb_entry(prev, struct btrfs_ordered_extent, in __tree_search()
105 while (prev && file_offset < entry_end(prev_entry)) { in __tree_search()
109 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
Dextent_io.c391 struct tree_entry *prev_entry = NULL; in __etree_search() local
396 prev_entry = entry; in __etree_search()
413 while (prev && offset > prev_entry->end) { in __etree_search()
415 prev_entry = rb_entry(prev, struct tree_entry, rb_node); in __etree_search()
422 prev_entry = rb_entry(prev, struct tree_entry, rb_node); in __etree_search()
423 while (prev && offset < prev_entry->start) { in __etree_search()
425 prev_entry = rb_entry(prev, struct tree_entry, rb_node); in __etree_search()
/Linux-v5.4/net/ipv6/
Dcalipso.c202 struct calipso_map_cache_entry *prev_entry = NULL; in calipso_cache_check() local
220 if (!prev_entry) { in calipso_cache_check()
225 if (prev_entry->activity > 0) in calipso_cache_check()
226 prev_entry->activity -= 1; in calipso_cache_check()
227 if (entry->activity > prev_entry->activity && in calipso_cache_check()
228 entry->activity - prev_entry->activity > in calipso_cache_check()
232 prev_entry->list.prev, in calipso_cache_check()
233 &prev_entry->list); in calipso_cache_check()
239 prev_entry = entry; in calipso_cache_check()
/Linux-v5.4/net/ipv4/
Dcipso_ipv4.c240 struct cipso_v4_map_cache_entry *prev_entry = NULL; in cipso_v4_cache_check() local
258 if (!prev_entry) { in cipso_v4_cache_check()
263 if (prev_entry->activity > 0) in cipso_v4_cache_check()
264 prev_entry->activity -= 1; in cipso_v4_cache_check()
265 if (entry->activity > prev_entry->activity && in cipso_v4_cache_check()
266 entry->activity - prev_entry->activity > in cipso_v4_cache_check()
270 prev_entry->list.prev, in cipso_v4_cache_check()
271 &prev_entry->list); in cipso_v4_cache_check()
277 prev_entry = entry; in cipso_v4_cache_check()
/Linux-v5.4/fs/nilfs2/
Dalloc.h89 struct nilfs_bh_assoc prev_entry; member
Dalloc.c321 &cache->prev_entry, &cache->lock); in nilfs_palloc_get_entry_block()
335 &cache->prev_entry, &cache->lock); in nilfs_palloc_delete_entry_block()
851 brelse(cache->prev_entry.bh); in nilfs_palloc_clear_cache()
854 cache->prev_entry.bh = NULL; in nilfs_palloc_clear_cache()
/Linux-v5.4/drivers/net/ethernet/3com/
D3c515.c1014 struct boom_tx_desc *prev_entry; in corkscrew_start_xmit() local
1021 prev_entry = &vp->tx_ring[(vp->cur_tx - 1) % TX_RING_SIZE]; in corkscrew_start_xmit()
1023 prev_entry = NULL; in corkscrew_start_xmit()
1040 if (prev_entry) in corkscrew_start_xmit()
1041 prev_entry->next = isa_virt_to_bus(&vp->tx_ring[entry]); in corkscrew_start_xmit()
1054 if (prev_entry) in corkscrew_start_xmit()
1055 prev_entry->status &= ~0x80000000; in corkscrew_start_xmit()
D3c59x.c2116 struct boom_tx_desc *prev_entry = &vp->tx_ring[(vp->cur_tx-1) % TX_RING_SIZE]; in boomerang_start_xmit() local
2214 prev_entry->next = cpu_to_le32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc)); in boomerang_start_xmit()
2230 prev_entry->status &= cpu_to_le32(~TxIntrUploaded); in boomerang_start_xmit()
/Linux-v5.4/fs/f2fs/
Dextent_cache.c98 struct rb_entry **prev_entry, in f2fs_lookup_rb_tree_ret() argument
110 *prev_entry = NULL; in f2fs_lookup_rb_tree_ret()
151 *prev_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret()
158 *prev_entry = rb_entry_safe(tmp_node, struct rb_entry, rb_node); in f2fs_lookup_rb_tree_ret()
Df2fs.h3530 struct rb_entry **prev_entry, struct rb_entry **next_entry,