Home
last modified time | relevance | path

Searched +full:pmsg +full:- +full:size (Results 1 – 25 of 42) sorted by relevance

12

/linux/Documentation/admin-guide/
H A Dpstore-blk.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ------------
10 block device and non-block device before the system crashes. You can get
13 mount -t pstore pstore /sys/fs/pstore
17 ---------------------
27 Configurations for driver are all about block device and non-block device,
31 -----------------------
51 #. /dev/<disk_name><decimal> represents the device number of partition - device
53 #. /dev/<disk_name>p<decimal> - same as the above; this form is used when disk
60 #. PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF represents the unique id of
[all …]
/linux/kernel/printk/
H A Dprintk.c1 // SPDX-License-Identifier: GPL-2.0-only
86 * console_mutex protects console_list updates and console->flags updates.
93 * console_sem protects updates to console->seq
149 return -EINVAL; in __control_devkmsg()
169 return -EINVAL; in __control_devkmsg()
211 return -EINVAL; in devkmsg_sysctl_set_loglvl()
234 return -EINVAL; in devkmsg_sysctl_set_loglvl()
243 * console_list_lock - Lock the console list
245 * For console list or console->flags updates
256 * Detecting if this context is really in the read-side critical in console_list_lock()
[all …]
H A Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * internal.h - printk internal definitions
19 (con->flags & CON_NBCON) ? "" : "legacy ", \
20 (con->flags & CON_BOOT) ? "boot" : "", \
21 con->name, con->index, ##__VA_ARGS__)
45 * the maximum size of a formatted record (i.e. with prefix added
50 /* the maximum size allowed to be reserved for a record */
115 * nbcon_kthread_wake - Wake up a console printing thread
131 rcuwait_wake_up(&con->rcuwait); /* LMM(nbcon_kthread_wake:A) */ in nbcon_kthread_wake()
146 * printk-safe must preserve the existing local IRQ guarantees.
[all …]
/linux/Documentation/devicetree/bindings/reserved-memory/
H A Dramoops.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/ramoops.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 recovered after a reboot. This is a child-node of "/reserved-memory", and
16 as kernel log messages, or for optional ECC error-correction data. The total
17 size of these optional buffers must fit in the reserved region.
20 records. These records have a configurable size, with a size of 0 indicating
23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size"
24 must be set non-zero, but are otherwise optional as listed below.
[all …]
/linux/net/sunrpc/xprtrdma/
H A Dverbs.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (c) 2014-2017 Oracle. All rights reserved.
4 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved.
9 * COPYING in the main directory of this source tree, or the BSD-type
80 rpcrdma_regbuf_alloc_node(size_t size, enum dma_data_direction direction,
83 rpcrdma_regbuf_alloc(size_t size, enu
194 const struct rpcrdma_connect_private *pmsg = param->private_data; rpcrdma_update_cm_private() local
380 struct rpcrdma_connect_private *pmsg; rpcrdma_ep_create() local
835 rpcrdma_req_create(struct rpcrdma_xprt * r_xprt,size_t size) rpcrdma_req_create() argument
1258 rpcrdma_regbuf_alloc_node(size_t size,enum dma_data_direction direction,int node) rpcrdma_regbuf_alloc_node() argument
1279 rpcrdma_regbuf_alloc(size_t size,enum dma_data_direction direction) rpcrdma_regbuf_alloc() argument
1293 rpcrdma_regbuf_realloc(struct rpcrdma_regbuf * rb,size_t size,gfp_t flags) rpcrdma_regbuf_realloc() argument
[all...]
/linux/fs/pstore/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
21 Defines default size of pstore kernel log storage.
51 data can be retrieved from /sys/fs/pstore/pmsg-ramoops-[ID].
82 For more information, see Documentation/admin-guide/ramoops.rst.
101 For more information, see Documentation/admin-guide/pstore-blk.rst
117 of partition - device number of disk plus the partition number
118 4) /dev/<disk_name>p<decimal> - same as the above, this form is
120 5) PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF representing the
123 partition using the format SSSSSSSS-PP, where SSSSSSSS is a zero-
124 filled hex representation of the 32-bit "NT disk signature", and PP
[all …]
H A Dpmsg.c1 // SPDX-License-Identifier: GPL-2.0-only
25 record.size = count; in write_pmsg()
29 return -EFAULT; in write_pmsg()
32 ret = psinfo->write_user(&record, buf); in write_pmsg()
45 #define PMSG_NAME "pmsg"
71 pmsg_class->devnode = pmsg_devnode; in pstore_register_pmsg()
H A Dzone.c1 // SPDX-License-Identifier: GPL-2.0
26 * struct psz_buffer - header of zone to flush to storage
28 * @sig: signature to indicate header (PSZ_SIG xor PSZONE-type value)
42 * struct psz_kmsg_header - kmsg dump-specific header to flush to storage
51 * This is a sub-header for a kmsg dump, trailing after &psz_buffer.
64 * struct pstore_zone - single stored buffer
67 * @type: front-end type for this zone
68 * @name: front-end name for this zone
71 * @buffer_size: bytes in @buffer->data
90 * struct psz_context - all about running state of pstore/zone
[all …]
H A Dblk.c1 // SPDX-License-Identifier: GPL-2.0
3 * Implements pstore backend driver that write to block (or non-block) storage
24 MODULE_PARM_DESC(kmsg_size, "kmsg dump record size in kbytes");
34 static long pmsg_size = -1;
37 MODULE_PARM_DESC(pmsg_size, "pmsg size in kbytes");
42 static long console_size = -1;
45 MODULE_PARM_DESC(console_size, "console size in kbytes");
50 static long ftrace_size = -1;
53 MODULE_PARM_DESC(ftrace_size, "ftrace size in kbytes");
60 * blkdev - the block device to use for pstore storage
[all …]
/linux/drivers/i2c/busses/
H A Di2c-octeon-core.c2 * (C) Copyright 2009-2010
5 * Portions Copyright (C) 2010 - 2016 Cavium, Inc.
22 #include "i2c-octeon-core.h"
33 i2c->int_disable(i2c); in octeon_i2c_isr()
34 wake_up(&i2c->queue); in octeon_i2c_isr()
45 * octeon_i2c_wait - wait for the IFLG to be set
58 if (i2c->broken_irq_mode) { in octeon_i2c_wait()
59 u64 end = get_jiffies_64() + i2c->adap.timeout; in octeon_i2c_wait()
65 return octeon_i2c_test_iflg(i2c) ? 0 : -ETIMEDOUT; in octeon_i2c_wait()
68 i2c->int_enable(i2c); in octeon_i2c_wait()
[all …]
/linux/net/netfilter/
H A Dnfnetlink_log.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * (C) 2006-2012 Patrick McHardy <kaber@trash.net>
9 * Based on the old ipv4-only ipt_ULOG.c:
10 * (C) 2000-2004 by Harald Welte <laforge@netfilter.org>
54 /* max packet size is limited by 16-bit struct nfattr nfa_len field */
55 #define NFULNL_COPY_RANGE_MAX (0xFFFF - NLA_HDRLEN)
66 struct sk_buff *skb; /* pre-allocatd skb */
75 unsigned int nlbufsiz; /* netlink buffer allocation size */
78 u_int32_t seq; /* instance-local sequential counter */
111 head = &log->instance_table[instance_hashfn(group_num)]; in __instance_lookup()
[all …]
H A Dnfnetlink_queue.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Based on the old ipv4-only ip_queue.c:
10 * (C) 2000-2002 James Morris <jmorris@intercode.com.au>
11 * (C) 2003-2005 Netfilter Core Team <coreteam@netfilter.org>
36 #include <linux/cgroup-defs.h>
68 #define NFQNL_MAX_COPY_RANGE (0xffff - NLA_HDRLEN)
131 head = &q->instance_tabl in instance_lookup()
716 size_t size; nfqnl_build_packet_message() local
721 struct nfqnl_msg_packet_hdr *pmsg; nfqnl_build_packet_message() local
[all...]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.c1 // SPDX-License-Identifier: GPL-2.0
23 struct otx2_mbox_dev *mdev = &mbox->dev[devid]; in __otx2_mbox_reset()
25 void *hw_mbase = mdev->hwbase; in __otx2_mbox_reset()
27 tx_hdr = hw_mbase + mbox->tx_start; in __otx2_mbox_reset()
28 rx_hdr = hw_mbase + mbox->rx_start; in __otx2_mbox_reset()
30 mdev->msg_size = 0; in __otx2_mbox_reset()
31 mdev->rsp_size = 0; in __otx2_mbox_reset()
32 tx_hdr->num_msgs = 0; in __otx2_mbox_reset()
33 tx_hdr->msg_size = 0; in __otx2_mbox_reset()
34 tx_hdr->sig = 0; in __otx2_mbox_reset()
[all …]
/linux/include/linux/
H A Dpstore_blk.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * struct pstore_device_info - back-end pstore/blk driver structure.
14 * linux/pstore.h. It means what front-ends this device support.
28 * struct pstore_blk_config - the pstore_blk backend configuration
32 * @kmsg_size: Total size of for kmsg dumps
33 * @pmsg_size: Total size of the pmsg storage area
34 * @console_size: Total size of the console storage area
35 * @ftrace_size: Total size for ftrace logging data (for all CPUs)
47 * pstore_blk_get_config - get a copy of the pstore_blk backend configuration
H A Dpstore_zone.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 * struct pstore_zone_info - pstore/zone back-end driver structure
14 * @owner: Module which is responsible for this back-end driver.
15 * @name: Name of the back-end driver.
16 * @total_size: The total size in bytes pstore/zone can use. It must be greater
18 * @kmsg_size: The size of oops/panic zone. Zero means disabled, otherwise,
21 * @pmsg_size: The size of pmsg zone which is the same as @kmsg_size.
22 * @console_size:The size of console zone which is the same as @kmsg_size.
23 * @ftrace_size:The size of ftrace zone which is the same as @kmsg_size.
25 * @size and @offset are relative value to storage.
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsm8250-samsung-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11 #address-cells = <2>;
12 #size-cells = <2>;
16 compatible = "simple-framebuffer";
25 gpio_keys: gpio-keys {
26 compatible = "gpio-keys";
28 pinctrl-names = "default";
29 pinctrl-0 = <&vol_up_n>;
[all …]
H A Dsm4250-oneplus-billie2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 /dts-v1/;
15 qcom,msm-id = <0x1a1 0x10000 0x1bc 0x10000>;
16 qcom,board-id = <0x1000b 0x00>;
22 #address-cells = <2>;
23 #size-cells = <2>;
26 stdout-path = "framebuffer0";
29 compatible = "simple-framebuffer";
42 no-map;
48 record-size = <0x40000>;
[all …]
H A Dmsm8992-lg-h815.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
8 /dts-v1/;
13 #include <dt-bindings/leds/common.h>
16 /delete-node/ &cont_splash_mem;
19 /delete-node/ &dfps_data_mem;
24 chassis-type = "handset";
26 qcom,msm-id = <0xfb 0x0>;
27 qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>;
28 qcom,board-id = <0xb64 0x0>;
31 /delete-node/ psci;
[all …]
H A Dmsm8956-sony-xperia-loire.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2016-2022, AngeloGioacchino Del Regno
16 qcom,msm-id = <266 0x10001>; /* MSM8956 v1.1 */
17 qcom,board-id = <8 0>;
27 stdout-path = "serial0:115200n8";
30 reserved-memory {
31 cont-splash@83000000 {
38 record-size = <0x20000>;
39 console-size = <0x40000>;
40 ftrace-size = <0x20000>;
[all …]
H A Dmsm8953-motorola-potter.dts1 // SPDX-License-Identifier: BSD-3-Clause
5 /dts-v1/;
11 /delete-node/ &cont_splash_mem;
12 /delete-node/ &qseecom_mem;
17 chassis-type = "handset";
18 qcom,msm-id = <293 0>;
19 qcom,board-id = <0x46 0x83a0>;
22 #address-cells = <2>;
23 #size-cells = <2>;
27 compatible = "simple-framebuffer";
[all …]
H A Dmsm8953-xiaomi-tissot.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
11 #include <dt-bindings/leds/common.h>
13 /delete-node/ &adsp_fw_mem;
14 /delete-node/ &qseecom_mem;
15 /delete-node/ &wcnss_fw_mem;
20 chassis-type = "handset";
21 qcom,msm-id = <293 0>;
22 qcom,board-id = <0x1000b 0x00>;
24 gpio-keys {
[all …]
H A Dsm6375-sony-xperia-murray-pdx225.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
18 /delete-node/ &pmk8350_pon;
23 chassis-type = "handset";
26 #address-cells = <2>;
27 #size-cells = <2>;
31 compatible = "simple-framebuffer";
49 gpio-keys {
50 compatible = "gpio-keys";
[all …]
H A Dsdm660-xiaomi-lavender.dts1 // SPDX-License-Identifier: GPL-2.0-only
7 /dts-v1/;
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/input/gpio-keys.h>
18 chassis-type = "handset";
25 #address-cells = <2>;
26 #size-cells = <2>;
29 stdout-path = "serial0:115200n8";
32 compatible = "simple-framebuffer";
41 vph_pwr: vph-pwr-regulator {
[all …]
H A Dsm6125-sony-xperia-seine-pdx201.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
16 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */
17 qcom,board-id = <34 0>;
21 chassis-type = "handset";
29 #address-cells = <2>;
30 #size-cells = <2>;
[all …]
/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dclient.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2003-2016, Intel Corporation.
12 #include <linux/dma-mapping.h>
18 * ishtp_read_list_flush() - Flush read queue
29 spin_lock_irqsave(&cl->dev->read_list_spinlock, flags); in ishtp_read_list_flush()
30 list_for_each_entry_safe(rb, next, &cl->dev->read_list.list, list) in ishtp_read_list_flush()
31 if (rb->cl && ishtp_cl_cmp_id(cl, rb->cl)) { in ishtp_read_list_flush()
32 list_del(&rb->list); in ishtp_read_list_flush()
33 spin_lock(&cl->free_list_spinlock); in ishtp_read_list_flush()
34 list_add_tail(&rb->list, &cl->free_rb_list.list); in ishtp_read_list_flush()
[all …]

12