Home
last modified time | relevance | path

Searched refs:lc_get (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A Dlru_cache.h250 extern struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr);
261 * lc_try_lock_for_transaction - can be used to stop lc_get() from changing the tracked set
274 * lc_try_lock - variant to stop lc_get() from changing the tracked set
285 * lc_unlock - unlock @lc, allow lc_get() to change the set again
/kernel/linux/linux-6.6/include/linux/
H A Dlru_cache.h248 extern struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr);
259 * lc_try_lock_for_transaction - can be used to stop lc_get() from changing the tracked set
272 * lc_try_lock - variant to stop lc_get() from changing the tracked set
283 * lc_unlock - unlock @lc, allow lc_get() to change the set again
/kernel/linux/linux-5.10/lib/
H A Dlru_cache.c232 * total calls to lc_get are in lc_seq_printf_stats()
441 * lc_get - get element by label, maybe change the active set
459 * %LC_STARVING, blocking further lc_get() operations).
480 struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr) in lc_get() function
486 * lc_get_cumulative - like lc_get; also finds to-be-changed elements
490 * Unlike lc_get this also returns the element for @enr, if it is belonging to
491 * a pending transaction, so the return values are like for lc_get(),
667 EXPORT_SYMBOL(lc_get); variable
/kernel/linux/linux-6.6/lib/
H A Dlru_cache.c222 * total calls to lc_get are in lc_seq_printf_stats()
431 * lc_get - get element by label, maybe change the active set
449 * %LC_STARVING, blocking further lc_get() operations).
470 struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr) in lc_get() function
476 * lc_get_cumulative - like lc_get; also finds to-be-changed elements
480 * Unlike lc_get this also returns the element for @enr, if it is belonging to
481 * a pending transaction, so the return values are like for lc_get(),
614 EXPORT_SYMBOL(lc_get); variable
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_actlog.c236 al_ext = lc_get(device->act_log, enr); in _al_get()
664 * already -- or we want to pull it in if necessary -- (lc_get), in update_rs_extent()
669 e = lc_get(device->resync, enr); in update_rs_extent()
730 drbd_err(device, "lc_get() failed! locked=%d/%d flags=%lu\n", in update_rs_extent()
914 e = lc_get(device->resync, enr); in _bme_get()
1082 e = lc_get(device->resync, enr); in drbd_try_rs_begin_io()
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_actlog.c236 al_ext = lc_get(device->act_log, enr); in _al_get()
664 * already -- or we want to pull it in if necessary -- (lc_get), in update_rs_extent()
669 e = lc_get(device->resync, enr); in update_rs_extent()
730 drbd_err(device, "lc_get() failed! locked=%d/%d flags=%lu\n", in update_rs_extent()
916 e = lc_get(device->resync, enr); in _bme_get()
1085 e = lc_get(device->resync, enr); in drbd_try_rs_begin_io()

Completed in 8 milliseconds