Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-cache-policy-smq.c56 bool sentinel:1;
123 unsigned int nr_elts; /* excluding sentinel entries */ in l_head()
170 if (!e->sentinel) in l_add_tail()
186 if (!e->sentinel) in l_add_before()
203 if (!e->sentinel) in l_del()
223 if (!e->sentinel) in l_pop_head()
232 if (!e->sentinel) { in l_pop_tail()
245 if (!e->sentinel) {
310 if (!e->sentinel) in q_push_front()
320 if (!e->sentinel) in q_push_before()
46 bool sentinel:1; global() member
890 struct entry *sentinel; __update_writeback_sentinels() local
903 struct entry *sentinel; __update_demote_sentinels() local
930 struct entry *sentinel; __sentinels_init() local
[all...]
/linux/fs/nfs/
H A Dnfs3acl.c22 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_prepare_get_acl() local
25 cmpxchg(p, ACL_NOT_CACHED, sentinel); in nfs3_prepare_get_acl()
30 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_complete_get_acl() local
34 if (cmpxchg(p, sentinel, acl) != sentinel) in nfs3_complete_get_acl()
40 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_abort_get_acl() local
43 cmpxchg(p, sentinel, ACL_NOT_CACHED); in nfs3_abort_get_acl()
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_hwrm.c38 ctx->sentinel = bnge_cal_sentinel(ctx, req_type); in bnge_hwrm_req_create()
64 u64 sentinel; in __hwrm_ctx_get() local
73 sentinel = bnge_cal_sentinel(ctx, le16_to_cpu(req->req_type)); in __hwrm_ctx_get()
74 if (ctx->sentinel != sentinel) { in __hwrm_ctx_get()
136 ctx->sentinel = bnge_cal_sentinel(ctx, req_type); in bnge_hwrm_req_replace()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwrm.c77 ctx->sentinel = hwrm_calc_sentinel(ctx, req_type); in __hwrm_req_init()
103 u64 sentinel; in __hwrm_ctx() local
113 sentinel = hwrm_calc_sentinel(ctx, le16_to_cpu(req->req_type)); in __hwrm_ctx()
114 if (ctx->sentinel != sentinel) { in __hwrm_ctx()
226 ctx->sentinel = hwrm_calc_sentinel(ctx, req_type); in hwrm_req_replace()
H A Dbnxt_hwrm.h26 u64 sentinel; member
/linux/rust/kernel/
H A Ddevice_id.rs59 sentinel: MaybeUninit<T::RawType>, field
123 sentinel: MaybeUninit::zeroed(),
/linux/arch/x86/include/asm/
H A Dbootparam_utils.h51 if (boot_params->sentinel) { in sanitize_boot_params()
/linux/fs/
H A Dposix_acl.c118 struct posix_acl *sentinel; in __get_acl() local
123 * The sentinel is used to detect when another operation like in __get_acl()
125 * It is guaranteed that is_uncached_acl(sentinel) is true. in __get_acl()
135 sentinel = uncached_acl_sentinel(current); in __get_acl()
139 * If the ACL isn't being read yet, set our sentinel. Otherwise, the in __get_acl()
141 * sentinel will not be set; another task will update the cache. We in __get_acl()
146 cmpxchg(p, ACL_NOT_CACHED, sentinel); in __get_acl()
166 * Remove our sentinel so that we don't block future attempts in __get_acl()
169 cmpxchg(p, sentinel, ACL_NOT_CACHED); in __get_acl()
174 * Cache the result, but only if our sentinel i in __get_acl()
[all...]
/linux/Documentation/arch/x86/
H A Dzero-page.rst42 1EF/001 ALL sentinel Used to detect broken bootloaders
/linux/arch/x86/boot/
H A Dheader.S230 .globl sentinel symbol
231 sentinel: .byte 0xff, 0xff /* Used to detect broken loaders */ label
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dnpc.c248 unsigned long sentinel = (unsigned long)-1; in npc_vidx2idx()
262 if (val == sentinel) in npc_vidx2idx()
250 unsigned long sentinel = (unsigned long)-1; npc_vidx2idx() local