Home
last modified time | relevance | path

Searched refs:private_list (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dworkingset.c503 * as node->private_list is protected by the i_pages lock. in workingset_update_node()
508 if (list_empty(&node->private_list)) { in workingset_update_node()
509 list_lru_add(&shadow_nodes, &node->private_list); in workingset_update_node()
513 if (!list_empty(&node->private_list)) { in workingset_update_node()
514 list_lru_del(&shadow_nodes, &node->private_list); in workingset_update_node()
585 struct xa_node *node = container_of(item, struct xa_node, private_list); in __must_hold()
/kernel/linux/linux-6.6/mm/
H A Dworkingset.c675 * as node->private_list is protected by the i_pages lock. in workingset_update_node()
681 if (list_empty(&node->private_list)) { in workingset_update_node()
682 list_lru_add(&shadow_nodes, &node->private_list); in workingset_update_node()
686 if (!list_empty(&node->private_list)) { in workingset_update_node()
687 list_lru_del(&shadow_nodes, &node->private_list); in workingset_update_node()
758 struct xa_node *node = container_of(item, struct xa_node, private_list); in __must_hold()
/kernel/linux/linux-5.10/lib/
H A Dxarray.c256 XA_NODE_BUG_ON(node, !list_empty(&node->private_list)); in xa_node_free()
272 XA_NODE_BUG_ON(node, !list_empty(&node->private_list)); in xas_destroy()
309 XA_NODE_BUG_ON(xas->xa_alloc, !list_empty(&xas->xa_alloc->private_list)); in xas_nomem()
345 XA_NODE_BUG_ON(xas->xa_alloc, !list_empty(&xas->xa_alloc->private_list));
355 XA_NODE_BUG_ON(node, !list_empty(&node->private_list)); in xas_update()
388 XA_NODE_BUG_ON(node, !list_empty(&node->private_list)); in xas_alloc()
2239 node->array, node->private_list.prev, node->private_list.next); in xa_dump_node()
H A Dradix-tree.c300 INIT_LIST_HEAD(&node->private_list); in radix_tree_node_rcu_free()
533 WARN_ON_ONCE(!list_empty(&node->private_list)); in radix_tree_shrink()
570 WARN_ON_ONCE(!list_empty(&node->private_list)); in delete_node()
671 WARN_ON_ONCE(!list_empty(&old->private_list)); in radix_tree_free_nodes()
1572 INIT_LIST_HEAD(&node->private_list); in radix_tree_node_ctor()
H A Dtest_xarray.c1655 if (list_empty(&node->private_list)) in test_update_node()
1656 list_add(&shadow_nodes, &node->private_list); in test_update_node()
1658 if (!list_empty(&node->private_list)) in test_update_node()
1659 list_del_init(&node->private_list); in test_update_node()
1669 struct xa_node, private_list))) { in shadow_remove()
1671 list_del_init(&node->private_list); in shadow_remove()
/kernel/linux/linux-6.6/lib/
H A Dxarray.c256 XA_NODE_BUG_ON(node, !list_empty(&node->private_list)); in xa_node_free()
273 XA_NODE_BUG_ON(node, !list_empty(&node->private_list)); in xas_destroy()
310 XA_NODE_BUG_ON(xas->xa_alloc, !list_empty(&xas->xa_alloc->private_list)); in xas_nomem()
346 XA_NODE_BUG_ON(xas->xa_alloc, !list_empty(&xas->xa_alloc->private_list));
356 XA_NODE_BUG_ON(node, !list_empty(&node->private_list)); in xas_update()
389 XA_NODE_BUG_ON(node, !list_empty(&node->private_list)); in xas_alloc()
2247 node->array, node->private_list.prev, node->private_list.next); in xa_dump_node()
H A Dradix-tree.c302 INIT_LIST_HEAD(&node->private_list); in radix_tree_node_rcu_free()
535 WARN_ON_ONCE(!list_empty(&node->private_list)); in radix_tree_shrink()
572 WARN_ON_ONCE(!list_empty(&node->private_list)); in delete_node()
673 WARN_ON_ONCE(!list_empty(&old->private_list)); in radix_tree_free_nodes()
1575 INIT_LIST_HEAD(&node->private_list); in radix_tree_node_ctor()
H A Dtest_xarray.c1655 if (list_empty(&node->private_list)) in test_update_node()
1656 list_add(&shadow_nodes, &node->private_list); in test_update_node()
1658 if (!list_empty(&node->private_list)) in test_update_node()
1659 list_del_init(&node->private_list); in test_update_node()
1669 struct xa_node, private_list))) { in shadow_remove()
1671 list_del_init(&node->private_list); in shadow_remove()
/kernel/linux/linux-6.6/fs/
H A Dbuffer.c476 * management of a list of dependent buffers at ->i_mapping->private_list.
482 * So the locking for private_list is via the private_lock in the address_space
485 * mapping->private_lock does *not* protect mapping->private_list! In fact,
486 * mapping->private_list will always be protected by the backing blockdev's
490 * ->private_list must be from the same address_space: the blockdev's.
492 * address_spaces which do not place buffers at ->private_list via these
493 * utility functions are free to use private_lock and private_list for
494 * whatever they want. The only requirement is that list_empty(private_list)
528 return !list_empty(&inode->i_data.private_list); in inode_has_buffers()
570 * Starts I/O against the buffers at mapping->private_list, an
[all...]
H A Dinode.c401 INIT_LIST_HEAD(&mapping->private_list); in __address_space_init_once()
623 BUG_ON(!list_empty(&inode->i_data.private_list)); in clear_inode()
/kernel/linux/linux-5.10/fs/
H A Dbuffer.c434 * management of a list of dependent buffers at ->i_mapping->private_list.
440 * So the locking for private_list is via the private_lock in the address_space
443 * mapping->private_lock does *not* protect mapping->private_list! In fact,
444 * mapping->private_list will always be protected by the backing blockdev's
448 * ->private_list must be from the same address_space: the blockdev's.
450 * address_spaces which do not place buffers at ->private_list via these
451 * utility functions are free to use private_lock and private_list for
452 * whatever they want. The only requirement is that list_empty(private_list)
486 return !list_empty(&inode->i_data.private_list); in inode_has_buffers()
534 * Starts I/O against the buffers at mapping->private_list, an
[all...]
H A Dinode.c375 INIT_LIST_HEAD(&mapping->private_list); in __address_space_init_once()
569 BUG_ON(!list_empty(&inode->i_data.private_list)); in clear_inode()
761 * mapping->private_list then try to remove them.
/kernel/linux/linux-5.10/include/linux/
H A Dxarray.h1130 struct list_head private_list; /* For tree user */ member
1281 * maintain the private_list in the node.
H A Dfs.h451 * @private_list: For use by the owner of the address_space.
472 struct list_head private_list; member
/kernel/linux/linux-6.6/include/linux/
H A Dxarray.h1166 struct list_head private_list; /* For tree user */ member
1317 * maintain the private_list in the node.
H A Dfs.h469 * @private_list: For use by the owner of the address_space.
490 struct list_head private_list; member
/kernel/linux/linux-5.10/fs/ext4/
H A Dinode.c1279 * ext4 never places buffers on inode->i_mapping->private_list. metadata
3333 if (!list_empty(&inode->i_mapping->private_list)) in ext4_inode_datasync_dirty()
/kernel/linux/linux-6.6/fs/ext4/
H A Dinode.c1266 * ext4 never places buffers on inode->i_mapping->private_list. metadata
3218 if (!list_empty(&inode->i_mapping->private_list)) in ext4_inode_datasync_dirty()

Completed in 62 milliseconds