Home
last modified time | relevance | path

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

12345678910>>...41

/kernel/linux/linux-5.10/drivers/remoteproc/
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 …]
/kernel/linux/linux-6.6/drivers/remoteproc/
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 …]
/kernel/linux/linux-6.6/drivers/char/tpm/eventlog/
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_private) { in tpm_bios_measurements_open()
37 return -ENODEV; in tpm_bios_measurements_open()
[all …]
/kernel/linux/linux-5.10/drivers/char/tpm/eventlog/
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_private) { in tpm_bios_measurements_open()
37 return -ENODEV; in tpm_bios_measurements_open()
[all …]
/kernel/linux/linux-6.6/drivers/platform/x86/intel/
Dbytcrc_pwrsrc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Power-source driver for Bay Trail Crystal Cove PMIC
5 * Copyright (c) 2023 Hans de Goede <hdegoede@redhat.com>
63 static void crc_pwrsrc_log(struct seq_file *seq, const char *prefix, in crc_pwrsrc_log() argument
70 seq_printf(seq, "%s by %s\n", prefix, info[i]); in crc_pwrsrc_log()
74 static int pwrsrc_show(struct seq_file *seq, void *unused) in pwrsrc_show() argument
76 struct crc_pwrsrc_data *data = seq->private; in pwrsrc_show()
80 ret = regmap_read(data->regmap, CRYSTALCOVE_SPWRSRC_REG, &reg_val); in pwrsrc_show()
84 crc_pwrsrc_log(seq, "System powered", pwrsrc_pwrsrc_info, reg_val); in pwrsrc_show()
88 static int resetsrc_show(struct seq_file *seq, void *unused) in resetsrc_show() argument
[all …]
/kernel/linux/linux-6.6/net/8021q/
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_t *pos);
38 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos);
39 static void vlan_seq_stop(struct seq_file *seq, void *);
40 static int vlandev_seq_show(struct seq_file *seq, void *v);
96 if (vn->proc_vlan_conf) in vlan_proc_cleanup()
[all …]
/kernel/linux/linux-5.10/net/8021q/
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_t *pos);
38 static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos);
39 static void vlan_seq_stop(struct seq_file *seq, void *);
40 static int vlandev_seq_show(struct seq_file *seq, void *v);
96 if (vn->proc_vlan_conf) in vlan_proc_cleanup()
[all …]
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_proc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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 …]
/kernel/linux/linux-6.6/drivers/block/drbd/
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 …]
/kernel/linux/linux-6.6/ipc/
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 …]
/kernel/linux/linux-5.10/ipc/
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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
Dbpf_iter_unix.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright Amazon.com Inc. or its affiliates. */
12 const struct socket *sk_socket = sk->sk_socket; in sock_i_ino()
19 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; in sock_i_ino()
20 bpf_probe_read_kernel(&ino, sizeof(ino), &inode->i_ino); in sock_i_ino()
27 struct unix_sock *unix_sk = ctx->unix_sk; in dump_unix()
29 struct seq_file *seq; in dump_unix() local
35 seq = ctx->meta->seq; in dump_unix()
36 seq_num = ctx->meta->seq_num; in dump_unix()
38 BPF_SEQ_PRINTF(seq, "Num RefCount Protocol Flags Type St Inode Path\n"); in dump_unix()
[all …]
/kernel/linux/linux-6.6/lib/kunit/
Ddebugfs.c1 // SPDX-License-Identifier: GPL-2.0
4 * Author: Alan Maguire <alan.maguire@oracle.com>
12 #include "string-stream.h"
40 static void debugfs_print_result(struct seq_file *seq, in debugfs_print_result() argument
44 if (!test_case || !test_case->log) in debugfs_print_result()
47 seq_printf(seq, "%s", test_case->log); in debugfs_print_result()
53 static int debugfs_print_results(struct seq_file *seq, void *v) in debugfs_print_results() argument
55 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_results()
65 seq_puts(seq, "KTAP version 1\n"); in debugfs_print_results()
66 seq_puts(seq, "1..1\n"); in debugfs_print_results()
[all …]
/kernel/linux/linux-6.6/include/net/sctp/
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 …]
/kernel/linux/linux-5.10/include/net/sctp/
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 …]
/kernel/linux/linux-6.6/net/rxrpc/
Dtxbuf.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Written by David Howells (dhowells@redhat.com)
11 #include "ar-internal.h"
26 INIT_LIST_HEAD(&txb->call_link); in rxrpc_alloc_txbuf()
27 INIT_LIST_HEAD(&txb->tx_link); in rxrpc_alloc_txbuf()
28 refcount_set(&txb->ref, 1); in rxrpc_alloc_txbuf()
29 txb->call_debug_id = call->debug_id; in rxrpc_alloc_txbuf()
30 txb->debug_id = atomic_inc_return(&rxrpc_txbuf_debug_ids); in rxrpc_alloc_txbuf()
31 txb->space = sizeof(txb->data); in rxrpc_alloc_txbuf()
32 txb->len = 0; in rxrpc_alloc_txbuf()
[all …]
/kernel/linux/linux-6.6/net/ipv4/
Desp4_offload.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Author: Steffen Klassert <steffen.klassert@secunet.com>
36 __be32 seq; in esp4_gro_receive() local
42 if (xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq) != 0) in esp4_gro_receive()
46 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive()
52 if (sp->len == XFRM_MAX_DEPTH) in esp4_gro_receive()
55 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp4_gro_receive()
56 (xfrm_address_t *)&ip_hdr(skb)->daddr, in esp4_gro_receive()
61 skb->mark = xfrm_smark_get(skb->mark, x); in esp4_gro_receive()
63 sp->xvec[sp->len++] = x; in esp4_gro_receive()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Desp4_offload.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Author: Steffen Klassert <steffen.klassert@secunet.com>
34 __be32 seq; in esp4_gro_receive() local
41 if ((err = xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq)) != 0) in esp4_gro_receive()
45 if (!xo || !(xo->flags & CRYPTO_DONE)) { in esp4_gro_receive()
51 if (sp->len == XFRM_MAX_DEPTH) in esp4_gro_receive()
54 x = xfrm_state_lookup(dev_net(skb->dev), skb->mark, in esp4_gro_receive()
55 (xfrm_address_t *)&ip_hdr(skb)->daddr, in esp4_gro_receive()
60 skb->mark = xfrm_smark_get(skb->mark, x); in esp4_gro_receive()
62 sp->xvec[sp->len++] = x; in esp4_gro_receive()
[all …]
/kernel/linux/linux-5.10/lib/kunit/
Ddebugfs.c1 // SPDX-License-Identifier: GPL-2.0
4 * Author: Alan Maguire <alan.maguire@oracle.com>
12 #include "string-stream.h"
39 static void debugfs_print_result(struct seq_file *seq, in debugfs_print_result() argument
43 if (!test_case || !test_case->log) in debugfs_print_result()
46 seq_printf(seq, "%s", test_case->log); in debugfs_print_result()
52 static int debugfs_print_results(struct seq_file *seq, void *v) in debugfs_print_results() argument
54 struct kunit_suite *suite = (struct kunit_suite *)seq->private; in debugfs_print_results()
58 if (!suite || !suite->log) in debugfs_print_results()
61 seq_printf(seq, "%s", suite->log); in debugfs_print_results()
[all …]
/kernel/linux/linux-6.6/fs/hfsplus/
Doptions.c1 // SPDX-License-Identifier: GPL-2.0
6 * Brad Boyer (flar@allandria.com)
7 * (C) 2003 Ardis Technologies <roman@ardistech.com>
54 opts->creator = HFSPLUS_DEF_CR_TYPE; in hfsplus_fill_defaults()
55 opts->type = HFSPLUS_DEF_CR_TYPE; in hfsplus_fill_defaults()
56 opts->umask = current_umask(); in hfsplus_fill_defaults()
57 opts->uid = current_uid(); in hfsplus_fill_defaults()
58 opts->gid = current_gid(); in hfsplus_fill_defaults()
59 opts->part = -1; in hfsplus_fill_defaults()
60 opts->session = -1; in hfsplus_fill_defaults()
[all …]
/kernel/linux/linux-5.10/fs/hfsplus/
Doptions.c1 // SPDX-License-Identifier: GPL-2.0
6 * Brad Boyer (flar@allandria.com)
7 * (C) 2003 Ardis Technologies <roman@ardistech.com>
54 opts->creator = HFSPLUS_DEF_CR_TYPE; in hfsplus_fill_defaults()
55 opts->type = HFSPLUS_DEF_CR_TYPE; in hfsplus_fill_defaults()
56 opts->umask = current_umask(); in hfsplus_fill_defaults()
57 opts->uid = current_uid(); in hfsplus_fill_defaults()
58 opts->gid = current_gid(); in hfsplus_fill_defaults()
59 opts->part = -1; in hfsplus_fill_defaults()
60 opts->session = -1; in hfsplus_fill_defaults()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
Dmt76x02_usb_mcu.c1 // SPDX-License-Identifier: ISC
3 * Copyright (C) 2018 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
23 struct mt76_usb *usb = &dev->usb; in mt76x02u_multiple_mcu_reads()
26 WARN_ON_ONCE(len / 8 != usb->mcu.rp_len); in mt76x02u_multiple_mcu_reads()
28 for (i = 0; i < usb->mcu.rp_len; i++) { in mt76x02u_multiple_mcu_reads()
29 u32 reg = get_unaligned_le32(data + 8 * i) - usb->mcu.base; in mt76x02u_multiple_mcu_reads()
32 WARN_ON_ONCE(usb->mcu.rp[i].reg != reg); in mt76x02u_multiple_mcu_reads()
33 usb->mcu.rp[i].value = val; in mt76x02u_multiple_mcu_reads()
37 static int mt76x02u_mcu_wait_resp(struct mt76_dev *dev, u8 seq) in mt76x02u_mcu_wait_resp() argument
39 struct mt76_usb *usb = &dev->usb; in mt76x02u_mcu_wait_resp()
[all …]
/kernel/linux/linux-5.10/kernel/gcov/
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>
32 * struct gcov_node - represents a debugfs entry
70 /* If non-zero, keep copies of profiling data for unloaded modules. */
[all …]
/kernel/linux/linux-6.6/net/appletalk/
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 …]
/kernel/linux/linux-5.10/net/appletalk/
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 …]

12345678910>>...41