Home
last modified time | relevance | path

Searched +full:t +full:- +full:head (Results 1 – 25 of 1069) sorted by relevance

12345678910>>...43

/linux-6.12.1/arch/riscv/
DKconfig.errata20 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".
68 caches that are non-coherent with respect to peripheral DMAs.
69 It was designed before the Zicbom extension so needs non-standard
[all …]
/linux-6.12.1/arch/x86/platform/uv/
Duv_time.c1 // 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 …]
/linux-6.12.1/drivers/gpu/drm/radeon/
Dmkregtable.c1 // 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 …]
/linux-6.12.1/arch/x86/kernel/cpu/mce/
Dgenpool.c1 // 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 …]
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv50/
Dcrc.c1 // SPDX-License-Identifier: MIT
18 #include "head.h"
27 [NV50_CRC_SOURCE_OUTP_ACTIVE] = "outp-active",
28 [NV50_CRC_SOURCE_OUTP_COMPLETE] = "outp-complete",
29 [NV50_CRC_SOURCE_OUTP_INACTIVE] = "outp-inactive",
53 struct nouveau_drm *drm = nouveau_drm(crtc->dev); in nv50_crc_verify_source()
58 return -EINVAL; in nv50_crc_verify_source()
72 nv50_crc_program_ctx(struct nv50_head *head, in nv50_crc_program_ctx() argument
75 struct nv50_disp *disp = nv50_disp(head->base.base.dev); in nv50_crc_program_ctx()
76 struct nv50_core *core = disp->core; in nv50_crc_program_ctx()
[all …]
/linux-6.12.1/net/sctp/
Doutput.c1 // 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 …]
/linux-6.12.1/kernel/futex/
Dsyscalls.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * Implementation: user-space maintains a per-thread list of locks it
17 * per-thread. Userspace also maintains a per-thread 'list_op_pending'
24 * sys_set_robust_list() - Set the robust-futex list head of a task
25 * @head: pointer to the list-head
26 * @len: length of the list-head, as userspace expects
28 SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, in SYSCALL_DEFINE2() argument
34 if (unlikely(len != sizeof(*head))) in SYSCALL_DEFINE2()
35 return -EINVAL; in SYSCALL_DEFINE2()
37 current->robust_list = head; in SYSCALL_DEFINE2()
[all …]
/linux-6.12.1/kernel/
Dsoftirq.c1 // 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)
38 - No shared variables, all the data are CPU local.
39 - If a softirq needs serialization, let it serialize itself
41 - Even if softirq is serialized, only local cpu is marked for
47 - NET RX softirq. It is multithreaded and does not require
49 - NET TX softirq. It kicks software netdevice queues, hence
52 - Tasklets: serialized wrt itself.
71 * but we also don't want to introduce a worst case 1/HZ latency
97 * - count is changed by SOFTIRQ_OFFSET on entering or leaving softirq
[all …]
/linux-6.12.1/Documentation/dev-tools/
Dcheckuapi.rst1 .. SPDX-License-Identifier: GPL-2.0-only
7 The UAPI checker (``scripts/check-uapi.sh``) is a shell script which
8 checks UAPI header files for userspace backwards-compatibility across
14 This section will describe the options with which ``check-uapi.sh``
19 check-uapi.sh [-b BASE_REF] [-p PAST_REF] [-j N] [-l ERROR_LOG] [-i] [-q] [-v]
23 -b BASE_REF Base git reference to use for comparison. If unspecified or empty,
25 dirty changes, HEAD will be used.
26 -p PAST_REF Compare BASE_REF to PAST_REF (e.g. -p v6.1). If unspecified or empty,
29 -j JOBS Number of checks to run in parallel (default: number of CPU cores).
30 -l ERROR_LOG Write error log to file (default: no error log is generated).
[all …]
/linux-6.12.1/drivers/block/aoe/
Daoecmd.c10 #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 …]
/linux-6.12.1/lib/
Dplist.c1 // 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 …]
/linux-6.12.1/net/bpf/
Dtest_run.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <linux/error-injection.h>
37 static void bpf_test_timer_enter(struct bpf_test_timer *t) in bpf_test_timer_enter() argument
41 if (t->mode == NO_PREEMPT) in bpf_test_timer_enter()
46 t->time_start = ktime_get_ns(); in bpf_test_timer_enter()
49 static void bpf_test_timer_leave(struct bpf_test_timer *t) in bpf_test_timer_leave() argument
52 t->time_start = 0; in bpf_test_timer_leave()
54 if (t->mode == NO_PREEMPT) in bpf_test_timer_leave()
61 static bool bpf_test_timer_continue(struct bpf_test_timer *t, int iterations, in bpf_test_timer_continue() argument
65 t->i += iterations; in bpf_test_timer_continue()
[all …]
/linux-6.12.1/net/ipv4/
Dxfrm4_protocol.c1 // 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 …]
/linux-6.12.1/tools/perf/arch/arm64/util/
Darm-spe.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2017-2018, Arm Ltd.
26 #include "../../../util/arm-spe.h"
54 struct perf_pmu *arm_spe_pmu = sper->arm_spe_pmu; in arm_spe_info_fill()
57 return -EINVAL; in arm_spe_info_fill()
59 if (!session->evlist->core.nr_mmaps) in arm_spe_info_fill()
60 return -EINVAL; in arm_spe_info_fill()
62 auxtrace_info->type = PERF_AUXTRACE_ARM_SPE; in arm_spe_info_fill()
63 auxtrace_info->priv[ARM_SPE_PMU_TYPE] = arm_spe_pmu->type; in arm_spe_info_fill()
84 * No size were given to '-S' or '-m,', so go with the default in arm_spe_snapshot_resolve_auxtrace_defaults()
[all …]
/linux-6.12.1/drivers/pci/hotplug/
Dcpqphp_ctrl.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com)
72 func = cpqhp_slot_find(ctrl->bus, in handle_switch_change()
73 (hp_slot + ctrl->slot_device_offset), 0); in handle_switch_change()
78 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_switch_change()
79 ctrl->next_event = (ctrl->next_event + 1) % 10; in handle_switch_change()
80 taskInfo->hp_slot = hp_slot; in handle_switch_change()
84 temp_word = ctrl->ctrl_int_comp >> 16; in handle_switch_change()
85 func->presence_save = (temp_word >> hp_slot) & 0x01; in handle_switch_change()
86 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_switch_change()
[all …]
/linux-6.12.1/Documentation/mm/
Dtranshuge.rst12 - "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 …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Ddebug_private.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (c) 2010-2015, Intel Corporation.
30 return (debug_data_ptr->head == debug_data_ptr->tail); in is_debug_buffer_empty()
37 assert(debug_buffer_address != ((hrt_address) - 1)); in debug_dequeue()
42 value = debug_data_ptr->buf[debug_data_ptr->head]; in debug_dequeue()
43 debug_data_ptr->head = (debug_data_ptr->head + 1) & DEBUG_BUF_MASK; in debug_dequeue()
45 debug_data_ptr->head); in debug_dequeue()
55 …/* We could move the remote head after the upload, but we would have to limit the upload w.r.t. th… in debug_synch_queue()
56 if (remote_tail > debug_data_ptr->tail) { in debug_synch_queue()
57 size_t delta = remote_tail - debug_data_ptr->tail; in debug_synch_queue()
[all …]
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dhvcserver.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 * functions aren't performance sensitive, so this conversion isn't an
37 return -EINVAL; in hvcs_convert()
39 return -EIO; in hvcs_convert()
47 return -EBUSY; in hvcs_convert()
50 return -EPERM; in hvcs_convert()
55 * hvcs_free_partner_info - free pi allocated by hvcs_get_partner_info
56 * @head: list_head pointer for an allocated list of partner info structs to
62 int hvcs_free_partner_info(struct list_head *head) in hvcs_free_partner_info() argument
67 if (!head) in hvcs_free_partner_info()
[all …]
/linux-6.12.1/kernel/events/
Dring_buffer.c1 // SPDX-License-Identifier: GPL-2.0
3 * Performance events ring-buffer code:
6 * Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
7 * Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
22 atomic_set(&handle->rb->poll, EPOLLIN); in perf_output_wakeup()
24 handle->event->pending_wakeup = 1; in perf_output_wakeup()
26 if (*perf_event_fasync(handle->event) && !handle->event->pending_kill) in perf_output_wakeup()
27 handle->event->pending_kill = POLL_IN; in perf_output_wakeup()
29 irq_work_queue(&handle->event->pending_irq); in perf_output_wakeup()
33 * We need to ensure a later event_id doesn't publish a head when a former
[all …]
/linux-6.12.1/net/sched/
Dcls_fw.c1 // SPDX-License-Identifier: GPL-2.0-or-later
55 struct fw_head *head = rcu_dereference_bh(tp->root); in fw_classify() local
58 u32 id = skb->mark; in fw_classify()
60 if (head != NULL) { in fw_classify()
61 id &= head->mask; in fw_classify()
63 for (f = rcu_dereference_bh(head->ht[fw_hash(id)]); f; in fw_classify()
64 f = rcu_dereference_bh(f->next)) { in fw_classify()
65 if (f->id == id) { in fw_classify()
66 *res = f->res; in fw_classify()
67 if (!tcf_match_indev(skb, f->ifindex)) in fw_classify()
[all …]
Dcls_cgroup.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 struct cls_cgroup_head *head = rcu_dereference_bh(tp->root); in cls_cgroup_classify() local
33 if (unlikely(!head)) in cls_cgroup_classify()
34 return -1; in cls_cgroup_classify()
36 return -1; in cls_cgroup_classify()
37 if (!tcf_em_tree_match(skb, &head->ematches, NULL)) in cls_cgroup_classify()
38 return -1; in cls_cgroup_classify()
40 res->classid = classid; in cls_cgroup_classify()
41 res->class = 0; in cls_cgroup_classify()
43 return tcf_exts_exec(skb, &head->exts, res); in cls_cgroup_classify()
[all …]
/linux-6.12.1/fs/
Dpipe.c1 // SPDX-License-Identifier: GPL-2.0
39 * than two, then a write to a non-empty pipe may block even if the pipe is not
45 * own risk, namely: pipe writes to non-full pipes may block until the pipe is
51 * The max size that a non-root user is allowed to grow the pipe. Can
52 * be set by root in /proc/sys/fs/pipe-max-size
63 * We use head and tail indices that aren't masked off, except at the point of
65 * isn't a dead spot in the buffer, but the ring has to be a power of two and
67 * -- David Howells 2019-09-23.
70 * -- Julian Bradfield 1999-06-07.
73 * -- Jeremy Elson <jelson@circlemud.org> 2001-08-16
[all …]
/linux-6.12.1/fs/xfs/
Dxfs_log_recover.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2006 Silicon Graphics, Inc.
51 * Verify the log-relative block number and length in basic blocks are valid for
61 if (blk_no < 0 || blk_no >= log->l_logBBsize) in xlog_verify_bno()
63 if (bbcount <= 0 || (blk_no + bbcount) > log->l_logBBsize) in xlog_verify_bno()
78 * Pass log block 0 since we don't have an addr yet, buffer will be in xlog_alloc_buffer()
81 if (XFS_IS_CORRUPT(log->l_mp, !xlog_verify_bno(log, 0, nbblks))) { in xlog_alloc_buffer()
82 xfs_warn(log->l_mp, "Invalid block length (0x%x) for buffer", in xlog_alloc_buffer()
88 * We do log I/O in units of log sectors (a power-of-2 multiple of the in xlog_alloc_buffer()
92 * In addition, the buffer may be used for a non-sector-aligned block in xlog_alloc_buffer()
[all …]
/linux-6.12.1/tools/perf/scripts/python/
Dcompaction-times.py14 … "usage: perf script report compaction-times.py -- [-h] [-u] [-p|-pv] [-t | [-m] [-fs] [-ms]] [pid…
44 def set_type(t): argument
46 opt_disp = (t if opt_disp == topt.DISP_ALL else opt_disp|t)
52 return "%dns" % ns if opt_ns else "%dus" % (round(ns, -3) / 1000)
97 self.ns = ns(secs, nsecs) - self.ns
121 head = cls.heads[pid]
122 filtered = head.is_filtered()
126 head = cls.heads[pid] = chead(comm, pid, filtered)
129 head.mark_pending(start_secs, start_nsecs)
133 head = cls.heads[pid]
[all …]
/linux-6.12.1/net/ipv6/
Dxfrm6_protocol.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* xfrm6_protocol.c - Generic xfrm protocol multiplexer for ipv6.
41 #define for_each_protocol_rcu(head, handler) \ argument
42 for (handler = rcu_dereference(head); \
44 handler = rcu_dereference(handler->next)) \
50 struct xfrm6_protocol __rcu **head = proto_handlers(protocol); in xfrm6_rcv_cb() local
52 if (!head) in xfrm6_rcv_cb()
56 if ((ret = handler->cb_handler(skb, err)) <= 0) in xfrm6_rcv_cb()
67 struct xfrm6_protocol __rcu **head = proto_handlers(nexthdr); in xfrm6_rcv_encap() local
69 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6 = NULL; in xfrm6_rcv_encap()
[all …]

12345678910>>...43