Home
last modified time | relevance | path

Searched +full:dont +full:- +full:validate (Results 1 – 25 of 29) sorted by relevance

12

/linux/Documentation/netlink/specs/
H A Ddevlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
10 -
12 name: sb-pool-type
14 -
16 -
18 -
20 name: port-type
22 -
[all …]
H A Dfou.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
8 Foo-over-UDP.
10 c-family-name: fou-genl-name
11 c-version-name: fou-genl-version
12 max-by-define: true
13 kernel-policy: global
16 -
18 name: encap-type
[all …]
H A Dtcp_metrics.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
10 c-family-name: tcp-metrics-genl-name
11 c-version-name: tcp-metrics-genl-version
12 max-by-define: true
13 kernel-policy: global
16 -
17 name: tcp-fastopen-cookie-max
21 attribute-sets:
[all …]
/linux/Documentation/netlink/
H A Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
H A Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int, const name, or limit based on fixed-width type
18 # e.g. u8-min, u16-max, etc.
20 pattern: ^[0-9A-Za-z_-]+$
[all …]
H A Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
22 len-or-limit:
[all …]
/linux/include/linux/netfilter/
H A Dx_tables.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 /* Test a struct->invflags and a boolean for inequality */
13 ((boolean) ^ !!((ptr)->invflags & (flag)))
16 * struct xt_action_param - parameters for matches/targets
20 * @matchinfo: per-match data
21 * @targinfo: per-target data
24 * @thoff: position of transport header relative to skb->data
46 return par->state->net; in xt_net()
51 return par->state->in; in xt_in()
56 return par->state->out; in xt_out()
[all …]
/linux/net/sched/
H A Dsch_sfq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 "Interworking: Research and Experience", v.2, 1991, p.113-131.
44 processes queues in round-robin order.
48 - It is very cheap. Both CPU and memory requirements are minimal.
52 - "Stochastic" -> It is not 100% fair.
55 - "Round-robin" -> It introduces larger delays than virtual clock
57 traffic from non-interactive. It means, that this scheduler
67 - maximal queue length per flow to 127 packets.
68 - max mtu to 2^18-1;
69 - max 65408 flows,
[all …]
H A Dact_ife.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * net/sched/ife.c Inter-FE action based on ForCES WG InterFE LFB
6 * draft-ietf-forces-interfelfb-03
9 * "Distributing Linux Traffic Control Classifier-Action
49 if (mi->metaval) in ife_encode_meta_u16()
50 edata = *(u16 *)mi->metaval; in ife_encode_meta_u16()
58 return ife_tlv_meta_encode(skbdata, mi->metaid, 2, &edata); in ife_encode_meta_u16()
64 if (mi->metaval) in ife_get_meta_u32()
65 return nla_put_u32(skb, mi->metaid, *(u32 *)mi->metaval); in ife_get_meta_u32()
67 return nla_put(skb, mi->metaid, 0, NULL); in ife_get_meta_u32()
[all …]
/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py2 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
4 # pylint: disable=line-too-long, missing-class-docstring, missing-function-docstring
5 # pylint: disable=too-many-positional-arguments, too-many-arguments, too-many-statements
6 # pylint: disable=too-many-branches, too-many-locals, too-many-instance-attributes
7 # pylint: disable=too-many-nested-blocks, too-many-lines, too-few-public-methods
8 # pylint: disable=broad-exception-raised, broad-exception-caught, protected-access
26 # pylint: disable=no-name-in-module,wrong-import-position
33 return name.upper().replace('-', '_')
37 return name.lower().replace('-', '_')
42 Turn a string limit like u32-max or s64-min into its numerical value
[all …]
/linux/drivers/leds/trigger/
H A Dledtrig-netdev.c1 // SPDX-License-Identifier: GPL-2.0
9 // Derived from ledtrig-timer.c which is:
10 // Copyright 2005-2006 Openedhand Ltd.
37 * device_name - network device name to monitor
38 * interval - duration of LED blink, in milliseconds
39 * link - LED's normal state reflects whether the link is up
41 * tx - LED blinks on transmitted data
42 * rx - LED blinks on receive data
43 * tx_err - LED blinks on transmit error
44 * rx_err - LED blinks on receive error
[all …]
/linux/sound/soc/
H A Dsoc-topology.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-topology.c -- ALSA SoC Topology
29 #include <sound/soc-dapm.h>
30 #include <sound/soc-topology.h>
79 /* check we dont overflow the data for this control chunk */
83 const u8 *end = tplg->po in soc_tplg_check_elem_count()
[all...]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ads.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2014-2019 Intel Corporation
29 * +---------------------------------------+ <== base
31 * +---------------------------------------+
33 * +---------------------------------------+
35 * +---------------------------------------+
37 * +---------------------------------------+ <== static
42 * +---------------------------------------+ <== dynamic
44 * +---------------------------------------+ <== 4K aligned
46 * +---------------------------------------+
[all …]
/linux/drivers/scsi/aic94xx/
H A Daic94xx_sds.c1 // SPDX-License-Identifier: GPL-2.0-only
18 /* ---------- OCM stuff ---------- */
108 * asd_read_ocm_seg - read an on chip memory (OCM) segment
120 if (unlikely(asd_ha->iospace)) in asd_read_ocm_seg()
123 for ( ; size > 0; size--, offs++, p++) in asd_read_ocm_seg()
138 if (dir->sig[0] != 'M' || dir->sig[1] != 'O') { in asd_read_ocm_dir()
140 dir->sig[0], dir->sig[1]); in asd_read_ocm_dir()
141 return -ENOENT; in asd_read_ocm_dir()
143 if (dir->major != 0) { in asd_read_ocm_dir()
145 dir->major); in asd_read_ocm_dir()
[all …]
/linux/net/xfrm/
H A Dxfrm_iptfs.c1 // SPDX-License-Identifier: GPL-2.0
28 /* ----------------------------------------------- */
29 /* IP-TFS default SA values (tunnel egress/dir-in) */
30 /* ----------------------------------------------- */
33 * define IPTFS_DEFAULT_DROP_TIME_USECS - default drop time
36 * time before a missing out-of-order IPTFS tunnel packet is considered lost.
44 * define IPTFS_DEFAULT_REORDER_WINDOW - default reorder window size
54 /* ------------------------------------------------ */
55 /* IPTFS default SA values (tunnel ingress/dir-out) */
56 /* ------------------------------------------------ */
[all …]
/linux/kernel/locking/
H A Dlockdep.c1 // SPDX-License-Identifier: GPL-2.0-only
15 * - lock inversion scenarios
16 * - circular lock dependencies
17 * - hardirq/softirq safe/unsafe locking bugs
124 if (current->lockdep_recursion) in lockdep_enabled()
135 * to use a raw spinlock - we really dont want the spinlock
178 * walking the graph we dont change it (while the other in graph_lock()
217 #define KEYHASH_BITS (MAX_LOCKDEP_KEYS_BITS - 1)
229 unsigned int class_idx = hlock->class_idx; in hlock_class()
231 /* Don't re-read hlock->class_idx, can't use READ_ONCE() on bitfield */ in hlock_class()
[all …]
/linux/drivers/scsi/qla4xxx/
H A Dql4_83xx.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2003-2013 QLogic Corporation
17 return readl((void __iomem *)(ha->nx_pcibase + addr)); in qla4_83xx_rd_reg()
22 writel(val, (void __iomem *)(ha->nx_pcibase + addr)); in qla4_83xx_wr_reg()
30 qla4_83xx_wr_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num), addr); in qla4_83xx_set_win_base()
31 val = qla4_83xx_rd_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num)); in qla4_83xx_set_win_base()
91 __func__, ha->func_num, lock_owner); in qla4_83xx_flash_lock()
98 qla4_83xx_wr_reg(ha, QLA83XX_FLASH_LOCK_ID, ha->func_num); in qla4_83xx_flash_lock()
169 flash_offset = addr & (QLA83XX_FLASH_SECTOR_SIZE - 1); in qla4_83xx_lockless_flash_read_u32()
188 (QLA83XX_FLASH_SECTOR_SIZE - 1)) { in qla4_83xx_lockless_flash_read_u32()
[all …]
/linux/net/tipc/
H A Dcrypto.c1 // SPDX-License-Identifier: GPL-2.0
94 * struct tipc_key - TIPC keys' status indicator
97 * +-----+-----+-----+-----+-----+-----+-----+-----+
99 * +-----+-----+-----+-----+-----+-----+-----+-----+
103 #define KEY_MASK ((1 << KEY_BITS) - 1)
125 * struct tipc_tfm - TIPC TFM structure to form a list of TFMs
135 * struct tipc_aead - TIPC AEAD key structure
136 * @tfm_entry: per-cpu pointer to one entry in TFM list
170 * struct tipc_crypto_stats - TIPC Crypto statistics
178 * struct tipc_crypto - TIPC TX/RX crypto structure
[all …]
/linux/drivers/memstick/core/
H A Dms_block.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ms_block.c - Sony MemoryStick (legacy) storage support
14 #include <linux/blk-mq.h>
42 if (offset >= sg_from->length) { in msb_sg_copy()
46 offset -= sg_from->length; in msb_sg_copy()
51 copied = min(len, sg_from->length - offset); in msb_sg_copy()
53 copied, sg_from->offset + offset); in msb_sg_copy()
55 len -= copied; in msb_sg_copy()
62 to_nents--; in msb_sg_copy()
66 while (len > sg_from->length && to_nents--) { in msb_sg_copy()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwsignal.c1 // SPDX-License-Identifier: ISC
40 * single definition for firmware-driver flow control tlv's.
65 * enum brcmf_fws_tlv_type - definition of tlv identifiers.
76 * enum brcmf_fws_tlv_len - definition of tlv lengths.
100 * brcmf_fws_tlv_names - array of tlv names.
131 * The PKTTAG tlv has additional bytes when firmware-signalling
172 * enum brcmf_fws_skb_state - indicates processing state of skb.
187 * struct brcmf_skbuff_cb - control buffer associated with skbuff.
192 * @htod_seq: this 16-bit is original seq number for every suppress packet.
211 #define brcmf_skbcb(skb) ((struct brcmf_skbuff_cb *)((skb)->cb))
[all …]
H A Dp2p.c1 // SPDX-License-Identifier: ISC
33 #define BRCMF_P2P_WILDCARD_SSID "DIRECT-"
34 #define BRCMF_P2P_WILDCARD_SSID_LEN (sizeof(BRCMF_P2P_WILDCARD_SSID) - 1)
63 #define P2P_INVALID_CHANNEL -1
99 * struct brcmf_p2p_disc_st_le - set discovery state in firmware.
112 * enum brcmf_p2p_disc_state - P2P discovery state values
115 * @WL_P2P_DISC_ST_LISTEN: P2P discovery off-channel for specified time.
125 * struct brcmf_p2p_scan_le - P2P specific scan request.
142 * struct brcmf_p2p_pub_act_frame - WiFi P2P Public Action Frame
147 * @oui_type: OUI type - WLAN_OUI_TYPE_WFA_P2P
[all …]
/linux/include/net/
H A Dsock.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 * Corey Minyard <wf-rch!minyard@relay.EU.net>
14 * Florian La Roche <flla@stud.uni-sb.de>
57 #include <linux/cgroup-defs.h>
79 /* This is the per-socket lock. The spinlock provides a synchronization
81 * mini-semaphore synchronizes multiple users amongst themselves.
93 * We express the mutex-alike socket_lock semantics
111 * struct sock_common - minimal network layer representation of sockets
114 * @skc_addrpair: 8-byte-aligned __u64 union of @skc_daddr & @skc_rcv_saddr
126 * @skc_bypass_prot_mem: bypass the per-protocol memory accounting for skb
[all …]
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2014-2016 Zi Shen Lim <zlim.lnx@gmail.com>
10 #include <linux/arm-smccc.h>
19 #include <asm/asm-extable.h>
22 #include <asm/debug-monitors.h>
24 #include <asm/text-patching.h>
37 if ((((imm) > 0) && ((imm) >> ((bits) - 1))) || \
38 (((imm) < 0) && (~(imm) >> ((bits) - 1)))) { \
41 return -EINVAL; \
49 /* return value from in-kernel function, and exit value from eBPF */
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2008-2010 Nokia Corporation
6 * Copyright (C) 2011-2013 Texas Instruments Inc.
45 static int fwlog_mem_blocks = -1;
46 static int bug_on_recovery = -1;
47 static int no_recovery = -1;
59 if (WARN_ON(wlvif->bss_type != BSS_TYPE_STA_BSS)) in wl12xx_set_authorized()
60 return -EINVAL; in wl12xx_set_authorized()
62 if (!test_bit(WLVIF_FLAG_STA_ASSOCIATED, &wlvif->flags)) in wl12xx_set_authorized()
65 if (test_and_set_bit(WLVIF_FLAG_STA_STATE_SENT, &wlvif->flags)) in wl12xx_set_authorized()
[all …]

12