| /kernel/linux/linux-6.6/arch/riscv/ |
| D | Kconfig.errata | 20 non-standard handling on non-coherent operations on Andes cores. 22 If you don't know what to do here, say "Y". 35 bool "Apply SiFive errata CIP-453" 39 This will apply the SiFive CIP-453 errata to add sign extension 43 If you don't know what to do here, say "Y". 46 bool "Apply SiFive errata CIP-1200" 50 This will apply the SiFive CIP-1200 errata to repalce all 54 If you don't know what to do here, say "Y". 57 bool "T-HEAD errata" 60 All T-HEAD errata Kconfig depend on this Kconfig. Disabling [all …]
|
| /kernel/linux/linux-6.6/arch/x86/platform/uv/ |
| D | uv_time.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2009-2013 Silicon Graphics, Inc. All Rights Reserved. 38 .irq = -1, 92 /* Setup interrupt and return non-zero if early expiration occurred. */ 101 uv_write_global_mmr64(pnode, UVH_INT_CMPB, -1L); in uv_setup_intr() 121 * Per-cpu timer tracking routines 134 /* Allocate per-node list of cpu timer expiration times. */ 141 return -ENOMEM; in uv_rtc_allocate_timers() 147 struct uv_rtc_timer_head *head = blade_info[bid]; in uv_rtc_allocate_timers() local 149 if (!head) { in uv_rtc_allocate_timers() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/platform/uv/ |
| D | uv_time.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2009-2013 Silicon Graphics, Inc. All Rights Reserved. 38 .irq = -1, 92 /* Setup interrupt and return non-zero if early expiration occurred. */ 101 uv_write_global_mmr64(pnode, UVH_INT_CMPB, -1L); in uv_setup_intr() 121 * Per-cpu timer tracking routines 134 /* Allocate per-node list of cpu timer expiration times. */ 141 return -ENOMEM; in uv_rtc_allocate_timers() 147 struct uv_rtc_timer_head *head = blade_info[bid]; in uv_rtc_allocate_timers() local 149 if (!head) { in uv_rtc_allocate_timers() [all …]
|
| /kernel/linux/linux-6.6/kernel/futex/ |
| D | syscalls.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 * Implementation: user-space maintains a per-thread list of locks it 18 * per-thread. Userspace also maintains a per-thread 'list_op_pending' 25 * sys_set_robust_list() - Set the robust-futex list head of a task 26 * @head: pointer to the list-head 27 * @len: length of the list-head, as userspace expects 29 SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, in SYSCALL_DEFINE2() argument 35 if (unlikely(len != sizeof(*head))) in SYSCALL_DEFINE2() 36 return -EINVAL; in SYSCALL_DEFINE2() 38 current->robust_list = head; in SYSCALL_DEFINE2() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | mkregtable.c | 1 // SPDX-License-Identifier: MIT 20 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) 22 * container_of - cast a member of a structure out to the containing structure 29 const typeof(((type *)0)->member)*__mptr = (ptr); \ 30 (type *)((char *)__mptr - offsetof(type, member)); }) 39 * using the generic single-entry routines. 49 list->next = list; in INIT_LIST_HEAD() 50 list->prev = list; in INIT_LIST_HEAD() 63 next->prev = new; in __list_add() 64 new->next = next; in __list_add() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | mkregtable.c | 1 // SPDX-License-Identifier: MIT 20 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) 22 * container_of - cast a member of a structure out to the containing structure 29 const typeof(((type *)0)->member)*__mptr = (ptr); \ 30 (type *)((char *)__mptr - offsetof(type, member)); }) 39 * using the generic single-entry routines. 49 list->next = list; in INIT_LIST_HEAD() 50 list->prev = list; in INIT_LIST_HEAD() 63 next->prev = new; in __list_add() 64 new->next = next; in __list_add() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
| D | crc.c | 1 // SPDX-License-Identifier: MIT 16 #include "head.h" 25 [NV50_CRC_SOURCE_OUTP_ACTIVE] = "outp-active", 26 [NV50_CRC_SOURCE_OUTP_COMPLETE] = "outp-complete", 27 [NV50_CRC_SOURCE_OUTP_INACTIVE] = "outp-inactive", 51 struct nouveau_drm *drm = nouveau_drm(crtc->dev); in nv50_crc_verify_source() 56 return -EINVAL; in nv50_crc_verify_source() 70 nv50_crc_program_ctx(struct nv50_head *head, in nv50_crc_program_ctx() argument 73 struct nv50_disp *disp = nv50_disp(head->base.base.dev); in nv50_crc_program_ctx() 74 struct nv50_core *core = disp->core; in nv50_crc_program_ctx() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
| D | genpool.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * printk() is not safe in MCE context. This is a lock-less memory allocator 16 * used to save error information organized in a lock-less list. 29 * Compare the record "t" with each of the records on list "l" to see if 32 static bool is_duplicate_mce_record(struct mce_evt_llist *t, struct mce_evt_llist *l) in is_duplicate_mce_record() argument 37 m1 = &t->mce; in is_duplicate_mce_record() 39 llist_for_each_entry(node, &l->llnode, llnode) { in is_duplicate_mce_record() 40 m2 = &node->mce; in is_duplicate_mce_record() 49 * The system has panicked - we'd like to peruse the list of MCE records 57 struct llist_node *head; in mce_gen_pool_prepare_records() local [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/cpu/mce/ |
| D | genpool.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * printk() is not safe in MCE context. This is a lock-less memory allocator 16 * used to save error information organized in a lock-less list. 29 * Compare the record "t" with each of the records on list "l" to see if 32 static bool is_duplicate_mce_record(struct mce_evt_llist *t, struct mce_evt_llist *l) in is_duplicate_mce_record() argument 37 m1 = &t->mce; in is_duplicate_mce_record() 39 llist_for_each_entry(node, &l->llnode, llnode) { in is_duplicate_mce_record() 40 m2 = &node->mce; in is_duplicate_mce_record() 49 * The system has panicked - we'd like to peruse the list of MCE records 57 struct llist_node *head; in mce_gen_pool_prepare_records() local [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | softirq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Rewritten. Old one was good in 2.2, but in 2.3 it was immoral. --ANK (990903) 33 - No shared variables, all the data are CPU local. 34 - If a softirq needs serialization, let it serialize itself 36 - Even if softirq is serialized, only local cpu is marked for 42 - NET RX softirq. It is multithreaded and does not require 44 - NET TX softirq. It kicks software netdevice queues, hence 47 - Tasklets: serialized wrt itself. 66 * but we also don't want to introduce a worst case 1/HZ latency 75 if (tsk && tsk->state != TASK_RUNNING) in wakeup_softirqd() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
| D | crc.c | 1 // SPDX-License-Identifier: MIT 16 #include "head.h" 25 [NV50_CRC_SOURCE_OUTP_ACTIVE] = "outp-active", 26 [NV50_CRC_SOURCE_OUTP_COMPLETE] = "outp-complete", 27 [NV50_CRC_SOURCE_OUTP_INACTIVE] = "outp-inactive", 51 struct nouveau_drm *drm = nouveau_drm(crtc->dev); in nv50_crc_verify_source() 56 return -EINVAL; in nv50_crc_verify_source() 70 nv50_crc_program_ctx(struct nv50_head *head, in nv50_crc_program_ctx() argument 73 struct nv50_disp *disp = nv50_disp(head->base.base.dev); in nv50_crc_program_ctx() 74 struct nv50_core *core = disp->core; in nv50_crc_program_ctx() [all …]
|
| /kernel/linux/linux-6.6/net/sctp/ |
| D | output.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 13 * lksctp developers <linux-sctp@vger.kernel.org> 60 packet->size = packet->overhead; in sctp_packet_reset() 62 packet->has_cookie_echo = 0; in sctp_packet_reset() 63 packet->has_sack = 0; in sctp_packet_reset() 64 packet->has_data = 0; in sctp_packet_reset() 65 packet->has_auth = 0; in sctp_packet_reset() 66 packet->ipfragok = 0; in sctp_packet_reset() [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | plist.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Descending-priority-sorted double-linked list 7 * (C) 2002-2003 Intel Corp 8 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>. 10 * 2001-2005 (c) MontaVista Software, Inc. 16 * Oleg Nesterov <oleg@tv-sign.ru> 32 static void plist_check_prev_next(struct list_head *t, struct list_head *p, in plist_check_prev_next() argument 35 WARN(n->prev != p || p->next != n, in plist_check_prev_next() 39 t, t->next, t->prev, in plist_check_prev_next() 40 p, p->next, p->prev, in plist_check_prev_next() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | plist.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Descending-priority-sorted double-linked list 7 * (C) 2002-2003 Intel Corp 8 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>. 10 * 2001-2005 (c) MontaVista Software, Inc. 16 * Oleg Nesterov <oleg@tv-sign.ru> 32 static void plist_check_prev_next(struct list_head *t, struct list_head *p, in plist_check_prev_next() argument 35 WARN(n->prev != p || p->next != n, in plist_check_prev_next() 39 t, t->next, t->prev, in plist_check_prev_next() 40 p, p->next, p->prev, in plist_check_prev_next() [all …]
|
| /kernel/linux/linux-5.10/net/sctp/ |
| D | output.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 13 * lksctp developers <linux-sctp@vger.kernel.org> 60 packet->size = packet->overhead; in sctp_packet_reset() 62 packet->has_cookie_echo = 0; in sctp_packet_reset() 63 packet->has_sack = 0; in sctp_packet_reset() 64 packet->has_data = 0; in sctp_packet_reset() 65 packet->has_auth = 0; in sctp_packet_reset() 66 packet->ipfragok = 0; in sctp_packet_reset() [all …]
|
| /kernel/linux/linux-6.6/drivers/block/aoe/ |
| D | aoecmd.c | 10 #include <linux/blk-mq.h> 54 struct list_head head; member 71 skb->protocol = __constant_htons(ETH_P_AOE); in new_skb() 80 struct list_head *head, *pos, *nx; in getframe_deferred() local 83 head = &d->rexmitq; in getframe_deferred() 84 list_for_each_safe(pos, nx, head) { in getframe_deferred() 85 f = list_entry(pos, struct frame, head); in getframe_deferred() 86 if (f->tag == tag) { in getframe_deferred() 98 struct list_head *head, *pos, *nx; in getframe() local 102 head = &d->factive[n]; in getframe() [all …]
|
| /kernel/linux/linux-5.10/drivers/block/aoe/ |
| D | aoecmd.c | 10 #include <linux/blk-mq.h> 55 struct list_head head; member 72 skb->protocol = __constant_htons(ETH_P_AOE); in new_skb() 81 struct list_head *head, *pos, *nx; in getframe_deferred() local 84 head = &d->rexmitq; in getframe_deferred() 85 list_for_each_safe(pos, nx, head) { in getframe_deferred() 86 f = list_entry(pos, struct frame, head); in getframe_deferred() 87 if (f->tag == tag) { in getframe_deferred() 99 struct list_head *head, *pos, *nx; in getframe() local 103 head = &d->factive[n]; in getframe() [all …]
|
| /kernel/linux/linux-6.6/net/bpf/ |
| D | test_run.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/error-injection.h> 36 static void bpf_test_timer_enter(struct bpf_test_timer *t) in bpf_test_timer_enter() argument 40 if (t->mode == NO_PREEMPT) in bpf_test_timer_enter() 45 t->time_start = ktime_get_ns(); in bpf_test_timer_enter() 48 static void bpf_test_timer_leave(struct bpf_test_timer *t) in bpf_test_timer_leave() argument 51 t->time_start = 0; in bpf_test_timer_leave() 53 if (t->mode == NO_PREEMPT) in bpf_test_timer_leave() 60 static bool bpf_test_timer_continue(struct bpf_test_timer *t, int iterations, in bpf_test_timer_continue() argument 64 t->i += iterations; in bpf_test_timer_continue() [all …]
|
| /kernel/linux/linux-6.6/kernel/ |
| D | softirq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Rewritten. Old one was good in 2.2, but in 2.3 it was immoral. --ANK (990903) 37 - No shared variables, all the data are CPU local. 38 - If a softirq needs serialization, let it serialize itself 40 - Even if softirq is serialized, only local cpu is marked for 46 - NET RX softirq. It is multithreaded and does not require 48 - NET TX softirq. It kicks software netdevice queues, hence 51 - Tasklets: serialized wrt itself. 70 * but we also don't want to introduce a worst case 1/HZ latency 96 * - count is changed by SOFTIRQ_OFFSET on entering or leaving softirq [all …]
|
| /kernel/linux/linux-6.6/net/ipv4/ |
| D | xfrm4_protocol.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* xfrm4_protocol.c - Generic xfrm protocol multiplexer. 40 #define for_each_protocol_rcu(head, handler) \ argument 41 for (handler = rcu_dereference(head); \ 43 handler = rcu_dereference(handler->next)) \ 49 struct xfrm4_protocol __rcu **head = proto_handlers(protocol); in xfrm4_rcv_cb() local 51 if (!head) in xfrm4_rcv_cb() 54 for_each_protocol_rcu(*head, handler) in xfrm4_rcv_cb() 55 if ((ret = handler->cb_handler(skb, err)) <= 0) in xfrm4_rcv_cb() 66 struct xfrm4_protocol __rcu **head = proto_handlers(nexthdr); in xfrm4_rcv_encap() local [all …]
|
| /kernel/linux/linux-5.10/net/ipv4/ |
| D | xfrm4_protocol.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* xfrm4_protocol.c - Generic xfrm protocol multiplexer. 40 #define for_each_protocol_rcu(head, handler) \ argument 41 for (handler = rcu_dereference(head); \ 43 handler = rcu_dereference(handler->next)) \ 49 struct xfrm4_protocol __rcu **head = proto_handlers(protocol); in xfrm4_rcv_cb() local 51 if (!head) in xfrm4_rcv_cb() 54 for_each_protocol_rcu(*head, handler) in xfrm4_rcv_cb() 55 if ((ret = handler->cb_handler(skb, err)) <= 0) in xfrm4_rcv_cb() 66 struct xfrm4_protocol __rcu **head = proto_handlers(nexthdr); in xfrm4_rcv_encap() local [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
| D | ena_eth_com.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. 11 /* head update threshold in units of (queue size / ENA_COMP_HEAD_THRESH) */ 17 /* For LLQ, header buffer - pushed to the device mem space */ 34 u8 df; /* Don't fragment */ 69 writel(intr_reg->intr_control, io_cq->unmask_reg); in ena_com_unmask_intr() 76 next_to_comp = io_sq->next_to_comp; in ena_com_free_q_entries() 77 tail = io_sq->tail; in ena_com_free_q_entries() 78 cnt = tail - next_to_comp; in ena_com_free_q_entries() 80 return io_sq->q_depth - 1 - cnt; in ena_com_free_q_entries() [all …]
|
| /kernel/linux/linux-5.10/Documentation/vm/ |
| D | transhuge.rst | 14 - "graceful fallback": mm components which don't have transparent hugepage 19 - if a hugepage allocation fails because of memory fragmentation, 24 - if some task quits and more hugepages become available (either 29 - it doesn't require memory reservation and in turn it uses hugepages 40 head or tail pages as usual (exactly as they would do on 43 is complete, so they won't ever notice the fact the page is huge. But 45 page (like for checking page->mapping or other bits that are relevant 46 for the head page and not the tail page), it should be updated to jump 47 to check head page instead. Taking a reference on any head/tail page would 51 these aren't new constraints to the GUP API, and they match the [all …]
|
| /kernel/linux/linux-6.6/Documentation/mm/ |
| D | transhuge.rst | 12 - "graceful fallback": mm components which don't have transparent hugepage 17 - if a hugepage allocation fails because of memory fragmentation, 22 - if some task quits and more hugepages become available (either 27 - it doesn't require memory reservation and in turn it uses hugepages 38 head or tail pages as usual (exactly as they would do on 41 is complete, so they won't ever notice the fact the page is huge. But 43 page (like for checking page->mapping or other bits that are relevant 44 for the head page and not the tail page), it should be updated to jump 45 to check head page instead. Taking a reference on any head/tail page would 49 these aren't new constraints to the GUP API, and they match the [all …]
|
| /kernel/linux/linux-6.6/tools/perf/arch/arm64/util/ |
| D | arm-spe.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2017-2018, Arm Ltd. 25 #include "../../../util/arm-spe.h" 53 struct perf_pmu *arm_spe_pmu = sper->arm_spe_pmu; in arm_spe_info_fill() 56 return -EINVAL; in arm_spe_info_fill() 58 if (!session->evlist->core.nr_mmaps) in arm_spe_info_fill() 59 return -EINVAL; in arm_spe_info_fill() 61 auxtrace_info->type = PERF_AUXTRACE_ARM_SPE; in arm_spe_info_fill() 62 auxtrace_info->priv[ARM_SPE_PMU_TYPE] = arm_spe_pmu->type; in arm_spe_info_fill() 83 * No size were given to '-S' or '-m,', so go with the default in arm_spe_snapshot_resolve_auxtrace_defaults() [all …]
|