| /kernel/linux/linux-5.10/lib/ |
| D | errname.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * on mips), so this wastes a bit of space on those - though we 15 #define E(err) [err + BUILD_BUG_ON_ZERO(err <= 0 || err > 300)] = "-" #err macro 17 E(E2BIG), 18 E(EACCES), 19 E(EADDRINUSE), 20 E(EADDRNOTAVAIL), 21 E(EADV), 22 E(EAFNOSUPPORT), 23 E(EAGAIN), /* EWOULDBLOCK */ [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | errname.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * on mips), so this wastes a bit of space on those - though we 16 #define E(err) [err + BUILD_BUG_ON_ZERO(err <= 0 || err > 300)] = "-" #err macro 18 E(E2BIG), 19 E(EACCES), 20 E(EADDRINUSE), 21 E(EADDRNOTAVAIL), 22 E(EADV), 23 E(EAFNOSUPPORT), 24 E(EAGAIN), /* EWOULDBLOCK */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
| D | l2t.c | 4 * Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 65 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() argument 67 return e->vlan >> VLAN_PRIO_SHIFT; in vlan_prio() 70 static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e) in l2t_hold() argument 72 if (atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ in l2t_hold() 73 atomic_dec(&d->nfree); in l2t_hold() 89 unsigned int l2t_size_half = d->l2t_size / 2; in arp_hash() 97 unsigned int l2t_size_half = d->l2t_size / 2; in ipv6_hash() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
| D | l2t.c | 4 * Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 65 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() argument 67 return e->vlan >> VLAN_PRIO_SHIFT; in vlan_prio() 70 static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e) in l2t_hold() argument 72 if (atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ in l2t_hold() 73 atomic_dec(&d->nfree); in l2t_hold() 89 unsigned int l2t_size_half = d->l2t_size / 2; in arp_hash() 97 unsigned int l2t_size_half = d->l2t_size / 2; in ipv6_hash() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ |
| D | event.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 static void __event_init_opts(struct event *e, u64 config, in __event_init_opts() argument 27 memset(e, 0, sizeof(*e)); in __event_init_opts() 29 e->name = name; in __event_init_opts() 31 e->attr.type = type; in __event_init_opts() 32 e->attr.config = config; in __event_init_opts() 33 e->attr.size = sizeof(e->attr); in __event_init_opts() 35 e->attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | \ in __event_init_opts() 38 e->attr.sample_period = 1000; in __event_init_opts() 39 e->attr.sample_type = PERF_SAMPLE_REGS_INTR; in __event_init_opts() [all …]
|
| /kernel/linux/linux-5.10/scripts/kconfig/ |
| D | expr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 16 static struct expr *expr_eliminate_yn(struct expr *e); 20 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() local 21 e->type = E_SYMBOL; in expr_alloc_symbol() 22 e->left.sym = sym; in expr_alloc_symbol() 23 return e; in expr_alloc_symbol() 28 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() local 29 e->type = type; in expr_alloc_one() 30 e->left.expr = ce; in expr_alloc_one() [all …]
|
| /kernel/linux/linux-6.6/scripts/kconfig/ |
| D | expr.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 16 static struct expr *expr_eliminate_yn(struct expr *e); 20 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() local 21 e->type = E_SYMBOL; in expr_alloc_symbol() 22 e->left.sym = sym; in expr_alloc_symbol() 23 return e; in expr_alloc_symbol() 28 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() local 29 e->type = type; in expr_alloc_one() 30 e->left.expr = ce; in expr_alloc_one() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
| D | l2t.c | 2 * Copyright (c) 2003-2008 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 63 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() argument 65 return e->vlan >> 13; in vlan_prio() 71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); in arp_hash() 74 static inline void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace() argument 77 if (e->neigh) in neigh_replace() 78 neigh_release(e->neigh); in neigh_replace() 79 e->neigh = n; in neigh_replace() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
| D | l2t.c | 2 * Copyright (c) 2003-2008 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 63 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() argument 65 return e->vlan >> 13; in vlan_prio() 71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); in arp_hash() 74 static inline void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace() argument 77 if (e->neigh) in neigh_replace() 78 neigh_release(e->neigh); in neigh_replace() 79 e->neigh = n; in neigh_replace() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
| D | event.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 void event_init_opts(struct event *e, u64 config, int type, char *name) in event_init_opts() argument 25 memset(e, 0, sizeof(*e)); in event_init_opts() 27 e->name = name; in event_init_opts() 29 e->attr.type = type; in event_init_opts() 30 e->attr.config = config; in event_init_opts() 31 e->attr.size = sizeof(e->attr); in event_init_opts() 33 e->attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | \ in event_init_opts() 37 void event_init_named(struct event *e, u64 config, char *name) in event_init_named() argument 39 event_init_opts(e, config, PERF_TYPE_RAW, name); in event_init_named() [all …]
|
| /kernel/linux/linux-6.6/security/apparmor/ |
| D | policy_unpack_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 50 struct aa_ext *e; member 58 struct aa_ext *e; in build_aa_ext_struct() local 63 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct() 64 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, e); in build_aa_ext_struct() 66 e->start = buf; in build_aa_ext_struct() 67 e->end = e->start + buf_size; in build_aa_ext_struct() 68 e->pos = e->start; in build_aa_ext_struct() 72 strscpy(buf + 3, TEST_STRING_NAME, e->end - (void *)(buf + 3)); in build_aa_ext_struct() 74 buf = e->start + TEST_STRING_BUF_OFFSET; in build_aa_ext_struct() [all …]
|
| /kernel/linux/linux-6.6/net/netfilter/ipset/ |
| D | pfxlen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #ifdef E 8 #undef E 12 E(0x00000000, 0x00000000, 0x00000000, 0x00000000), \ 13 E(0x80000000, 0x00000000, 0x00000000, 0x00000000), \ 14 E(0xC0000000, 0x00000000, 0x00000000, 0x00000000), \ 15 E(0xE0000000, 0x00000000, 0x00000000, 0x00000000), \ 16 E(0xF0000000, 0x00000000, 0x00000000, 0x00000000), \ 17 E(0xF8000000, 0x00000000, 0x00000000, 0x00000000), \ 18 E(0xFC000000, 0x00000000, 0x00000000, 0x00000000), \ [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ipset/ |
| D | pfxlen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #ifdef E 8 #undef E 12 E(0x00000000, 0x00000000, 0x00000000, 0x00000000), \ 13 E(0x80000000, 0x00000000, 0x00000000, 0x00000000), \ 14 E(0xC0000000, 0x00000000, 0x00000000, 0x00000000), \ 15 E(0xE0000000, 0x00000000, 0x00000000, 0x00000000), \ 16 E(0xF0000000, 0x00000000, 0x00000000, 0x00000000), \ 17 E(0xF8000000, 0x00000000, 0x00000000, 0x00000000), \ 18 E(0xFC000000, 0x00000000, 0x00000000, 0x00000000), \ [all …]
|
| /kernel/linux/linux-5.10/security/apparmor/ |
| D | policy_unpack_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 47 struct aa_ext *e; member 55 struct aa_ext *e; in build_aa_ext_struct() local 60 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct() 61 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, e); in build_aa_ext_struct() 63 e->start = buf; in build_aa_ext_struct() 64 e->end = e->start + buf_size; in build_aa_ext_struct() 65 e->pos = e->start; in build_aa_ext_struct() 71 buf = e->start + TEST_STRING_BUF_OFFSET; in build_aa_ext_struct() 76 buf = e->start + TEST_NAMED_U32_BUF_OFFSET; in build_aa_ext_struct() [all …]
|
| /kernel/linux/linux-6.6/scripts/coccinelle/api/ |
| D | kvmalloc.cocci | 1 // SPDX-License-Identifier: GPL-2.0-only 8 // Options: --no-includes --include-headers 24 expression E, E1, size; 35 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 41 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) 45 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 48 ... when != E = E1 51 * if (E == NULL)@p { 53 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) 71 expression E; [all …]
|
| /kernel/linux/linux-5.10/scripts/coccinelle/api/ |
| D | kvmalloc.cocci | 1 // SPDX-License-Identifier: GPL-2.0-only 8 // Options: --no-includes --include-headers 24 expression E, E1, size; 35 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 41 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) 45 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 48 ... when != E = E1 51 * if (E == NULL)@p { 53 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) 71 expression E; [all …]
|
| /kernel/linux/linux-6.6/arch/alpha/lib/ |
| D | ev6-memcpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memcpy.S 4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com> 8 * - memory accessed as aligned quadwords only 9 * - uses bcmpge to compare 8 bytes in parallel 14 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 16 * E - either cluster 17 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 18 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 21 * $1,$2, - scratch [all …]
|
| D | ev6-memchr.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memchr.S 5 * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> 9 * - memory accessed as aligned quadwords only 10 * - uses cmpbge to compare 8 bytes in parallel 11 * - does binary search to find 0 byte in last 18 * - only minimum number of quadwords may be accessed 19 * - the third argument is an unsigned long 24 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 26 * E - either cluster [all …]
|
| /kernel/linux/linux-5.10/arch/alpha/lib/ |
| D | ev6-memcpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memcpy.S 4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com> 8 * - memory accessed as aligned quadwords only 9 * - uses bcmpge to compare 8 bytes in parallel 14 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 16 * E - either cluster 17 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 18 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 21 * $1,$2, - scratch [all …]
|
| D | ev6-memchr.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memchr.S 5 * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> 9 * - memory accessed as aligned quadwords only 10 * - uses cmpbge to compare 8 bytes in parallel 11 * - does binary search to find 0 byte in last 18 * - only minimum number of quadwords may be accessed 19 * - the third argument is an unsigned long 24 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 26 * E - either cluster [all …]
|
| /kernel/linux/linux-6.6/scripts/coccinelle/null/ |
| D | badzero.cocci | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /// Compare pointer-typed values to NULL rather than 0 7 //# using the option -all_includes and the option -I to specify an 27 expression *E; 32 (E = f(...)) == 33 - 0 36 (E = f(...)) != 37 - 0 40 - 0 42 == (E = f(...)) [all …]
|
| /kernel/linux/linux-5.10/scripts/coccinelle/null/ |
| D | badzero.cocci | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /// Compare pointer-typed values to NULL rather than 0 7 //# using the option -all_includes and the option -I to specify an 27 expression *E; 32 (E = f(...)) == 33 - 0 36 (E = f(...)) != 37 - 0 40 - 0 42 == (E = f(...)) [all …]
|
| /kernel/linux/linux-6.6/block/ |
| D | elevator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Block device elevator/IO-scheduler. 11 * - elevator_fn, inserts a new request in the queue list 12 * - elevator_merge_fn, decides whether a new buffer can be merged with 14 * - elevator_dequeue_fn, called when a request is taken off the active list 17 * Removed tests for max-bomb-segments, which was breaking elvtune 18 * when run without -bN 21 * - Rework again to work with bio instead of buffer_heads 22 * - loose bi_dev comparisons, partition handling is right now 23 * - completely modularize elevator setup and teardown [all …]
|
| /kernel/linux/linux-6.6/ |
| D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 6 snail-mail address (S). 10 ---------- 13 E: mpm@selenic.com 17 E: mea@nic.funet.fi 24 E: thomas.ab@samsung.com 28 E: dragos@iname.com 36 E: madler@alumni.caltech.edu 41 E: magrawal@nortelnetworks.com [all …]
|
| /kernel/linux/linux-5.10/ |
| D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 6 snail-mail address (S). 10 ---------- 13 E: mpm@selenic.com 17 E: mea@nic.funet.fi 24 E: thomas.ab@samsung.com 28 E: dragos@iname.com 36 E: madler@alumni.caltech.edu 41 E: magrawal@nortelnetworks.com [all …]
|