/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs3acl.c | 22 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_prepare_get_acl() local 24 if (cmpxchg(p, ACL_NOT_CACHED, sentinel) != ACL_NOT_CACHED) { in nfs3_prepare_get_acl() 25 /* Not the first reader or sentinel already in place. */ in nfs3_prepare_get_acl() 31 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_complete_get_acl() local 33 /* Only cache the ACL if our sentinel is still in place. */ in nfs3_complete_get_acl() 35 if (cmpxchg(p, sentinel, acl) != sentinel) in nfs3_complete_get_acl() 41 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_abort_get_acl() local 43 /* Remove our sentinel upon failure. */ in nfs3_abort_get_acl() 44 cmpxchg(p, sentinel, ACL_NOT_CACHE in nfs3_abort_get_acl() [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs3acl.c | 22 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_prepare_get_acl() local 24 /* If the ACL isn't being read yet, set our sentinel. */ in nfs3_prepare_get_acl() 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 32 /* Only cache the ACL if our sentinel is still in place. */ in nfs3_complete_get_acl() 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 42 /* Remove our sentinel upon failure. */ in nfs3_abort_get_acl() 43 cmpxchg(p, sentinel, ACL_NOT_CACHE in nfs3_abort_get_acl() [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-cache-policy-smq.c | 45 bool sentinel:1; member 112 unsigned nr_elts; /* excluding sentinel entries */ 159 if (!e->sentinel) in l_add_head() 175 if (!e->sentinel) in l_add_tail() 192 if (!e->sentinel) in l_add_before() 212 if (!e->sentinel) in l_del() 221 if (!e->sentinel) { in l_pop_head() 234 if (!e->sentinel) { in l_pop_tail() 299 if (!e->sentinel) in q_push() 309 if (!e->sentinel) in q_push_front() 887 struct entry *sentinel; __update_writeback_sentinels() local 900 struct entry *sentinel; __update_demote_sentinels() local 927 struct entry *sentinel; __sentinels_init() local [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-cache-policy-smq.c | 46 bool sentinel:1; member 113 unsigned int nr_elts; /* excluding sentinel entries */ 160 if (!e->sentinel) in l_add_head() 176 if (!e->sentinel) in l_add_tail() 193 if (!e->sentinel) in l_add_before() 213 if (!e->sentinel) in l_del() 222 if (!e->sentinel) { in l_pop_head() 235 if (!e->sentinel) { in l_pop_tail() 300 if (!e->sentinel) in q_push() 310 if (!e->sentinel) in q_push_front() 890 struct entry *sentinel; __update_writeback_sentinels() local 903 struct entry *sentinel; __update_demote_sentinels() local 930 struct entry *sentinel; __sentinels_init() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_buffer.c | 134 tty_buffer_reset(&buf->sentinel, 0); in tty_buffer_free_all() 135 buf->head = &buf->sentinel; in tty_buffer_free_all() 136 buf->tail = &buf->sentinel; in tty_buffer_free_all() 599 tty_buffer_reset(&buf->sentinel, 0); in tty_buffer_init() 600 buf->head = &buf->sentinel; in tty_buffer_init() 601 buf->tail = &buf->sentinel; in tty_buffer_init()
|
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_buffer.c | 138 tty_buffer_reset(&buf->sentinel, 0); in tty_buffer_free_all() 139 buf->head = &buf->sentinel; in tty_buffer_free_all() 140 buf->tail = &buf->sentinel; in tty_buffer_free_all() 581 tty_buffer_reset(&buf->sentinel, 0); in tty_buffer_init() 582 buf->head = &buf->sentinel; in tty_buffer_init() 583 buf->tail = &buf->sentinel; in tty_buffer_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_hwrm.c | 76 /* safety first, sentinel used to check for invalid requests */ in __hwrm_req_init() 77 ctx->sentinel = hwrm_calc_sentinel(ctx, req_type); in __hwrm_req_init() 103 u64 sentinel; in __hwrm_ctx() local 112 /* HWRM API has no type safety, verify sentinel to validate address */ in __hwrm_ctx() 113 sentinel = hwrm_calc_sentinel(ctx, le16_to_cpu(req->req_type)); in __hwrm_ctx() 114 if (ctx->sentinel != sentinel) { in __hwrm_ctx() 116 netdev_err(bp->dev, "HWRM sentinel mismatch, req_type = %u\n", in __hwrm_ctx() 224 /* update sentinel for potentially new request type */ in hwrm_req_replace() 226 ctx->sentinel in hwrm_req_replace() [all...] |
H A D | bnxt_hwrm.h | 26 u64 sentinel; member
|
/kernel/liteos_a/kernel/base/mem/tlsf/ |
H A D | los_memory.c | 281 PRINT_ERR("%s %d, The current sentinel node is invalid\n", __FUNCTION__, __LINE__); in OsMemIsLastSentinelNode() 361 if (OsMemIsLastSentinelNode(mySentinel)) { /* prev node becomes sentinel node */ in TryShrinkPool() 1165 struct OsMemNodeHead *sentinel = OS_MEM_END_NODE(pool, size); in OsMemAddrValidCheck() local 1166 while (OsMemIsLastSentinelNode(sentinel) == FALSE) { in OsMemAddrValidCheck() 1167 size = OS_MEM_NODE_GET_SIZE(sentinel->sizeAndFlag); in OsMemAddrValidCheck() 1168 node = OsMemSentinelNodeGet(sentinel); in OsMemAddrValidCheck() 1169 sentinel = OS_MEM_END_NODE(node, size); in OsMemAddrValidCheck() 1556 struct OsMemNodeHead *sentinel = OS_MEM_END_NODE(pool, count); in LOS_MemPoolSizeGet() local 1558 while (OsMemIsLastSentinelNode(sentinel) == FALSE) { in LOS_MemPoolSizeGet() 1559 size = OS_MEM_NODE_GET_SIZE(sentinel in LOS_MemPoolSizeGet() 1707 struct OsMemNodeHead *sentinel = OS_MEM_END_NODE(pool, pool->info.totalSize); OsMemPoolHeadCheck() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | tty_buffer.h | 40 struct tty_buffer sentinel; member
|
/kernel/linux/linux-5.10/fs/ |
H A D | posix_acl.c | 98 void *sentinel; in get_acl() local 103 * The sentinel is used to detect when another operation like in get_acl() 105 * It is guaranteed that is_uncached_acl(sentinel) is true. in get_acl() 115 sentinel = uncached_acl_sentinel(current); in get_acl() 119 * If the ACL isn't being read yet, set our sentinel. Otherwise, the in get_acl() 121 * sentinel will not be set; another task will update the cache. We in get_acl() 126 if (cmpxchg(p, ACL_NOT_CACHED, sentinel) != ACL_NOT_CACHED) in get_acl() 145 * Remove our sentinel so that we don't block future attempts in get_acl() 148 cmpxchg(p, sentinel, ACL_NOT_CACHED); in get_acl() 153 * Cache the result, but only if our sentinel i in get_acl() [all...] |
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | bootparam_utils.h | 46 * If you're having an issue because the sentinel is set, you in sanitize_boot_params() 51 if (boot_params->sentinel) { in sanitize_boot_params()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | bootparam_utils.h | 46 * If you're having an issue because the sentinel is set, you in sanitize_boot_params() 51 if (boot_params->sentinel) { in sanitize_boot_params()
|
/kernel/liteos_m/kernel/src/mm/ |
H A D | los_memory.c | 358 PRINT_ERR("%s %d, The current sentinel node is invalid\n", __FUNCTION__, __LINE__);
431 if (OsMemIsLastSentinelNode(mySentinel)) { /* prev node becomes sentinel node */
1201 struct OsMemNodeHead *sentinel = OS_MEM_END_NODE(pool, size);
local 1202 while (OsMemIsLastSentinelNode(sentinel) == FALSE) {
1203 size = OS_MEM_NODE_GET_SIZE(sentinel->sizeAndFlag);
1204 node = OsMemSentinelNodeGet(sentinel);
1205 sentinel = OS_MEM_END_NODE(node, size);
1574 struct OsMemNodeHead *sentinel = OS_MEM_END_NODE(pool, count);
local 1576 while (OsMemIsLastSentinelNode(sentinel) == FALSE) {
1577 size = OS_MEM_NODE_GET_SIZE(sentinel 1711 struct OsMemNodeHead *sentinel = OS_MEM_END_NODE(pool, pool->info.totalSize); global() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | posix_acl.c | 119 struct posix_acl *sentinel; in __get_acl() local 124 * The sentinel is used to detect when another operation like in __get_acl() 126 * It is guaranteed that is_uncached_acl(sentinel) is true. in __get_acl() 136 sentinel = uncached_acl_sentinel(current); in __get_acl() 140 * If the ACL isn't being read yet, set our sentinel. Otherwise, the in __get_acl() 142 * sentinel will not be set; another task will update the cache. We in __get_acl() 147 cmpxchg(p, ACL_NOT_CACHED, sentinel); in __get_acl() 167 * Remove our sentinel so that we don't block future attempts in __get_acl() 170 cmpxchg(p, sentinel, ACL_NOT_CACHED); in __get_acl() 175 * Cache the result, but only if our sentinel i in __get_acl() [all...] |
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
H A D | bootparam.h | 202 * The sentinel is set to a nonzero value (0xff) in header.S. 207 * probably will pick up the sentinel variable too. The fact 212 __u8 sentinel; /* 0x1ef */ member
|
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/ |
H A D | bootparam.h | 213 * The sentinel is set to a nonzero value (0xff) in header.S. 218 * probably will pick up the sentinel variable too. The fact 223 __u8 sentinel; /* 0x1ef */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/ |
H A D | bootparam.h | 176 __u8 sentinel; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/ |
H A D | bootparam.h | 176 __u8 sentinel; member
|
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | header.S | 279 .globl sentinel 280 sentinel: .byte 0xff, 0xff /* Used to detect broken loaders */ label
|
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | header.S | 221 .globl sentinel 222 sentinel: .byte 0xff, 0xff /* Used to detect broken loaders */ label
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A D | perf_event.c | 571 char sentinel; in arc_pmu_device_probe() member
|
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H A D | perf_event.c | 733 char sentinel; in arc_pmu_device_probe() member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | tty.h | 66 struct tty_buffer sentinel; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_lrc.c | 1586 bool sentinel = false; in assert_pending_valid() local 1637 if (sentinel) { in assert_pending_valid() 1638 GEM_TRACE_ERR("%s: context:%llx after sentinel in pending[%zd]\n", in assert_pending_valid() 1644 sentinel = i915_request_has_sentinel(rq); in assert_pending_valid()
|