Home
last modified time | relevance | path

Searched +full:com +full:- +full:seq (Results 1 – 25 of 413) sorted by relevance

12345678910>>...17

/linux/drivers/remoteproc/
H A Dremoteproc_debugfs.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Ohad Ben-Cohen <ohad@wizery.com>
9 * Mark Grosen <mgrosen@ti.com>
10 * Brian Swetland <swetland@google.com>
11 * Fernando Guzman Lugo <fernando.lugo@ti.com>
12 * Suman Anna <s-anna@ti.com>
13 * Robert Tivy <rtivy@ti.com>
14 * Armando Uribe De Leon <x0095078@ti.com>
31 * A coredump-configuration-to-string lookup table, for exposing a
45 struct rproc *rproc = filp->private_data; in rproc_coredump_read()
[all …]
/linux/drivers/char/tpm/eventlog/
H A Dcommon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Kent Yoder <key@linux.vnet.ibm.com>
7 * Seiji Munetoh <munetoh@jp.ibm.com>
8 * Stefan Berger <stefanb@us.ibm.com>
9 * Reiner Sailer <sailer@watson.ibm.com>
10 * Kylene Hall <kjhall@us.ibm.com>
11 * Nayna Jain <nayna@linux.vnet.ibm.com>
29 struct seq_file *seq; in tpm_bios_measurements_open() local
35 if (!inode->i_nlink) { in tpm_bios_measurements_open()
37 return -ENODEV; in tpm_bios_measurements_open()
[all …]
/linux/net/8021q/
H A Dvlanproc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * This module is completely hardware-independent and provides
8 * Author: Ben Greear, <greearb@candelatech.com> coppied from wanproc.c
9 * by: Gene Kozin <genek@compuserve.com>
36 static int vlan_seq_show(struct seq_file *seq, void *v);
37 static void *vlan_seq_start(struct seq_file *seq, loff_
166 vlan_seq_from_index(struct seq_file * seq,loff_t * pos) vlan_seq_from_index() argument
180 vlan_seq_start(struct seq_file * seq,loff_t * pos) vlan_seq_start() argument
190 vlan_seq_next(struct seq_file * seq,void * v,loff_t * pos) vlan_seq_next() argument
196 vlan_seq_stop(struct seq_file * seq,void * v) vlan_seq_stop() argument
202 vlan_seq_show(struct seq_file * seq,void * v) vlan_seq_show() argument
227 vlandev_seq_show(struct seq_file * seq,void * offset) vlandev_seq_show() argument
[all...]
/linux/fs/hfsplus/
H A Doptions.c1 // SPDX-License-Identifier: GPL-2.0
6 * Brad Boyer (flar@allandria.com)
7 * (C) 2003 Ardis Technologies <roman@ardistech.com>
53 opts->creator = HFSPLUS_DEF_CR_TYPE; in hfsplus_fill_defaults()
54 opts->type = HFSPLUS_DEF_CR_TYPE; in hfsplus_fill_defaults()
55 opts->umask = current_umask(); in hfsplus_fill_defaults()
56 opts->uid = current_uid(); in hfsplus_fill_defaults()
57 opts->gid = current_gid(); in hfsplus_fill_defaults()
58 opts->part = -1; in hfsplus_fill_defaults()
59 opts->session = -1; in hfsplus_fill_defaults()
[all …]
/linux/drivers/block/drbd/
H A Ddrbd_proc.c1 // SPDX-License-Identifier: GPL-2.0-only
7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH.
8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
26 static void seq_printf_with_thousands_grouping(struct seq_file *seq, long v) in seq_printf_with_thousands_grouping() argument
31 seq_printf(seq, "%ld,", v / 1000000); in seq_printf_with_thousands_grouping()
33 seq_printf(seq, "%03ld,%03ld", v/1000, v % 1000); in seq_printf_with_thousands_grouping()
35 seq_printf(seq, "%ld,%03ld", v/1000, v % 1000); in seq_printf_with_thousands_grouping()
37 seq_printf(seq, "%ld", v); in seq_printf_with_thousands_grouping()
46 typecheck(unsigned long, device->rs_total); in drbd_get_syncer_progress()
[all …]
/linux/ipc/
H A Dcompat.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 1999 Arun Sharma <arun.sharma@intel.com>
9 * Copyright (C) 2000 Don Dugger <n0ano@valinux.com>
10 * Copyright (C) 2000 Hewlett-Packard Co.
11 * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>
12 * Copyright (C) 2000 Gerhard Tonn (ton@de.ibm.com)
13 * Copyright (C) 2000-2002 Andi Kleen, SuSE Labs (x86-64 port)
43 return -EFAULT; in get_compat_ipc64_perm()
44 to->uid = v.uid; in get_compat_ipc64_perm()
45 to->gid = v.gid; in get_compat_ipc64_perm()
[all …]
/linux/include/net/sctp/
H A Dcommand.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 1999-2001 Cisco, Motorola
12 * lksctp developers <linux-sctp@vger.kernel.org>
17 * Ardelle Fan <ardelle.fan@intel.com>
18 * Sridhar Samudrala <sri@us.ibm.com>
55 SCTP_CMD_COOKIEECHO_RESTART, /* High level, do cookie-echo timer work. */
73 SCTP_CMD_SETUP_T2, /* Hi-level, setup T2-shutdown parms. */
82 SCTP_CMD_DEL_NON_PRIMARY, /* Removes non-primary peer transports. */
83 SCTP_CMD_T3_RTX_TIMERS_STOP, /* Stops T3-rtx pending timers */
199 static inline int sctp_init_cmd_seq(struct sctp_cmd_seq *seq) in sctp_init_cmd_seq() argument
[all …]
/linux/kernel/gcov/
H A Dfs.c1 // SPDX-License-Identifier: GPL-2.0
6 * Author(s): Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
8 * Uses gcc-internal data definitions.
9 * Based on the gcov-kernel patch by:
10 * Hubertus Franke <frankeh@us.ibm.com>
11 * Nigel Hinds <nhinds@us.ibm.com>
12 * Rajan Ravindran <rajancr@us.ibm.com>
13 * Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
33 * struct gcov_node - represents a debugfs entry
71 /* If non-zero, keep copies of profiling data for unloaded modules. */
[all …]
/linux/net/rxrpc/
H A Dtxbuf.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Written by David Howells (dhowells@redhat.com)
11 #include "ar-internal.h"
31 * avoid delayed-corruption problems with zerocopy. in rxrpc_alloc_data_txbuf()
37 mutex_lock(&call->conn->tx_data_alloc_lock); in rxrpc_alloc_data_txbuf()
38 buf = page_frag_alloc_align(&call->conn->tx_data_alloc, total, gfp, in rxrpc_alloc_data_txbuf()
40 mutex_unlock(&call->conn->tx_data_alloc_lock); in rxrpc_alloc_data_txbuf()
46 refcount_set(&txb->ref, 1); in rxrpc_alloc_data_txbuf()
47 txb->call_debug_id = call->debug_id; in rxrpc_alloc_data_txbuf()
48 txb->debug_id = atomic_inc_return(&rxrpc_txbuf_debug_ids); in rxrpc_alloc_data_txbuf()
[all …]
/linux/net/ipv4/
H A Desp4_offload.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Author: Steffen Klassert <steffen.klassert@secunet.com>
37 __be32 seq; in esp4_gro_receive() local
43 if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0) in esp4_gro_receive()
47 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive()
53 if (sp->len == XFRM_MAX_DEPTH) in esp4_gro_receive()
56 x = xfrm_input_state_lookup(dev_net(skb->dev), skb->mark, in esp4_gro_receive()
57 (xfrm_address_t *)&ip_hdr(skb)->daddr, in esp4_gro_receive()
60 if (unlikely(x && x->dir && x->dir != XFRM_SA_DIR_IN)) { in esp4_gro_receive()
61 /* non-offload path will record the error and audit log */ in esp4_gro_receive()
[all …]
/linux/net/ipv6/
H A Desp6_offload.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Author: Steffen Klassert <steffen.klassert@secunet.com>
38 if (likely(ipv6_hdr->nexthdr == NEXTHDR_ESP || in esp6_nexthdr_esp_offset()
39 ipv6_hdr->nexthdr == NEXTHDR_UDP)) in esp6_nexthdr_esp_offset()
44 if (exthdr->nexthdr == NEXTHDR_ESP) in esp6_nexthdr_esp_offset()
60 __be32 seq; in esp6_gro_receive() local
64 if (NAPI_GRO_CB(skb)->proto == IPPROTO_UDP) in esp6_gro_receive()
70 if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0) in esp6_gro_receive()
74 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp6_gro_receive()
80 if (sp->len == XFRM_MAX_DEPTH) in esp6_gro_receive()
[all …]
/linux/net/appletalk/
H A Datalk_proc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * atalk_proc.c - proc support for Appletalk
5 * Copyright(c) Arnaldo Carvalho de Melo <acme@conectiva.com.br>
21 for (i = atalk_interfaces; pos && i; i = i->next) in atalk_get_interface_idx()
22 --pos; in atalk_get_interface_idx()
27 static void *atalk_seq_interface_start(struct seq_file *seq, loff_t *pos) in atalk_seq_interface_start() argument
33 return l ? atalk_get_interface_idx(--l) : SEQ_START_TOKEN; in atalk_seq_interface_start()
36 static void *atalk_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos) in atalk_seq_interface_next() argument
48 i = i->next; in atalk_seq_interface_next()
53 static void atalk_seq_interface_stop(struct seq_file *seq, void *v) in atalk_seq_interface_stop() argument
[all …]
/linux/net/sctp/
H A Dobjcnt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 * lksctp developers <linux-sctp@vger.kernel.org>
16 * Jon Grimm <jgrimm@us.ibm.com>
62 static int sctp_objcnt_seq_show(struct seq_file *seq, void *v) in sctp_objcnt_seq_show() argument
67 seq_setwidth(seq, 127); in sctp_objcnt_seq_show()
68 seq_printf(seq, "%s: %d", sctp_dbg_objcnt[i].label, in sctp_objcnt_seq_show()
70 seq_pad(seq, '\n'); in sctp_objcnt_seq_show()
74 static void *sctp_objcnt_seq_start(struct seq_file *seq, loff_t *pos) in sctp_objcnt_seq_start() argument
79 static void sctp_objcnt_seq_stop(struct seq_file *seq, void *v) in sctp_objcnt_seq_stop() argument
83 static void *sctp_objcnt_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sctp_objcnt_seq_next() argument
[all …]
/linux/drivers/infiniband/hw/cxgb4/
H A Ddevice.c2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
87 struct c4iw_debugfs_data *d = file->private_data; in debugfs_read()
89 return simple_read_from_buffer(buf, count, ppos, d->buf, d->pos); in debugfs_read()
97 if (!wq->rdev->wr_log) in c4iw_log_wr_stats()
100 idx = (atomic_inc_return(&wq->rdev->wr_log_idx) - 1) & in c4iw_log_wr_stats()
101 (wq->rdev->wr_log_size - 1); in c4iw_log_wr_stats()
102 le.poll_sge_ts = cxgb4_read_sge_timestamp(wq->rdev->lldi.ports[0]); in c4iw_log_wr_stats()
107 le.qid = wq->sq.qid; in c4iw_log_wr_stats()
[all …]
/linux/net/wireless/
H A Dwext-proc.c1 // SPDX-License-Identifier: GPL-2.0
5 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com>
6 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
10 * The /proc/net/wireless file is a human readable user-space interface
12 * This is the most popular part of the Wireless Extensions ;-)
28 static void wireless_seq_printf_stats(struct seq_file *seq,
29 wireless_seq_printf_stats(struct seq_file * seq,struct net_device * dev) wireless_seq_printf_stats() argument
75 wireless_dev_seq_show(struct seq_file * seq,void * v) wireless_dev_seq_show() argument
90 wireless_dev_seq_start(struct seq_file * seq,loff_t * pos) wireless_dev_seq_start() argument
107 wireless_dev_seq_next(struct seq_file * seq,void * v,loff_t * pos) wireless_dev_seq_next() argument
117 wireless_dev_seq_stop(struct seq_file * seq,void * v) wireless_dev_seq_stop() argument
[all...]
/linux/drivers/usb/storage/
H A Dkarma.c1 // SPDX-License-Identifier: GPL-2.0+
5 * (c) 2006 Bob Copeland <me@bobcopeland.com>
6 * (c) 2006 Keith Bennett <keith@mcs.st-and.ac.uk>
21 #define DRV_NAME "ums-karma"
24 MODULE_AUTHOR("Bob Copeland <me@bobcopeland.com>, Keith Bennett <keith@mcs.st-and.ac.uk>");
89 * with a 512-byte packet with the high four bits set and everything
98 static unsigned char seq = 1; in rio_karma_send_command() local
99 struct karma_data *data = (struct karma_data *) us->extra; in rio_karma_send_command()
102 memset(us->iobuf, 0, RIO_SEND_LEN); in rio_karma_send_command()
103 memcpy(us->iobuf, RIO_PREFIX, RIO_PREFIX_LEN); in rio_karma_send_command()
[all …]
/linux/net/llc/
H A Dllc_proc.c2 * proc_llc.c - proc interface for LLC
5 * 2002-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
29 static void llc_ui_format_mac(struct seq_file *seq, const u8 *addr) in llc_ui_format_mac() argument
31 seq_printf(seq, "%pM", addr); in llc_ui_format_mac()
41 spin_lock_bh(&sap->sk_lock); in llc_get_sk_idx()
43 struct hlist_nulls_head *head = &sap->sk_laddr_hash[i]; in llc_get_sk_idx()
49 --pos; in llc_get_sk_idx()
52 spin_unlock_bh(&sap->sk_lock); in llc_get_sk_idx()
59 static void *llc_seq_start(struct seq_file *seq, loff_t *pos) __acquires(RCU) in llc_seq_start() argument
64 return l ? llc_get_sk_idx(--l) : SEQ_START_TOKEN; in llc_seq_start()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Diters_css_task.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2023 Chuyi Zhou <zhouchuyi@bytedance.com> */
30 if (cur_task->pid != target_pid) in BPF_PROG()
36 return -EPERM; in BPF_PROG()
38 css = &cgrp->self; in BPF_PROG()
42 if (task->pid == target_pid) in BPF_PROG()
47 return -EPERM; in BPF_PROG()
52 return cgrp->kn->id; in cgroup_id()
58 struct seq_file *seq = ctx->meta->seq; in cgroup_id_printer() local
59 struct cgroup *cgrp = ctx->cgroup; in cgroup_id_printer()
[all …]
/linux/net/core/
H A Dsecure_seq.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
33 static u32 seq_scale(u32 seq) in seq_scale() argument
41 * we also need to limit the resolution so that the u32 seq in seq_scale()
45 return seq + (ktime_get_real_ns() >> 6); in seq_scale()
72 if (READ_ONCE(net->ipv4.sysctl_tcp_timestamps) != 1) in secure_tcpv6_seq_and_ts_off()
75 st.seq = seq_scale(st.seq); in secure_tcpv6_seq_and_ts_off()
119 if (READ_ONCE(net->ipv4.sysctl_tcp_timestamps) != 1) in secure_tcp_seq_and_ts_off()
122 st.seq = seq_scale(st.seq); in secure_tcp_seq_and_ts_off()
/linux/net/atm/
H A Dproc.c1 // SPDX-License-Identifier: GPL-2.0
2 /* net/atm/proc.c - ATM /proc interface
4 * Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA
6 * seq_file api usage by romieu@fr.zoreil.com
32 #include "signaling.h" /* to get sigd - ugly too */
42 static void add_stats(struct seq_file *seq, const char *aal, in add_stats() argument
45 seq_printf(seq, "%s ( %d %d %d %d %d )", aal, in add_stats()
46 atomic_read(&stats->tx), atomic_read(&stats->tx_err), in add_stats()
47 atomic_read(&stats->rx), atomic_read(&stats->rx_err), in add_stats()
48 atomic_read(&stats->rx_drop)); in add_stats()
[all …]
/linux/drivers/video/backlight/
H A Dlms283gf05.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * lms283gf05.c -- support for Samsung LMS283GF05 LCD
5 * Copyright (c) 2009 Marek Vasut <marek.vasut@gmail.com>
95 gpiod_set_value(gpiod, 0); /* De-asserted */ in lms283gf05_reset()
99 gpiod_set_value(gpiod, 0); /* De-asserted */ in lms283gf05_reset()
104 const struct lms283gf05_seq *seq, int sz) in lms283gf05_toggle() argument
112 buf[2] = seq[i].reg; in lms283gf05_toggle()
116 buf[1] = seq[i].value >> 8; in lms283gf05_toggle()
117 buf[2] = seq[i].value & 0xff; in lms283gf05_toggle()
120 mdelay(seq[i].delay); in lms283gf05_toggle()
[all …]
/linux/tools/testing/selftests/rcutorture/bin/
H A Dparse-console.sh2 # SPDX-License-Identifier: GPL-2.0+
6 # a text string for error-message purposes.
8 # Usage: parse-console.sh file title
12 # Authors: Paul E. McKenney <paulmck@linux.ibm.com>
14 T="`mktemp -d ${TMPDIR-/tmp}/parse-console.sh.XXXXXX`"
18 trap 'rm -
[all...]
/linux/lib/
H A Dlru_cache.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 Copyright (C) 2003-2008, LINBIT Information Technologies GmbH.
8 Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
9 Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
21 MODULE_AUTHOR("Philipp Reisner <phil@linbit.com>, "
22 "Lars Ellenberg <lars@linbit.com>");
23 MODULE_DESCRIPTION("lru_cache - Track sets of hot objects");
30 BUG_ON(!lc->nr_elements); \
31 BUG_ON(test_and_set_bit(__LC_PARANOIA, &lc->flags)); \
35 clear_bit_unlock(__LC_PARANOIA, &lc->flags); \
[all …]
/linux/drivers/platform/surface/aggregator/
H A Dssh_msgb.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com>
18 * struct msgbuf - Buffer struct to construct SSH messages.
31 * msgb_init() - Initialize the given message buffer struct.
41 msgb->begin = ptr; in msgb_init()
42 msgb->end = ptr + cap; in msgb_init()
43 msgb->ptr = ptr; in msgb_init()
47 * msgb_bytes_used() - Return the current number of bytes used in the buffer.
52 return msgb->ptr - msgb->begin; in msgb_bytes_used()
57 *msgb->ptr = value; in __msgb_push_u8()
[all …]
/linux/net/tls/
H A Dtls.h2 * Copyright (c) 2016 Tom Herbert <tom@herbertland.com>
3 * Copyright (c) 2016-2017, Mellanox Technologies. All rights reserved.
4 * Copyright (c) 2016-2017, Dave Watson <davejwatson@fb.com>. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
48 __SNMP_INC_STATS((net)->mib.tls_statistics, field)
50 SNMP_INC_STATS((net)->mib.tls_statistics, field)
52 SNMP_DEC_STATS((net)->mib.tls_statistics, field)
72 extern const struct tls_cipher_desc tls_cipher_desc[TLS_CIPHER_MAX + 1 - TLS_CIPHER_MI
258 tls_device_rx_resync_new_rec(struct sock * sk,u32 rcd_len,u32 seq) tls_device_rx_resync_new_rec() argument
284 tls_bigint_increment(unsigned char * seq,int len) tls_bigint_increment() argument
297 tls_bigint_subtract(unsigned char * seq,int n) tls_bigint_subtract() argument
323 tls_xor_iv_with_seq(struct tls_prot_info * prot,char * iv,char * seq) tls_xor_iv_with_seq() argument
[all...]

12345678910>>...17