| /linux/arch/m68k/fpsp040/ |
| H A D | fpsp.h | 11 | fpsp.h --- stack frame offsets during FPSP exception handling 18 | link a6,#-LOCAL_SIZE 19 | fsave -(a7) 20 | movem.l d0-d1/a0-a1,USER_DA(a6) 21 | fmovem.x fp0-fp3,USER_FP0(a6) 26 | A7 ---> +-------------------------------+ 30 | +-------------------------------+ 36 | +-------------------------------+ 37 | A6 ---> | Saved A6 | 38 | +-------------------------------+ [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | asmmacro.h | 12 #include <asm/asm-offsets.h> 16 #include <asm/asmmacro-32.h> 19 #include <asm/asmmacro-64.h> 22 /* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */ 78 addi \reg, \reg, -1 85 .set push 86 .set hardfloat 105 .set pop 109 .set push 110 .set mips64r2 [all …]
|
| /linux/Documentation/admin-guide/kdump/ |
| H A D | gdbmacros.txt | 8 # --command=<command-file-name> option 17 set $tasks_off=((size_t)&((struct task_struct *)0)->tasks) 18 set $pid_off=((size_t)&((struct task_struct *)0)->thread_group.next) 19 set $init_t=&init_task 20 set $next_t=(((char *)($init_t->tasks).next) - $tasks_off) 21 set var $stacksize = sizeof(union thread_union) 23 set $next_t=(struct task_struct *)$next_t 26 set var $stackp = $next_t.thread.sp 27 set var $stack_top = ($stackp & ~($stacksize - 1)) + $stacksize 33 set $stackp += 4 [all …]
|
| /linux/net/netfilter/ipset/ |
| H A D | ip_set_bitmap_gen.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 36 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) argument 39 mtype_gc_init(struct ip_set *set, void (*gc)(struct timer_list *t)) in mtype_gc_init() argument 41 struct mtype *map = set->data; in mtype_gc_init() 43 timer_setup(&map->gc, gc, 0); in mtype_gc_init() 44 mod_timer(&map->gc, jiffies + IPSET_GC_PERIOD(set->timeout) * HZ); in mtype_gc_init() 48 mtype_ext_cleanup(struct ip_set *set) in mtype_ext_cleanup() argument 50 struct mtype *map = set->data; in mtype_ext_cleanup() 53 for (id = 0; id < map->elements; id++) in mtype_ext_cleanup() 54 if (test_bit(id, map->members)) in mtype_ext_cleanup() [all …]
|
| H A D | ip_set_list_set.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (C) 2008-2013 Jozsef Kadlecsik <kadlec@netfilter.org> */ 4 /* Kernel module implementing an IP set type: the list:set type */ 22 IP_SET_MODULE_DESC("list:set", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX); 23 MODULE_ALIAS("ip_set_list:set"); 29 struct ip_set *set; /* Sigh, in order to cleanup reference */ member 41 u32 size; /* size of set list array */ 43 struct ip_set *set; /* attached to this ip_set */ member 45 struct list_head members; /* the set members */ 49 list_set_ktest(struct ip_set *set, const struct sk_buff *skb, in list_set_ktest() argument [all …]
|
| H A D | ip_set_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> 4 * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@netfilter.org> 7 /* Kernel module for IP set management */ 25 static LIST_HEAD(ip_set_type_list); /* all registered set types */ 27 static DEFINE_RWLOCK(ip_set_ref_lock); /* protects the set refs */ 52 MODULE_DESCRIPTION("core IP set support"); 57 rcu_dereference_protected((inst)->ip_set_list, \ 60 (inst)->is_deleted) 64 rcu_dereference_raw((inst)->ip_set_list)[id] [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "IP set support" 7 This option adds IP set support to the kernel. 9 ipset(8). You can use the sets in netfilter via the "set" match 10 and "SET" target. 29 tristate "bitmap:ip set support" 32 This option adds the bitmap:ip set type support, by which one 38 tristate "bitmap:ip,mac set support" 41 This option adds the bitmap:ip,mac set type support, by which one 47 tristate "bitmap:port set support" [all …]
|
| H A D | ip_set_hash_gen.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 #define ipset_dereference_set(p, set) \ argument 22 lockdep_is_held(&(set)->lock)) 35 * are serialized by the nfnl mutex. During resizing the set is 36 * read-locked, so the only possible concurrent operations are 46 #define AHASH_MAX(h) ((h)->bucketsiz 77 struct ip_set *set; /* Set the gc belongs to */ global() member 159 SET_ELEM_EXPIRED(set,d) global() argument 326 mtype_add_cidr(struct ip_set * set,struct htype * h,u8 cidr,u8 n) mtype_add_cidr() argument 353 mtype_del_cidr(struct ip_set * set,struct htype * h,u8 cidr,u8 n) mtype_del_cidr() argument 386 mtype_ext_cleanup(struct ip_set * set,struct hbucket * n) mtype_ext_cleanup() argument 397 mtype_flush(struct ip_set * set) mtype_flush() argument 429 mtype_ahash_destroy(struct ip_set * set,struct htable * t,bool ext_destroy) mtype_ahash_destroy() argument 450 mtype_destroy(struct ip_set * set) mtype_destroy() argument 484 mtype_gc_do(struct ip_set * set,struct htype * h,struct htable * t,u32 r) mtype_gc_do() argument 560 struct ip_set *set; mtype_gc() local 602 mtype_cancel_gc(struct ip_set * set) mtype_cancel_gc() argument 622 mtype_resize(struct ip_set * set,bool retried) mtype_resize() argument 808 mtype_ext_size(struct ip_set * set,u32 * elements,size_t * ext_size) mtype_ext_size() argument 839 mtype_add(struct ip_set * set,void * value,const struct ip_set_ext * ext,struct ip_set_ext * mext,u32 flags) mtype_add() argument 1034 mtype_del(struct ip_set * set,void * value,const struct ip_set_ext * ext,struct ip_set_ext * mext,u32 flags) mtype_del() argument 1146 mtype_data_match(struct mtype_elem * data,const struct ip_set_ext * ext,struct ip_set_ext * mext,struct ip_set * set,u32 flags) mtype_data_match() argument 1159 mtype_test_cidrs(struct ip_set * set,struct mtype_elem * d,const struct ip_set_ext * ext,struct ip_set_ext * mext,u32 flags) mtype_test_cidrs() argument 1215 mtype_test(struct ip_set * set,void * value,const struct ip_set_ext * ext,struct ip_set_ext * mext,u32 flags) mtype_test() argument 1264 mtype_head(struct ip_set * set,struct sk_buff * skb) mtype_head() argument 1329 mtype_uref(struct ip_set * set,struct netlink_callback * cb,bool start) mtype_uref() argument 1353 mtype_list(const struct ip_set * set,struct sk_buff * skb,struct netlink_callback * cb) mtype_list() argument [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | arg_parsing.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 6 static void init_test_filter_set(struct test_filter_set *set) in init_test_filter_set() argument 8 set->cnt = 0; in init_test_filter_set() 9 set->tests = NULL; in init_test_filter_set() 12 static void free_test_filter_set(struct test_filter_set *set) in free_test_filter_set() argument 16 for (i = 0; i < set->cnt; i++) { in free_test_filter_set() 17 for (j = 0; j < set->tests[i].subtest_cnt; j++) in free_test_filter_set() 18 free((void *)set->tests[i].subtests[j]); in free_test_filter_set() 19 free(set->tests[i].subtests); in free_test_filter_set() 20 free(set->tests[i].name); in free_test_filter_set() [all …]
|
| /linux/drivers/s390/cio/ |
| H A D | idset.c | 1 // SPDX-License-Identifier: GPL-2.0 26 struct idset *set; in idset_new() local 28 set = vmalloc(sizeof(struct idset) + in idset_new() 30 if (set) { in idset_new() 31 set->num_ssid = num_ssid; in idset_new() 32 set->num_id = num_id; in idset_new() 33 memset(set->bitmap, 0, idset_bitmap_size(num_ssid, num_id)); in idset_new() 35 return set; in idset_new() 38 void idset_free(struct idset *set) in idset_free() argument 40 vfree(set); in idset_free() [all …]
|
| /linux/tools/lib/bpf/ |
| H A D | strset.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 18 /* lookup index for each unique string in strings set */ 25 const char *str = s->strs_data + key; in strset_hash_fn() 33 const char *str1 = s->strs_data + key1; in strset_equal_fn() 34 const char *str2 = s->strs_data + key2; in strset_equal_fn() 41 struct strset *set = calloc(1, sizeof(*set)); in strset__new() local 43 int err = -ENOMEM; in strset__new() 45 if (!set) in strset__new() 46 return ERR_PTR(-ENOMEM); in strset__new() 48 hash = hashmap__new(strset_hash_fn, strset_equal_fn, set); in strset__new() [all …]
|
| /linux/arch/arm64/configs/ |
| H A D | virt.config | 6 # CONFIG_ARCH_ACTIONS is not set 7 # CONFIG_ARCH_SUNXI is not set 8 # CONFIG_ARCH_ALPINE is not set 9 # CONFIG_ARCH_APPLE is not set 10 # CONFIG_ARCH_BCM is not set 11 # CONFIG_ARCH_BCM2835 is not set 12 # CONFIG_ARCH_BCMBCA is not set 13 # CONFIG_ARCH_BCM_IPROC is not set 14 # CONFIG_ARCH_BERLIN is not set 15 # CONFIG_ARCH_BRCMSTB is not set [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | rx_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 214 * If use_flow_id_toeplitz_clfy is set and lmac_peer_id_'sb 218 * If use_flow_id_toeplitz_clfy is set and lmac_peer_id_msb 242 * pkt_selection_fp_... bit is set 246 * pkt_selection_fp_... bit is set 249 * If set, for multicast packets, multicast echo check (i.e. 255 * If set, WDS learning detection based on SA search and notification 257 * field in address search failure cache-only entry should [all …]
|
| /linux/net/netfilter/ |
| H A D | nft_dynset.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 struct nft_set *set; member 36 for (i = 0; i < priv->num_exprs; i++) { in nft_dynset_expr_setup() 37 expr = nft_setelem_expr_at(elem_expr, elem_expr->size); in nft_dynset_expr_setup() 38 if (nft_expr_clone(expr, priv->expr_array[i], GFP_ATOMIC) < 0) in nft_dynset_expr_setup() 39 return -1; in nft_dynset_expr_setup() 41 elem_expr->size += priv->expr_array[i]->ops->size; in nft_dynset_expr_setup() 47 struct nft_elem_priv *nft_dynset_new(struct nft_set *set, in nft_dynset_new() argument 56 if (!atomic_add_unless(&set->nelems, 1, set->size)) in nft_dynset_new() 59 timeout = priv->timeout ? : READ_ONCE(set->timeout); in nft_dynset_new() [all …]
|
| H A D | nft_lookup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 struct nft_set *set; member 28 __nft_set_do_lookup(const struct net *net, const struct nft_set *set, in __nft_set_do_lookup() argument 32 if (set->ops == &nft_set_hash_fast_type.ops) in __nft_set_do_lookup() 33 return nft_hash_lookup_fast(net, set, key); in __nft_set_do_lookup() 34 if (set->ops == &nft_set_hash_type.ops) in __nft_set_do_lookup() 35 return nft_hash_lookup(net, set, key); in __nft_set_do_lookup() 37 if (set->ops == &nft_set_rhash_type.ops) in __nft_set_do_lookup() 38 return nft_rhash_lookup(net, set, key); in __nft_set_do_lookup() 40 if (set->ops == &nft_set_bitmap_type.ops) in __nft_set_do_lookup() [all …]
|
| H A D | nft_set_hash.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2008-2014 Patrick McHardy <kaber@trash.net> 39 const struct nft_set *set; 49 return jhash(arg->key, len, seed); in nft_rhash_key() 56 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj() 62 const struct nft_rhash_cmp_arg *x = arg->key; in nft_rhash_cmp() 65 if (memcmp(nft_set_ext_key(&he->ex in nft_rhash_cmp() 38 const struct nft_set *set; global() member 85 nft_rhash_lookup(const struct net * net,const struct nft_set * set,const u32 * key) nft_rhash_lookup() argument 105 nft_rhash_get(const struct net * net,const struct nft_set * set,const struct nft_set_elem * elem,unsigned int flags) nft_rhash_get() argument 125 nft_rhash_update(struct nft_set * set,const u32 * key,const struct nft_expr * expr,struct nft_regs * regs) nft_rhash_update() argument 169 nft_rhash_insert(const struct net * net,const struct nft_set * set,const struct nft_set_elem * elem,struct nft_elem_priv ** elem_priv) nft_rhash_insert() argument 194 nft_rhash_activate(const struct net * net,const struct nft_set * set,struct nft_elem_priv * elem_priv) nft_rhash_activate() argument 203 nft_rhash_flush(const struct net * net,const struct nft_set * set,struct nft_elem_priv * elem_priv) nft_rhash_flush() argument 212 nft_rhash_deactivate(const struct net * net,const struct nft_set * set,const struct nft_set_elem * elem) nft_rhash_deactivate() argument 235 nft_rhash_remove(const struct net * net,const struct nft_set * set,struct nft_elem_priv * elem_priv) nft_rhash_remove() argument 244 nft_rhash_delete(const struct nft_set * set,const u32 * key) nft_rhash_delete() argument 264 nft_rhash_walk(const struct nft_ctx * ctx,struct nft_set * set,struct nft_set_iter * iter) nft_rhash_walk() argument 298 nft_rhash_expr_needs_gc_run(const struct nft_set * set,struct nft_set_ext * ext) nft_rhash_expr_needs_gc_run() argument 318 struct nft_set *set; nft_rhash_gc() local 410 nft_rhash_gc_init(const struct nft_set * set) nft_rhash_gc_init() argument 418 nft_rhash_init(const struct nft_set * set,const struct nft_set_desc * desc,const struct nlattr * const tb[]) nft_rhash_init() argument 444 const struct nft_set *set; global() member 456 nft_rhash_destroy(const struct nft_ctx * ctx,const struct nft_set * set) nft_rhash_destroy() argument 506 nft_hash_lookup(const struct net * net,const struct nft_set * set,const u32 * key) nft_hash_lookup() argument 525 nft_hash_get(const struct net * net,const struct nft_set * set,const struct nft_set_elem * elem,unsigned int flags) nft_hash_get() argument 545 nft_hash_lookup_fast(const struct net * net,const struct nft_set * set,const u32 * key) nft_hash_lookup_fast() argument 565 nft_jhash(const struct nft_set * set,const struct nft_hash * priv,const struct nft_set_ext * ext) nft_jhash() argument 582 nft_hash_insert(const struct net * net,const struct nft_set * set,const struct nft_set_elem * elem,struct nft_elem_priv ** elem_priv) nft_hash_insert() argument 604 nft_hash_activate(const struct net * net,const struct nft_set * set,struct nft_elem_priv * elem_priv) nft_hash_activate() argument 613 nft_hash_flush(const struct net * net,const struct nft_set * set,struct nft_elem_priv * elem_priv) nft_hash_flush() argument 622 nft_hash_deactivate(const struct net * net,const struct nft_set * set,const struct nft_set_elem * elem) nft_hash_deactivate() argument 643 nft_hash_remove(const struct net * net,const struct nft_set * set,struct nft_elem_priv * elem_priv) nft_hash_remove() argument 651 nft_hash_walk(const struct nft_ctx * ctx,struct nft_set * set,struct nft_set_iter * iter) nft_hash_walk() argument 680 nft_hash_init(const struct nft_set * set,const struct nft_set_desc * desc,const struct nlattr * const tb[]) nft_hash_init() argument 693 nft_hash_destroy(const struct nft_ctx * ctx,const struct nft_set * set) nft_hash_destroy() argument [all...] |
| /linux/arch/mips/configs/ |
| H A D | ath25_defconfig | 1 # CONFIG_LOCALVERSION_AUTO is not set 3 # CONFIG_CROSS_MEMORY_ATTACH is not set 6 # CONFIG_RD_GZIP is not set 7 # CONFIG_RD_BZIP2 is not set 8 # CONFIG_RD_XZ is not set 9 # CONFIG_RD_LZO is not set 10 # CONFIG_RD_LZ4 is not set 12 # CONFIG_FHANDLE is not set 13 # CONFIG_AIO is not set 15 # CONFIG_VM_EVENT_COUNTERS is not set [all …]
|
| /linux/Documentation/networking/dsa/ |
| H A D | configuration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 .. _dsa-config-showcases: 13 ----------------------- 42 - when a DSA user interface is brought up, the conduit interface is 44 - when the conduit interface is brought down, all DSA user interfaces are 71 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3) 72 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7) 73 * lan3: 192.0.2.9/30 (192.0.2.8 - 192.0.2.11) 76 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255) 79 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255) [all …]
|
| H A D | b53.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 The switch is, if possible, configured to enable a Broadcom specific 4-bytes 30 configuration described in the :ref:`dsa-config-showcases`. 33 ---------------------------------- 38 See :ref:`dsa-tagged-configuration`. 41 ------------------------------------- 48 The configuration slightly differ from the :ref:`dsa-vlan-configuration`. 54 In difference to the configuration described in :ref:`dsa-vlan-configuration` 61 The configuration can only be set up via VLAN tagging and bridge setup. 64 .. code-block:: sh [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | extack.sh | 2 # SPDX-License-Identifier: GPL-2.0 22 ip link set dev $swp1 up 23 ip link set dev $swp2 up 30 ip link set dev $swp2 down 31 ip link set dev $swp1 down 39 ip link set dev br1 addrgenmode none 40 ip link set dev br1 up 45 ip link set dev vx1 master br1 48 ip link set dev $swp1 master br1 52 ip link set dev br2 addrgenmode none [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_wa.c | 1 // SPDX-License-Identifier: MIT 11 #include <linux/fault-inject.h> 37 * - LRC workarounds: workarounds that touch registers that are 45 * - Engine workarounds: the list of these WAs is applied whenever the specific 46 * engine is reset. It's also possible that a set of engine classes share a 57 * - GT workarounds: the list of these WAs is applied whenever these registers 60 * - Register whitelist: some workarounds need to be implemented in userspace, 64 * these to/be-whitelisted registers to some special HW registers). 66 * - Workaround batchbuffers: buffers that get executed automatically by the 88 * |----------->| [all …]
|
| /linux/lib/crypto/x86/ |
| H A D | sha1-avx2-asm.S | 2 * Implement fast SHA-1 with AVX2 instructions. (x86_64) 59 * SHA-1 implementation with Intel(R) AVX2 instruction set extensions. 62 *Visit http://software.intel.com/en-us/articles/ 63 *and refer to improving-the-performance-of-the-secure-hash-algorithm-1/ 97 .set A, REG_A 98 .set B, REG_B 99 .set C, REG_C 100 .set D, REG_D 101 .set E, REG_E 102 .set TB, REG_TB [all …]
|
| /linux/arch/arm/configs/ |
| H A D | aspeed_g4_defconfig | 12 # CONFIG_RD_BZIP2 is not set 13 # CONFIG_RD_LZO is not set 14 # CONFIG_RD_LZ4 is not set 16 # CONFIG_UID16 is not set 17 # CONFIG_SYSFS_SYSCALL is not set 18 # CONFIG_AIO is not set 21 # CONFIG_ARCH_MULTI_V7 is not set 27 # CONFIG_ATAGS is not set 30 # CONFIG_BLK_DEBUG_FS is not set 31 # CONFIG_MQ_IOSCHED_DEADLINE is not set [all …]
|
| /linux/arch/hexagon/configs/ |
| H A D | comet_defconfig | 4 CONFIG_CROSS_COMPILE="hexagon-" 5 CONFIG_LOCALVERSION="-smp" 6 # CONFIG_LOCALVERSION_AUTO is not set 18 # CONFIG_VM_EVENT_COUNTERS is not set 19 # CONFIG_BLK_DEV_BSG is not set 21 # CONFIG_STANDALONE is not set 29 # CONFIG_NETDEV_1000 is not set 30 # CONFIG_NETDEV_10000 is not set 31 # CONFIG_INPUT_MOUSEDEV is not set 32 # CONFIG_INPUT_KEYBOARD is not set [all …]
|
| /linux/include/linux/netfilter/ipset/ |
| H A D | ip_set.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> 5 * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@netfilter.org> 21 MODULE_DESCRIPTION(a " type of IP sets, revisions " b "-" c) 25 /* Set features */ 49 /* Set extensions */ 59 /* Mark set with an extension which needs to call destroy */ 64 #define SET_WITH_TIMEOUT(s) ((s)->extensions & IPSET_EXT_TIMEOUT) 65 #define SET_WITH_COUNTER(s) ((s)->extensions & IPSET_EXT_COUNTER) 66 #define SET_WITH_COMMENT(s) ((s)->extensions & IPSET_EXT_COMMENT) [all …]
|