Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 27 lines 631 B view raw
1// SPDX-License-Identifier: GPL-2.0 2 3/* 4 * Copyright (C) 2025 Google LLC. 5 */ 6 7#include <linux/list_lru.h> 8#include <linux/task_work.h> 9 10__rust_helper unsigned long rust_helper_list_lru_count(struct list_lru *lru) 11{ 12 return list_lru_count(lru); 13} 14 15__rust_helper unsigned long rust_helper_list_lru_walk(struct list_lru *lru, 16 list_lru_walk_cb isolate, 17 void *cb_arg, 18 unsigned long nr_to_walk) 19{ 20 return list_lru_walk(lru, isolate, cb_arg, nr_to_walk); 21} 22 23__rust_helper void rust_helper_init_task_work(struct callback_head *twork, 24 task_work_func_t func) 25{ 26 init_task_work(twork, func); 27}