Home
last modified time | relevance | path

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

12345678910>>...42

/linux/arch/riscv/
H A DKconfig.errata20 non-standard handling on non-coherent operations on Andes cores.
22 If you don't know what to do here, say "Y".
58 bool "Apply SiFive errata CIP-453"
62 This will apply the SiFive CIP-453 errata to add sign extension
66 If you don't know what to do here, say "Y".
69 bool "Apply SiFive errata CIP-1200"
73 This will apply the SiFive CIP-1200 errata to repalce all
77 If you don't know what to do here, say "Y".
92 caches that are non-coherent with respect to peripheral DMAs.
93 It was designed before the Zicbom extension so needs non-standard
[all …]
H A DKconfig.vendor16 If you don't know what to do here, say Y.
29 If you don't know what to do here, say Y.
42 If you don't know what to do here, say Y.
45 menu "T-Head" menu
47 bool "T-Head vendor extension support"
51 Say N here to disable detection of and support for all T-Head vendor
52 extensions. Without this option enabled, T-Head vendor extensions will
55 If you don't know what to do here, say Y.
65 in the kernel. This will disable vector for any T-Head board that
68 If you don't know what to do here, say Y.
/linux/tools/testing/selftests/futex/functional/
H A Drobust_list.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * for the lock won't block forever, waiting for a lock that will never be
21 * Documententation/locking/robust-futex-ABI.rst
22 * Documententation/locking/robust-futexes.rst
47 static int set_robust_list(struct robust_list_head *head, size_t len) in set_robust_list() argument
49 return syscall(SYS_set_robust_list, head, len); in set_robust_list()
52 static int get_robust_list(int pid, struct robust_list_head **head, size_t *len_ptr) in get_robust_list() argument
54 return syscall(SYS_get_robust_list, pid, head, len_ptr); in get_robust_list()
67 * Helper function to spawn a child thread. Returns -1 on error, pid on success
75 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in create_child()
[all …]
/linux/arch/x86/platform/uv/
H A 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/drivers/gpu/drm/radeon/
H A 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/net/netfilter/ipvs/
H A Dip_vs_conn.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * high-performance and highly available server based on a
14 * with changes/fixes from Julian Anastasov, Lars Marowsky-Bree, Horms
64 * - hash (add conn) and unhash (del conn) are safe for RCU readers walking
67 * - rehash (fill cport) hashes the conn to new bucket or even new table,
71 * - hash table resize works like rehash but always rehashes into new table
72 * - bit lock on bucket serializes all operations that modify the chain
73 * - cp->lock protects conn fields like cp->flags, cp->dest
78 conn_tab_lock(struct ip_vs_rht *t, struct ip_vs_conn *cp, u32 hash_key, in conn_tab_lock() argument
82 struct hlist_bl_head *head, *head2; in conn_tab_lock() local
[all …]
/linux/kernel/futex/
H A 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/net/sctp/
H A 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/Documentation/dev-tools/
H A 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/drivers/block/aoe/
H A 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 …]
H A Daoedev.c8 #include <linux/blk-mq.h>
18 static void freetgt(struct aoedev *d, struct aoetgt *t);
29 * - partitions,
30 * - slots per shelf,
31 * - or shelves,
52 error = -1; in minor_get_dyn()
75 error = -1; in minor_get_static()
84 error = -1; in minor_get_static()
93 error = -1; in minor_get_static()
143 d->ref--; in aoedev_put()
[all …]
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_txrx.c1 // SPDX-License-Identifier: GPL-2.0
38 #define FBNIC_XMIT_CB(__skb) ((struct fbnic_xmit_cb *)((__skb)->cb))
44 unsigned long csr_base = (unsigned long)ring->doorbell; in fbnic_ring_csr_base()
46 csr_base &= ~(FBNIC_QUEUE_STRIDE * sizeof(u32) - 1); in fbnic_ring_csr_base()
66 * fbnic_ts40_to_ns() - convert descriptor timestamp to PHC time
84 s = u64_stats_fetch_begin(&fbn->time_seq); in fbnic_ts40_to_ns()
85 offset = READ_ONCE(fbn->time_offset); in fbnic_ts40_to_ns()
86 } while (u64_stats_fetch_retry(&fbn->time_seq, s)); in fbnic_ts40_to_ns()
88 high = READ_ONCE(fbn->time_high); in fbnic_ts40_to_ns()
93 /* Compare bits 32-39 between periodic reads and ts40, in fbnic_ts40_to_ns()
[all …]
/linux/lib/
H A 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/drivers/pci/hotplug/
H A 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/kernel/events/
H A 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 | EPOLLRDNORM); 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/fs/xfs/
H A 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/arch/powerpc/platforms/pseries/
H A 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/net/sched/
H A 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 …]
H A 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/tools/perf/scripts/python/
H A 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/tools/testing/selftests/rseq/
H A Dparam_test.c1 // SPDX-License-Identifier: LGPL-2.1
44 static __thread __attribute__((tls_model("initial-exec")))
49 static __thread __attribute__((tls_model("initial-exec"), unused))
66 "mov asm_loop_cnt_" #n ", %%" INJECT_ASM_REG "\n\t" \
67 "test %%" INJECT_ASM_REG ",%%" INJECT_ASM_REG "\n\t" \
68 "jz 333f\n\t" \
69 "222:\n\t" \
70 "dec %%" INJECT_ASM_REG "\n\t" \
71 "jnz 222b\n\t" \
72 "333:\n\t"
[all …]
/linux/net/ipv6/
H A 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 …]
/linux/net/strparser/
H A Dstrparser.c1 // SPDX-License-Identifier: GPL-2.0-only
32 return (struct _strp_msg *)((void *)skb->cb + in _strp_msg()
41 cancel_delayed_work(&strp->msg_timer_work); in strp_abort_strp()
43 if (strp->stopped) in strp_abort_strp()
46 strp->stopped = 1; in strp_abort_strp()
48 if (strp->skb_head) { in strp_abort_strp()
49 kfree_skb(strp->skb_hea in strp_abort_strp()
95 struct sk_buff *head, *skb; __strp_recv() local
[all...]
/linux/net/ipv4/
H A Dip_tunnel.c1 // SPDX-License-Identifier: GPL-2.0-only
65 return !test_bit(IP_TUNNEL_KEY_BIT, p->i_flags); in ip_tunnel_key_match()
67 return test_bit(IP_TUNNEL_KEY_BIT, p->i_flags) && p->i_key == key; in ip_tunnel_key_match()
86 struct ip_tunnel *t, *cand = NULL; in ip_tunnel_lookup() local
87 struct hlist_head *head; in ip_tunnel_lookup() local
92 head = &itn->tunnels[hash]; in ip_tunnel_lookup()
94 hlist_for_each_entry_rcu(t, head, hash_node) { in ip_tunnel_lookup()
95 if (local != t->parms.iph.saddr || in ip_tunnel_lookup()
96 remote != t->parms.iph.daddr || in ip_tunnel_lookup()
97 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup()
[all …]
/linux/fs/gfs2/
H A Drecovery.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
35 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_replay_read_block()
36 struct gfs2_glock *gl = ip->i_gl; in gfs2_replay_read_block()
42 error = gfs2_get_extent(&ip->i_inode, blk, &dblock, &extlen); in gfs2_replay_read_block()
47 return -EIO; in gfs2_replay_read_block()
57 struct list_head *head = &jd->jd_revoke_list; in gfs2_revoke_add() local
60 list_for_each_entry(iter, head, rr_list) { in gfs2_revoke_add()
61 if (iter->rr_blkno == blkno) { in gfs2_revoke_add()
[all …]

12345678910>>...42