Home
last modified time | relevance | path

Searched +full:l +full:- +full:queue (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/linux/drivers/scsi/arm/
H A Dqueue.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/acorn/scsi/queue.c: queue handling primitives
5 * Copyright (C) 1997-2000 Russell King
8 * 15-Sep-1997 RMK Created.
9 * 11-Oct-1997 RMK Corrected problem with queue_remove_exclude
12 * 30-Aug-2000 RMK Use Linux list handling and spinlocks
43 #define SET_MAGIC(q,m) ((q)->magic = (m))
44 #define BAD_MAGIC(q,m) ((q)->magic != (m))
50 #include "queue.h"
55 * Function: void queue_initialise (Queue_t *queue)
[all …]
/linux/net/tipc/
H A Dlink.c4 * Copyright (c) 1996-2007, 2012-2016, Ericsson AB
5 * Copyright (c) 2004-2007, 2010-2013, Wind River Systems
73 u32 max_queue_sz; /* send queue size high water mark */
74 u32 accu_queue_sz; /* used for send queue size profiling */
75 u32 queue_sz_counts; /* used for send queue size profiling */
82 * struct tipc_link - TIPC link data structure
99 * @backlogq: queue for messages waiting to be sent
103 * @inputq: buffer queue fo
268 tipc_link_is_up(struct tipc_link * l) tipc_link_is_up() argument
273 tipc_link_peer_is_down(struct tipc_link * l) tipc_link_peer_is_down() argument
278 tipc_link_is_reset(struct tipc_link * l) tipc_link_is_reset() argument
283 tipc_link_is_establishing(struct tipc_link * l) tipc_link_is_establishing() argument
288 tipc_link_is_synching(struct tipc_link * l) tipc_link_is_synching() argument
293 tipc_link_is_failingover(struct tipc_link * l) tipc_link_is_failingover() argument
298 tipc_link_is_blocked(struct tipc_link * l) tipc_link_is_blocked() argument
303 link_is_bc_sndlink(struct tipc_link * l) link_is_bc_sndlink() argument
308 link_is_bc_rcvlink(struct tipc_link * l) link_is_bc_rcvlink() argument
313 tipc_link_set_active(struct tipc_link * l,bool active) tipc_link_set_active() argument
318 tipc_link_id(struct tipc_link * l) tipc_link_id() argument
323 tipc_link_min_win(struct tipc_link * l) tipc_link_min_win() argument
328 tipc_link_max_win(struct tipc_link * l) tipc_link_max_win() argument
333 tipc_link_prio(struct tipc_link * l) tipc_link_prio() argument
338 tipc_link_tolerance(struct tipc_link * l) tipc_link_tolerance() argument
343 tipc_link_inputq(struct tipc_link * l) tipc_link_inputq() argument
348 tipc_link_plane(struct tipc_link * l) tipc_link_plane() argument
353 tipc_link_net(struct tipc_link * l) tipc_link_net() argument
358 tipc_link_update_caps(struct tipc_link * l,u16 capabilities) tipc_link_update_caps() argument
396 tipc_link_bc_peers(struct tipc_link * l) tipc_link_bc_peers() argument
401 link_bc_rcv_gap(struct tipc_link * l) link_bc_rcv_gap() argument
413 tipc_link_set_mtu(struct tipc_link * l,int mtu) tipc_link_set_mtu() argument
418 tipc_link_mtu(struct tipc_link * l) tipc_link_mtu() argument
423 tipc_link_mss(struct tipc_link * l) tipc_link_mss() argument
432 tipc_link_rcv_nxt(struct tipc_link * l) tipc_link_rcv_nxt() argument
437 tipc_link_acked(struct tipc_link * l) tipc_link_acked() argument
442 tipc_link_name(struct tipc_link * l) tipc_link_name() argument
447 tipc_link_state(struct tipc_link * l) tipc_link_state() argument
488 struct tipc_link *l; tipc_link_create() local
562 struct tipc_link *l; tipc_link_bc_create() local
604 tipc_link_fsm_evt(struct tipc_link * l,int evt) tipc_link_fsm_evt() argument
766 link_profile_stats(struct tipc_link * l) link_profile_stats() argument
812 tipc_link_too_silent(struct tipc_link * l) tipc_link_too_silent() argument
819 tipc_link_timeout(struct tipc_link * l,struct sk_buff_head * xmitq) tipc_link_timeout() argument
884 link_schedule_user(struct tipc_link * l,struct tipc_msg * hdr) link_schedule_user() argument
909 link_prepare_wakeup(struct tipc_link * l) link_prepare_wakeup() argument
945 tipc_link_set_skb_retransmit_time(struct sk_buff * skb,struct tipc_link * l) tipc_link_set_skb_retransmit_time() argument
953 tipc_link_reset(struct tipc_link * l) tipc_link_reset() argument
1014 tipc_link_xmit(struct tipc_link * l,struct sk_buff_head * list,struct sk_buff_head * xmitq) tipc_link_xmit() argument
1107 tipc_link_update_cwin(struct tipc_link * l,int released,bool retransmitted) tipc_link_update_cwin() argument
1149 tipc_link_advance_backlog(struct tipc_link * l,struct sk_buff_head * xmitq) tipc_link_advance_backlog() argument
1198 link_retransmit_failure(struct tipc_link * l,struct tipc_link * r,int * rc) link_retransmit_failure() argument
1247 tipc_data_input(struct tipc_link * l,struct sk_buff * skb,struct sk_buff_head * inputq) tipc_data_input() argument
1298 tipc_link_input(struct tipc_link * l,struct sk_buff * skb,struct sk_buff_head * inputq,struct sk_buff ** reasm_skb) tipc_link_input() argument
1343 tipc_link_tnl_rcv(struct tipc_link * l,struct sk_buff * skb,struct sk_buff_head * inputq) tipc_link_tnl_rcv() argument
1417 tipc_get_gap_ack_blks(struct tipc_gap_ack_blks ** ga,struct tipc_link * l,struct tipc_msg * hdr,bool uc) tipc_get_gap_ack_blks() argument
1449 __tipc_build_gap_ack_blks(struct tipc_gap_ack_blks * ga,struct tipc_link * l,u8 start_index) __tipc_build_gap_ack_blks() argument
1495 tipc_build_gap_ack_blks(struct tipc_link * l,struct tipc_msg * hdr) tipc_build_gap_ack_blks() argument
1535 tipc_link_advance_transmq(struct tipc_link * l,struct tipc_link * r,u16 acked,u16 gap,struct tipc_gap_ack_blks * ga,struct sk_buff_head * xmitq,bool * retransmitted,int * rc) tipc_link_advance_transmq() argument
1691 tipc_link_build_state_msg(struct tipc_link * l,struct sk_buff_head * xmitq) tipc_link_build_state_msg() argument
1715 tipc_link_build_reset_msg(struct tipc_link * l,struct sk_buff_head * xmitq) tipc_link_build_reset_msg() argument
1735 tipc_link_build_nack_msg(struct tipc_link * l,struct sk_buff_head * xmitq) tipc_link_build_nack_msg() argument
1765 tipc_link_rcv(struct tipc_link * l,struct sk_buff * skb,struct sk_buff_head * xmitq) tipc_link_rcv() argument
1835 tipc_link_build_proto_msg(struct tipc_link * l,int mtyp,bool probe,bool probe_reply,u16 rcvgap,int tolerance,int priority,struct sk_buff_head * xmitq) tipc_link_build_proto_msg() argument
1919 tipc_link_create_dummy_tnl_msg(struct tipc_link * l,struct sk_buff_head * xmitq) tipc_link_create_dummy_tnl_msg() argument
1952 tipc_link_tnl_prepare(struct tipc_link * l,struct tipc_link * tnl,int mtyp,struct sk_buff_head * xmitq) tipc_link_tnl_prepare() argument
1957 struct sk_buff_head *queue = &l->transmq; tipc_link_tnl_prepare() local
2107 tipc_link_failover_prepare(struct tipc_link * l,struct tipc_link * tnl,struct sk_buff_head * xmitq) tipc_link_failover_prepare() argument
2134 tipc_link_validate_msg(struct tipc_link * l,struct tipc_msg * hdr) tipc_link_validate_msg() argument
2177 tipc_link_proto_rcv(struct tipc_link * l,struct sk_buff * skb,struct sk_buff_head * xmitq) tipc_link_proto_rcv() argument
2335 tipc_link_build_bc_proto_msg(struct tipc_link * l,bool bcast,u16 peers_snd_nxt,struct sk_buff_head * xmitq) tipc_link_build_bc_proto_msg() argument
2366 tipc_link_build_bc_init_msg(struct tipc_link * l,struct sk_buff_head * xmitq) tipc_link_build_bc_init_msg() argument
2380 tipc_link_bc_init_rcv(struct tipc_link * l,struct tipc_msg * hdr) tipc_link_bc_init_rcv() argument
2407 tipc_link_bc_sync_rcv(struct tipc_link * l,struct tipc_msg * hdr,struct sk_buff_head * xmitq) tipc_link_bc_sync_rcv() argument
2469 struct tipc_link *l = r->bc_sndlink; tipc_link_bc_ack_rcv() local
2498 tipc_link_bc_nack_rcv(struct tipc_link * l,struct sk_buff * skb,struct sk_buff_head * xmitq) tipc_link_bc_nack_rcv() argument
2532 tipc_link_set_queue_limits(struct tipc_link * l,u32 min_win,u32 max_win) tipc_link_set_queue_limits() argument
2551 tipc_link_reset_stats(struct tipc_link * l) tipc_link_reset_stats() argument
2556 link_print(struct tipc_link * l,const char * str) link_print() argument
2865 tipc_link_set_tolerance(struct tipc_link * l,u32 tol,struct sk_buff_head * xmitq) tipc_link_set_tolerance() argument
2875 tipc_link_set_prio(struct tipc_link * l,u32 prio,struct sk_buff_head * xmitq) tipc_link_set_prio() argument
2882 tipc_link_set_abort_limit(struct tipc_link * l,u32 limit) tipc_link_set_abort_limit() argument
2900 tipc_link_dump(struct tipc_link * l,u16 dqueues,char * buf) tipc_link_dump() argument
[all...]
H A Dbcast.c4 * Copyright (c) 2004-2006, 2014-2017, Ericsson AB
6 * Copyright (c) 2005, 2010-2011, Wind River Systems
48 const char tipc_bclink_name[] = "broadcast-link";
52 * struct tipc_bc_base - base structure for keeping broadcast send state
54 * @inputq: data input queue; will only carry SOCK_WAKEUP messages
79 return tipc_net(net)->bcbase; in tipc_bc_base()
82 /* tipc_bcast_get_mtu(): -get the MTU currently used by broadcast link
93 tipc_bc_base(net)->rcast_support = supp; in tipc_bcast_toggle_rcast()
101 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); in tipc_bcbase_calc_bc_threshold()
110 int all_dests = tipc_link_bc_peers(bb->link); in tipc_bcbase_select_primary()
[all …]
/linux/drivers/net/fddi/skfp/h/
H A Dfplustm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
59 struct s_txd_os txd_os ; /* OS - specific struct */
76 struct s_rxd_os rxd_os ; /* OS - specific struct */
104 struct s_smt_fp_rxd volatile *rx_curr_put ; /* next RxD to queue into */
125 #define RX_FIFO_SPACE 0x4000 - RX_FIFO_OFF
130 #define TX_LARGE_FIFO TX_FIFO_SPACE - TX_SMALL_FIFO
133 #define RX_LARGE_FIFO RX_FIFO_SPACE - RX_SMALL_FIFO
138 u_short rx1_fifo_start ; /* rx queue start address */
139 u_short rx1_fifo_size ; /* rx queue size */
140 u_short rx2_fifo_start ; /* rx queue start address */
[all …]
H A Dskfbi.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 * FDDI-Fx (x := {I(SA), P(CI)})
19 /*--------------------------------------------------------------------------*/
41 /* 0x0001 - 0x0003: reserved */
49 /* 0x0010 - 0x006b: formac+ (supernet_3) fequently used registers */
52 #define B0_ST1U 0x0010 /* read upper 16-bit of status reg 1 */
53 #define B0_ST1L 0x0014 /* read lower 16-bit of status reg 1 */
54 #define B0_ST2U 0x0018 /* read upper 16-bit of status reg 2 */
55 #define B0_ST2L 0x001c /* read lower 16-bit of status reg 2 */
59 #define B0_MDRU 0x0028 /* r/w upper 16-bit of mem. data reg */
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Drss_ctx.py2 # SPDX-License-Identifier: GPL-2.0
27 if 'rss-hash-key' not in data:
29 non_zero = [x for x in data['rss-hash-key'] if x != 0]
30 ksft_eq(bool(non_zero), True, comment=f"RSS key is all zero {data['rss-hash-key']}")
34 return ethtool(f"-
[all...]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dtc-mq-visibility.sh2 # SPDX-License-Identifier: GPL-2.0-only
4 source ethtool-common.sh
6 set -o pipefail
9 n=$(tc qdisc show dev $NDEV | grep '^qdisc' | wc -l)
10 echo $((n - 1))
19 if [ $n -ne $1 ]; then
40 ethtool -L $NDEV combined $n
47 ethtool -L $NDEV combined $n
53 n_child_assert 4 "One real queue"
55 ethtool -L $NDEV combined 1
[all …]
/linux/arch/powerpc/include/asm/
H A Dqspinlock.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 * This is compile-time, so if true then there may always be stealers, so the
35 * is purely FIFO through the queue. May have more benefit in real workload
43 * queue head. Miso is intended to make stores visible to other CPUs sooner.
65 * Seems to slow down lockstorm microbenchmark, suspect queue node just
73 return READ_ONCE(lock->val); in queued_spin_is_locked()
83 return !!(READ_ONCE(lock->val) & _Q_TAIL_CPU_MASK); in queued_spin_is_contended()
101 " bne- 2f \n" in __queued_spin_trylock_nosteal()
103 " bne- 1b \n" in __queued_spin_trylock_nosteal()
107 : "r" (&lock->val), "r" (new), in __queued_spin_trylock_nosteal()
[all …]
/linux/net/sched/
H A Dsch_dualpi2.c1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 * Author: Koen De Schepper <koen.de_schepper@nokia-bell-labs.com>
8 * Author: Chia-Yu Chang <chia-yu.chang@nokia-bell-labs.com>
11 * - Supports congestion controls that comply with the Prague requirements
12 * in RFC9331 (e.g. TCP-Prague)
13 * - Supports coupled dual-queue with PI2 as defined in RFC9332
14 * - Supports ECN L4S-identifier (IP.ECN==0b*1)
16 * note: Although DCTCP and BBRv3 can use shallow-threshold ECN marks,
22 * - RFC9332: https://datatracker.ietf.org/doc/html/rfc9332
23 * - De Schepper, Koen, et al. "PI 2: A linearized AQM for both classic and
[all …]
/linux/arch/arm/mm/
H A Dcache-uniphier.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2015-2016 Socionext Inc.
15 #include <asm/hardware/cache-uniphier.h>
21 #define UNIPHIER_SSCC_ACT BIT(19) /* Inst-Data separate */
23 #define UNIPHIER_SSCC_PRD BIT(17) /* enable pre-fetch */
37 #define UNIPHIER_SSCOPE_CM_FLUSH_PREFETCH 0x9 /* flush p-fetch buf */
38 #define UNIPHIER_SSCOQM 0x248 /* Cache Operation Queue Mode */
46 #define UNIPHIER_SSCOQAD 0x24c /* Cache Operation Queue Address */
47 #define UNIPHIER_SSCOQSZ 0x250 /* Cache Operation Queue Size */
48 #define UNIPHIER_SSCOPPQSEF 0x25c /* Cache Operation Queue Set Complete*/
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_queue.sh23 rm -f "$TMPINPUT"
24 rm -f "$TMPFILE0"
25 rm -f "$TMPFILE1"
26 rm -f "$TMPFILE2" "$TMPFILE3"
29 checktool "nft --version" "test without nft tool"
30 checktool "socat -h" "run test without socat"
32 modprobe -q sctp
55 ip -net "$nsrouter" link set veth0 up
56 ip -ne
[all...]
/linux/lib/
H A Dlwq.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Light-weight single-linked queue.
25 spin_lock(&q->lock); in __lwq_dequeue()
26 this = q->ready; in __lwq_dequeue()
27 if (!this && !llist_empty(&q->new)) { in __lwq_dequeue()
28 /* ensure queue doesn't appear transiently lwq_empty */ in __lwq_dequeue()
29 smp_store_release(&q->ready, (void *)1); in __lwq_dequeue()
30 this = llist_reverse_order(llist_del_all(&q->new)); in __lwq_dequeue()
32 q->ready = NULL; in __lwq_dequeue()
35 q->ready = llist_next(this); in __lwq_dequeue()
[all …]
/linux/drivers/virtio/
H A Dvirtio_mmio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2011-2014, ARM Ltd.
15 * .name = "virtio-mmio",
16 * .id = -1,
39 * 3. Kernel module (or command line) parameter. Can be used more than once -
55 #define pr_fmt(fmt) "virtio-mmio: " fmt
58 #include <linux/dma-mapping.h>
99 writel(1, vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES_SEL); in vm_get_features()
100 features = readl(vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES); in vm_get_features()
103 writel(0, vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES_SEL); in vm_get_features()
[all …]
/linux/kernel/locking/
H A Dqspinlock_paravirt.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 * pv_wait(u8 *ptr, u8 val) -- suspends the vcpu if *ptr == val
17 * pv_kick(cpu) -- wakes a suspended vcpu
27 * Queue Node Adaptive Spinning
29 * A queue node vCPU will stop spinning if the vCPU in the previous node is
31 * mitigates the slight slowdown for non-overcommitted guest with this
32 * aggressive wait-early mechanism.
41 * Queue node uses: VCPU_RUNNING & VCPU_HALTED.
42 * Queue head uses: VCPU_RUNNING & VCPU_HASHED.
63 * The pending bit is set by the queue head vCPU of the MCS wait queue in
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_reg.h3 * Copyright (c) 2007-2013 Broadcom Corporation
13 * R - Read only
14 * RC - Clear on read
15 * RW - Read/Write
16 * ST - Statistics register (clear on read)
17 * W - Write only
18 * WB - Wide bus register - the size is over 32 bits and it should be
20 * WR - Write Clear (write 1 to clear the bit)
32 /* [RW 1] Initiate the ATC array - reset all the valid bits */
56 * BRB1_IND_FREE_LIST_PRS_CRDT+2 initialize parser initial credit. Warning -
[all …]
/linux/net/rose/
H A Drose_subr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 skb_queue_purge(&sk->sk_write_queue); in rose_clear_queues()
35 skb_queue_purge(&rose_sk(sk)->ack_queue); in rose_clear_queues()
39 * This routine purges the input queue of those frames that have been
40 * acknowledged. This replaces the boxes labelled "V(a) <- N(r)" on the
49 * Remove all the ack-ed frames from the ack queue. in rose_frames_acked()
51 if (rose->va != nr) { in rose_frames_acked()
52 while (skb_peek(&rose->ack_queue) != NULL && rose->va != nr) { in rose_frames_acked()
53 skb = skb_dequeue(&rose->ack_queue); in rose_frames_acked()
55 rose->va = (rose->va + 1) % ROSE_MODULUS; in rose_frames_acked()
[all …]
/linux/Documentation/driver-api/dmaengine/
H A Dpxa_dma.rst2 PXA/MMP - DMA Slave controller
22 at the time of irq/dma tx2 is already finished, tx1->complete() and
23 tx2->complete() should be called.
36 A driver should be able to request a priority, especially the real-time
46 b) Transfer anatomy for a scatter-gather transfer
50 +------------+-----+---------------+----------------+-----------------+
51 | desc-sg[0] | ... | desc-sg[last] | status updater | finisher/linker |
52 +------------+-----+---------------+----------------+-----------------+
54 This structure is pointed by dma->sg_cpu.
57 - desc-sg[i]: i-th descriptor, transferring the i-th sg
[all …]
/linux/sound/core/seq/oss/
H A Dseq_oss_midi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
43 DEFINE_FREE(seq_oss_midi, struct seq_oss_midi *, if (!IS_ERR_OR_NULL(_T)) snd_use_lock_free(&(_T)->use_lock))
74 return -ENOMEM; in snd_seq_oss_midi_lookup_ports()
75 clinfo->client = -1; in snd_seq_oss_midi_lookup_ports()
77 if (clinfo->clien in snd_seq_oss_midi_lookup_ports()
[all...]
/linux/tools/testing/selftests/drivers/net/
H A Dstats.py2 # SPDX-License-Identifier: GPL-2.0
24 def check_pause(cfg) -> None:
31 ethnl.pause_get({"header": {"dev-index": cfg.ifindex}})
37 data = ethnl.pause_get({"header": {"dev-index": cfg.ifindex,
42 def check_fec(cfg) -> None:
49 ethnl.fec_get({"header": {"dev-index": cfg.ifindex}})
55 data = ethnl.fec_get({"header": {"dev-index": cfg.ifindex,
60 def check_fec_hist(cfg) -> Non
[all...]
H A Dqueues.py2 # SPDX-License-Identifier: GPL-2.0
15 def sys_get_queues(ifname, qtype='rx') -> int:
16 folders = glob.glob(f'/sys/class/net/{ifname}/queues/{qtype}-*')
27 def check_xsk(cfg, nl, xdp_queue_id=0) -> None:
29 xdp = cmd(f'{cfg.net_lib_dir / "xdp_helper"} - -', fail=False)
52 comment="xsk attr on queue we configured")
55 comment="xsk attr on queue w
[all...]
/linux/drivers/net/fddi/skfp/
H A Dfplustm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 #define MS2BCLK(x) ((x)*12500L)
34 #define US2BCLK(x) ((x)*1250L)
49 #define DUMMY_READ() smc->hw.mc_dummy = (u_short) inp(ADDR(B0_RAP))
52 while ((inpw(FM_A(FM_STMCHN)) & FM_SNPPND) && k) k--;\
59 while (!(inpw(FM_A(FM_AFSTAT)) & FM_DONE) && k) k--;\
76 #define MA smc->hw.fddi_canon_addr
78 #define MA smc->hw.fddi_home_addr
114 smc->mib.m[MAC0].fddiMACFrame_Ct = in mac_update_counter()
115 (smc->mib.m[MAC0].fddiMACFrame_Ct & 0xffff0000L) in mac_update_counter()
[all …]
/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2003-2005 Dave Boutcher (boutcher@us.ibm.com) IBM Corp.
8 * Copyright (C) 2005-2011 FUJITA Tomonori <tomof@acm.org>
59 /* root node property "ibm,partition-no" */
70 #define ADAPT_SUCCESS 0L
72 #define ERROR -40L
82 /* root node property ibm,partition-name */
84 /* root node property ibm,partition-no */
93 * considering the client will never service its queue again.
98 * has freed at least one element in the response queue.
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_arena_spin_lock.h1 // SPDX-License-Identifier: GPL-2.0
10 #define arch_mcs_spin_lock_contended_label(l, label) smp_cond_load_acquire_label(l, VAL, label) argument
11 #define arch_mcs_spin_unlock_contended(l) smp_store_release((l), 1) argument
27 * PowerPC overrides the definition to define lock->val as u32 instead of
59 /* FIXME: Using typedef causes CO-RE relocation error */
78 * 0- 7: locked byte
80 * 9-15: not used
81 * 16-17: tail index
82 * 18-31: tail cpu (+1)
86 #define _Q_SET_MASK(type) (((1U << _Q_ ## type ## _BITS) - 1)\
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pow.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31 * New, starting with SDK 1.7.0, cvmx-pow supports a number of
36 * enabled. For example, cvmx-pow will check for the following
38 * - Requesting a POW operation with an active tag switch in
40 * - Waiting for a tag switch to complete for an excessively
43 * - Illegal tag switches from NULL_NULL.
44 * - Illegal tag switches from NULL.
45 * - Illegal deschedule request.
[all …]
/linux/drivers/gpu/drm/v3d/
H A Dv3d_sysfs.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2023 Igalia S.L.
16 enum v3d_queue queue; in gpu_stats_show() local
20 len += sysfs_emit(buf, "queue\ttimestamp\tjobs\truntime\n"); in gpu_stats_show()
22 for (queue = 0; queue < V3D_MAX_QUEUES; queue++) { in gpu_stats_show()
23 struct v3d_stats *stats = &v3d->queue[queue].stats; in gpu_stats_show()
28 /* Each line will display the queue name, timestamp, the number in gpu_stats_show()
29 * of jobs sent to that queue and the runtime, as can be seem here: in gpu_stats_show()
31 * queue timestamp jobs runtime in gpu_stats_show()
39 v3d_queue_to_string(queue), in gpu_stats_show()
[all …]

12345678910>>...18