Home
last modified time | relevance | path

Searched +full:max +full:- +full:msg (Results 1 – 25 of 1010) sorted by relevance

12345678910>>...41

/linux-6.14.4/include/trace/events/
Dwbt.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include "../../../block/blk-wbt.h"
12 * wbt_stat - trace stats for blk_wb
36 strscpy(__entry->name, bdi_dev_name(bdi),
37 ARRAY_SIZE(__entry->name));
38 __entry->rmean = stat[0].mean;
39 __entry->rmin = stat[0].min;
40 __entry->rmax = stat[0].max;
41 __entry->rnr_samples = stat[0].nr_samples;
42 __entry->wmean = stat[1].mean;
[all …]
/linux-6.14.4/tools/testing/selftests/net/mptcp/
Ddiag.sh2 # SPDX-License-Identifier: GPL-2.0
22 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGUSR1 &>/dev/null
25 [ -z "$(ip netns pids "${ns}")" ] && break
34 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGKILL &>/dev/null
51 local msg="$3"
52 local skip="${4-SKIP}"
57 mptcp_lib_print_title "$msg"
61 mptcp_lib_result_skip "${msg}"
64 mptcp_lib_result_fail "${msg}"
69 mptcp_lib_result_pass "${msg}"
[all …]
/linux-6.14.4/sound/soc/sof/
Dipc4-control.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
10 #include "sof-priv.h"
11 #include "sof-audio.h"
12 #include "ipc4-priv.h"
13 #include "ipc4-topology.h"
18 struct sof_ipc4_control_data *cdata = scontrol->ipc_control_data; in sof_ipc4_set_get_kcontrol_data()
19 struct snd_soc_component *scomp = scontrol->scomp; in sof_ipc4_set_get_kcontrol_data()
21 const struct sof_ipc_ops *iops = sdev->ipc->ops; in sof_ipc4_set_get_kcontrol_data()
22 struct sof_ipc4_msg *msg = &cdata->msg; in sof_ipc4_set_get_kcontrol_data() local
28 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_set_get_kcontrol_data()
[all …]
/linux-6.14.4/tools/testing/selftests/net/forwarding/
Dbridge_mdb_max.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
15 # +----|------------------+ +----|-------------------+
17 # +----|--------------------------------------------------|-------------------+
19 # | +--|--------------------------------------------------|-----------------+ |
24 # | +-----------------------------------------------------------------------+ |
25 # +---------------------------------------------------------------------------+
187 local grp=${1:-1}; shift
190 local IPs=$(seq -f 192.0.2.%g 1 $((n - 1)))
210 local grp=${1:-1}; shift
[all …]
/linux-6.14.4/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c2 * Broadcom NetXtreme-E RoCE driver.
4 * Copyright (c) 2016 - 2017, Broadcom. All rights reserved. The term
62 if (!bnxt_qplib_is_chip_gen_p5_p7(rcfw->res->cctx)) in bnxt_qplib_is_atomic_cap()
65 pcie_capability_read_word(rcfw->pdev, PCI_EXP_DEVCTL2, &pcie_ctl2); in bnxt_qplib_is_atomic_cap()
73 struct bnxt_qplib_cmdqmsg msg = {}; in bnxt_qplib_query_version() local
81 bnxt_qplib_fill_cmdqmsg(&msg, &req, &resp, NULL, sizeof(req), sizeof(resp), 0); in bnxt_qplib_query_version()
82 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_query_version()
93 struct bnxt_qplib_dev_attr *attr = rcfw->res->dattr; in bnxt_qplib_get_dev_attr()
95 struct bnxt_qplib_cmdqmsg msg = {}; in bnxt_qplib_get_dev_attr() local
104 cctx = rcfw->res->cctx; in bnxt_qplib_get_dev_attr()
[all …]
/linux-6.14.4/tools/testing/selftests/net/
Dudpgso.c1 // SPDX-License-Identifier: GPL-2.0
45 #define CONST_MSS_V4 (CONST_MTU_TEST - CONST_HDRLEN_V4)
46 #define CONST_MSS_V6 (CONST_MTU_TEST - CONST_HDRLEN_V6)
58 static int cfg_specific_test_id = -1;
69 int r_len_last; /* recv(): size of last non-mss dgram, if any */
139 /* send MAX segs */
146 /* send MAX bytes */
147 .tlen = ETH_MAX_MTU - CONST_HDRLEN_V4,
150 .r_len_last = ETH_MAX_MTU - CONST_HDRLEN_V4 -
154 /* send MAX + 1: fail */
[all …]
/linux-6.14.4/net/tipc/
Dmsg.c2 * net/tipc/msg.c: TIPC message header routines
4 * Copyright (c) 2000-2006, 2014-2015, Ericsson AB
5 * Copyright (c) 2005, 2010-2011, Wind River Systems
39 #include "msg.h"
54 const int one_page_mtu = PAGE_SIZE - SKB_DATA_ALIGN(BUF_OVERHEAD) -
58 * tipc_buf_acquire - creates a TIPC message buffer
76 skb->next = NULL; in tipc_buf_acquire()
101 struct tipc_msg *msg; in tipc_msg_create() local
108 msg = buf_msg(buf); in tipc_msg_create()
109 tipc_msg_init(onode, msg, user, type, hdr_sz, dnode); in tipc_msg_create()
[all …]
Dname_table.c4 * Copyright (c) 2000-2006, 2014-2018, Ericsson AB
5 * Copyright (c) 2004-2008, 2010-2014, Wind River Systems
6 * Copyright (c) 2020-2021, Red Hat Inc
52 * struct service_range - container for all bindings of a service range
56 * @max: largest 'upper' in this node subtree
60 * Used by round-robin lookup algorithm
66 u32 max; member
72 * struct tipc_service - container for all published instances of a service type
91 #define service_range_upper(sr) ((sr)->upper)
93 struct service_range, tree_node, u32, max, in RB_DECLARE_CALLBACKS_MAX() argument
[all …]
/linux-6.14.4/net/devlink/
Dsb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 return devlink_sb->ingress_pools_count + devlink_sb->egress_pools_count; in devlink_sb_pool_count()
29 list_for_each_entry(devlink_sb, &devlink->sb_list, list) { in devlink_sb_get_by_index()
30 if (devlink_sb->index == sb_index) in devlink_sb_get_by_index()
51 return ERR_PTR(-ENODEV); in devlink_sb_get_from_attrs()
54 return ERR_PTR(-EINVAL); in devlink_sb_get_from_attrs()
60 return devlink_sb_get_from_attrs(devlink, info->attrs); in devlink_sb_get_from_info()
70 return -EINVAL; in devlink_sb_pool_index_get_from_attrs()
74 return -EINVAL; in devlink_sb_pool_index_get_from_attrs()
83 return devlink_sb_pool_index_get_from_attrs(devlink_sb, info->attrs, in devlink_sb_pool_index_get_from_info()
[all …]
/linux-6.14.4/tools/accounting/
Dgetdelays.c1 // SPDX-License-Identifier: GPL-2.0
4 * Utility to get per-pid and per-tgid delay accounting statistics
12 * gcc -I/usr/src/linux/include getdelays.c -o getdelays
38 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
40 #define NLA_PAYLOAD(len) (len - NLA_HDRLEN)
76 fprintf(stderr, "getdelays [-dilv] [-w logfile] [-r bufsize] " in usage()
77 "[-m cpumask] [-t tgid] [-p pid]\n"); in usage()
78 fprintf(stderr, " -d: print delayacct stats\n"); in usage()
79 fprintf(stderr, " -i: print IO accounting (works only with -p)\n"); in usage()
80 fprintf(stderr, " -l: listen forever\n"); in usage()
[all …]
/linux-6.14.4/drivers/platform/chrome/
Dcros_ec_proto.c1 // SPDX-License-Identifier: GPL-2.0
22 [EC_RES_INVALID_COMMAND] = -EOPNOTSUPP,
23 [EC_RES_ERROR] = -EIO,
24 [EC_RES_INVALID_PARAM] = -EINVAL,
25 [EC_RES_ACCESS_DENIED] = -EACCES,
26 [EC_RES_INVALID_RESPONSE] = -EPROTO,
27 [EC_RES_INVALID_VERSION] = -ENOPROTOOPT,
28 [EC_RES_INVALID_CHECKSUM] = -EBADMSG,
29 [EC_RES_IN_PROGRESS] = -EINPROGRESS,
30 [EC_RES_UNAVAILABLE] = -ENODATA,
[all …]
/linux-6.14.4/include/uapi/linux/
Dmsg.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
14 #define MSG_EXCEPT 020000 /* recv any msg except of specified type.*/
20 struct msg *msg_first; /* first message on queue,unused */
21 struct msg *msg_last; /* last message in queue,unused */
29 unsigned short msg_qbytes; /* max number of bytes on queue */
65 * MSGMNB is the default size of a new message queue. Non-root tasks can
72 * (per-namespace) limit that applies for all message queues.
77 #define MSGMNI 32000 /* <= IPCMNI */ /* max # of msg queue identifiers */
78 #define MSGMAX 8192 /* <= INT_MAX */ /* max size of message (bytes) */
79 #define MSGMNB 16384 /* <= INT_MAX */ /* default max size of a message queue */
[all …]
/linux-6.14.4/drivers/firmware/
Dturris-mox-rwtm.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/armada-37xx-rwtm-mailbox.h>
15 #include <linux/dma-mapping.h>
30 #define DRIVER_NAME "turris-mox-rwtm"
37 * https://gitlab.labs.nic.cz/turris/mox-boot-builder/tree/master/wtmi.
65 * struct mox_rwtm - driver private data structure
120 return rwtm->mbox_client.dev; in rwtm_dev()
129 if (!rwtm->has_##cat) \
130 return -ENODATA; \
131 return sysfs_emit(buf, format, rwtm->name); \
[all …]
/linux-6.14.4/drivers/media/rc/
Dir-sharp-decoder.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* ir-sharp-decoder.c - handle Sharp IR Pulse/Space protocol
4 * Copyright (C) 2013-2014 Imagination Technologies Ltd.
12 #include "rc-core-priv.h"
34 * ir_sharp_decode() - Decode one Sharp pulse or space
38 * This function returns -EINVAL if the pulse violates the state machine
42 struct sharp_dec *data = &dev->raw->sharp; in ir_sharp_decode()
43 u32 msg, echo, address, command, scancode; in ir_sharp_decode() local
47 data->state = STATE_INACTIVE; in ir_sharp_decode()
51 dev_dbg(&dev->dev, "Sharp decode started at state %d (%uus %s)\n", in ir_sharp_decode()
[all …]
/linux-6.14.4/drivers/media/usb/dvb-usb-v2/
Ddvbsky.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2013 Max nibble <nibble.max@gmail.com>
45 mutex_lock(&d->usb_mutex); in dvbsky_usb_generic_rw()
47 memcpy(state->obuf, wbuf, wlen); in dvbsky_usb_generic_rw()
49 ret = dvb_usbv2_generic_rw_locked(d, state->obuf, wlen, in dvbsky_usb_generic_rw()
50 state->ibuf, rlen); in dvbsky_usb_generic_rw()
53 memcpy(rbuf, state->ibuf, rlen); in dvbsky_usb_generic_rw()
55 mutex_unlock(&d->usb_mutex); in dvbsky_usb_generic_rw()
66 mutex_lock(&d->usb_mutex); in dvbsky_stream_ctrl()
67 memcpy(state->obuf, obuf_pre, 3); in dvbsky_stream_ctrl()
[all …]
/linux-6.14.4/arch/powerpc/platforms/powernv/
Dopal-powercap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 #define pr_fmt(fmt) "opal-powercap: " fmt
35 struct opal_msg msg; in powercap_show() local
49 ret = opal_get_powercap(pcap_attr->handle, token, (u32 *)__pa(&pcap)); in powercap_show()
52 ret = opal_async_wait_response(token, &msg); in powercap_show()
55 ret = -EIO; in powercap_show()
58 ret = opal_error_code(opal_get_async_rc(msg)); in powercap_show()
62 ret = -EIO; in powercap_show()
68 ret = -EIO; in powercap_show()
87 struct opal_msg msg; in powercap_store() local
[all …]
/linux-6.14.4/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ctrl_mbox.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * |-------------------------------------------|
17 * |-------------------------------------------|
22 * |-------------------------------------------|
24 * | min=high 32 bits, max=low 32 bits |
29 * |-------------------------------------------|
32 * |max element size (4 bytes) |
36 * |-------------------------------------------|
39 * |max element size (4 bytes) |
42 * |Host to Fw Queue ((total size-288/2) bytes)|
[all …]
/linux-6.14.4/drivers/media/dvb-frontends/
Ddvb-pll.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include "dvb-pll.h"
45 { [ 0 ... (DVB_PLL_MAX-1) ] = DVB_PLL_UNDEFINED };
49 /* ----------------------------------------------------------- */
54 u32 max; member
69 /* ----------------------------------------------------------- */
75 .max = 858 * MHz,
89 u32 bw = fe->dtv_property_cache.bandwidth_hz; in thomson_dtt759x_bw()
97 .max = 896 * MHz,
113 u32 bw = fe->dtv_property_cache.bandwidth_hz; in thomson_dtt7520x_bw()
[all …]
/linux-6.14.4/sound/virtio/
Dvirtio_kctl.c1 // SPDX-License-Identifier: GPL-2.0+
3 * virtio-snd: Virtio sound device
40 * virtsnd_kctl_info() - Returns information about the control.
45 * Return: 0 on success, -errno on failure.
50 struct virtio_snd *snd = kcontrol->private_data; in virtsnd_kctl_info()
51 struct virtio_kctl *kctl = &snd->kctls[kcontrol->private_value]; in virtsnd_kctl_info()
53 &snd->kctl_infos[kcontrol->private_value]; in virtsnd_kctl_info()
56 uinfo->type = g_v2a_type_map[le32_to_cpu(kinfo->type)]; in virtsnd_kctl_info()
57 uinfo->count = le32_to_cpu(kinfo->count); in virtsnd_kctl_info()
59 switch (uinfo->type) { in virtsnd_kctl_info()
[all …]
/linux-6.14.4/net/core/
Dscm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* scm.c - Socket level control messages processing.
50 kuid_t uid = make_kuid(cred->user_ns, creds->uid); in scm_check_creds()
51 kgid_t gid = make_kgid(cred->user_ns, creds->gid); in scm_check_creds()
54 return -EINVAL; in scm_check_creds()
56 if ((creds->pid == task_tgid_vnr(current) || in scm_check_creds()
57 ns_capable(task_active_pid_ns(current)->user_ns, CAP_SYS_ADMIN)) && in scm_check_creds()
58 ((uid_eq(uid, cred->uid) || uid_eq(uid, cred->euid) || in scm_check_creds()
59 uid_eq(uid, cred->suid)) || ns_capable(cred->user_ns, CAP_SETUID)) && in scm_check_creds()
60 ((gid_eq(gid, cred->gid) || gid_eq(gid, cred->egid) || in scm_check_creds()
[all …]
/linux-6.14.4/include/linux/platform_data/
Dcros_ec_proto.h1 /* SPDX-License-Identifier: GPL-2.0 */
35 * Max bus-specific overhead incurred by request/responses.
50 * EC panic is not covered by the standard (0-F) ACPI notify values.
51 * Arbitrarily choosing B0 to notify ec panic, which is in the 84-BF
66 /* Max length of messages for proto 2*/
74 * struct cros_ec_command - Information about a ChromeOS EC command.
78 * @insize: Max number of bytes to accept from the EC.
92 * struct cros_ec_device - Information about a ChromeOS EC device.
93 * @phys_name: Name of physical comms layer (e.g. 'i2c-4').
96 * @cmd_readmem: Direct read of the EC memory-mapped region, if supported.
[all …]
/linux-6.14.4/drivers/dpll/
Ddpll_netlink.c1 // SPDX-License-Identifier: GPL-2.0
30 return (struct dpll_dump_ctx *)cb->ctx; in dpll_dump_context()
34 dpll_msg_add_dev_handle(struct sk_buff *msg, struct dpll_device *dpll) in dpll_msg_add_dev_handle() argument
36 if (nla_put_u32(msg, DPLL_A_ID, dpll->id)) in dpll_msg_add_dev_handle()
37 return -EMSGSIZE; in dpll_msg_add_dev_handle()
43 dpll_msg_add_dev_parent_handle(struct sk_buff *msg, u32 id) in dpll_msg_add_dev_parent_handle() argument
45 if (nla_put_u32(msg, DPLL_A_PIN_PARENT_ID, id)) in dpll_msg_add_dev_parent_handle()
46 return -EMSGSIZE; in dpll_msg_add_dev_parent_handle()
52 * dpll_msg_add_pin_handle - attach pin handle attribute to a given message
53 * @msg: pointer to sk_buff message to attach a pin handle
[all …]
/linux-6.14.4/drivers/scsi/bfa/
Dbfi_ms.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
4 * Copyright (c) 2014- QLogic Corporation.
8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter.
58 union bfi_addr_u stats_addr; /* DMA-able address for stats */
109 struct bfi_mhdr_s mh; /* Common msg header */
120 struct bfi_mhdr_s mh; /* common msg header */
132 struct bfi_mhdr_s mh; /* common msg header */
144 struct bfi_mhdr_s mh; /* common msg header */
175 struct bfi_mhdr_s mh; /* common msg header */
[all …]
/linux-6.14.4/rust/kernel/
Dbuild_assert.rs1 // SPDX-License-Identifier: GPL-2.0
3 //! Build-time assert.
18 /// fn foo(a: usize) -> usize {
22 /// assert_eq!(foo(usize::MAX - 1), usize::MAX); // OK.
23 /// // foo(usize::MAX); // Fails to compile.
30 ($msg:expr) => {{
31 $crate::build_assert::build_error($msg)
50 /// static_assert!(1 > 1); // Compile-time error
51 /// build_assert!(1 > 1); // Build-time error
52 /// assert!(1 > 1); // Run-time error
[all …]
/linux-6.14.4/drivers/net/ethernet/cavium/thunder/
Dnic.h1 /* SPDX-License-Identifier: GPL-2.0-only */
45 /* Min/Max packet size */
49 /* Max pkinds */
52 /* Max when CPI_ALG is IP diffserv */
80 /* MSI-X interrupts */
98 * for reception it will not get dropped due to non-availability
371 /* MSI-X */
377 /* VF <-> PF mailbox communication */
383 /* PF <--> VF Mailbox communication
389 /* PF <--> VF mailbox communication */
[all …]

12345678910>>...41