/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
D | smt.c | 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 53 s->smt_size = smt_size; in t4_init_smt() 54 rwlock_init(&s->lock); in t4_init_smt() 55 for (i = 0; i < s->smt_size; ++i) { in t4_init_smt() 56 s->smtab[i].idx = i; in t4_init_smt() 57 s->smtab[i].state = SMT_STATE_UNUSED; in t4_init_smt() 58 eth_zero_addr(s->smtab[i].src_mac); in t4_init_smt() 59 spin_lock_init(&s->smtab[i].lock); in t4_init_smt() 60 s->smtab[i].refcnt = 0; in t4_init_smt() [all …]
|
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
D | policy_unpack.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 1998-2008 Novell/SUSE 9 * Copyright 2009-2010 Canonical Ltd. 12 * policy format documentation see Documentation/admin-guide/LSM/apparmor.rst 38 if (aad(sa)->iface.ns) { in audit_cb() 40 audit_log_untrustedstring(ab, aad(sa)->iface.ns); in audit_cb() 42 if (aad(sa)->name) { in audit_cb() 44 audit_log_untrustedstring(ab, aad(sa)->name); in audit_cb() 46 if (aad(sa)->iface.pos) in audit_cb() 47 audit_log_format(ab, " offset=%ld", aad(sa)->iface.pos); in audit_cb() [all …]
|
/Linux-v6.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 …]
|
D | kfree_mismatch.cocci | 1 // SPDX-License-Identifier: GPL-2.0-only 9 // Options: --no-includes --include-headers 18 expression E, E1; 25 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\| 31 E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\| 38 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 40 ... when != E = E1 42 if (E == NULL) { 44 E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\| 53 expression E; [all …]
|
/Linux-v6.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 …]
|
D | ev6-memset.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-memset.S 8 * 21264 version contributed by Rick Gorton <rick.gorton@alpha-processor.com> 13 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 15 * E - either cluster 16 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 17 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 48 * undertake a major re-write to interleave the constant materialization 49 * with other parts of the fall-through code. This is important, even 53 and $17,255,$1 # E : 00000000000000ch [all …]
|
D | ev67-strrchr.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev67-strrchr.S 4 * 21264 version by Rick Gorton <rick.gorton@alpha-processor.com> 6 * Finds length of a 0-terminated string. Optimized for the 9 * - memory accessed as aligned quadwords only 10 * - uses bcmpge to compare 8 bytes in parallel 15 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 17 * E - either cluster 18 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 19 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 [all …]
|
D | ev6-stxncpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-stxncpy.S 4 * 21264 version contributed by Rick Gorton <rick.gorton@api-networks.com> 6 * Copy no more than COUNT bytes of the null-terminated string from 29 * Furthermore, v0, a3-a5, t11, and $at are untouched. 34 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 36 * E - either cluster 37 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 38 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 66 lda t2, -1 # E : build a mask against false zero [all …]
|
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
/Linux-v6.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 …]
|
/Linux-v6.6/drivers/md/ |
D | dm-cache-policy-smq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include "dm-cache-background-tracker.h" 9 #include "dm-cache-policy-internal.h" 10 #include "dm-cache-policy.h" 20 #define DM_MSG_PREFIX "cache-policy-smq" 22 /*----------------------------------------------------------------*/ 37 /*----------------------------------------------------------------*/ 52 /*----------------------------------------------------------------*/ 54 #define INDEXER_NULL ((1u << 28u) - 1u) 69 es->begin = es->end = NULL; in space_init() [all …]
|
/Linux-v6.6/Documentation/driver-api/media/drivers/ccs/ |
D | ccs-regs.asc | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 2 # Copyright (C) 2019--2020 Intel Corporation 5 # - f field LSB MSB rflags 6 # - e enum value # after a field 7 # - e enum value [LSB MSB] 8 # - b bool bit 9 # - l arg name min max elsize [discontig...] 23 - e GRBG 0 24 - e RGGB 1 25 - e BGGR 2 [all …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | indir_table.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 20 #define MLX5_ESW_INDIR_TABLE_RECIRC_IDX (MLX5_ESW_INDIR_TABLE_SIZE - 2) 21 #define MLX5_ESW_INDIR_TABLE_FWD_IDX (MLX5_ESW_INDIR_TABLE_SIZE - 1) 52 return ERR_PTR(-ENOMEM); in mlx5_esw_indir_table_init() 54 mutex_init(&indir->lock); in mlx5_esw_indir_table_init() 55 hash_init(indir->table); in mlx5_esw_indir_table_init() 62 mutex_destroy(&indir->lock); in mlx5_esw_indir_table_destroy() 72 struct mlx5_esw_flow_attr *esw_attr = attr->esw_attr; in mlx5_esw_indir_table_needed() 81 return esw_attr->in_rep->vport == MLX5_VPORT_UPLINK && in mlx5_esw_indir_table_needed() 83 esw->dev == dest_mdev && in mlx5_esw_indir_table_needed() [all …]
|
/Linux-v6.6/drivers/media/test-drivers/vidtv/ |
D | vidtv_s302m.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <linux/fixp-arith.h> 156 while (head->next) in vidtv_s302m_access_unit_init() 157 head = head->next; in vidtv_s302m_access_unit_init() 159 head->next = au; in vidtv_s302m_access_unit_init() 165 static void vidtv_s302m_access_unit_destroy(struct vidtv_encoder *e) in vidtv_s302m_access_unit_destroy() argument 167 struct vidtv_access_unit *head = e->access_units; in vidtv_s302m_access_unit_destroy() 172 head = head->next; in vidtv_s302m_access_unit_destroy() 176 e->access_units = NULL; in vidtv_s302m_access_unit_destroy() 179 static void vidtv_s302m_alloc_au(struct vidtv_encoder *e) in vidtv_s302m_alloc_au() argument [all …]
|
/Linux-v6.6/fs/ |
D | binfmt_misc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * a specified wrapper. See Documentation/admin-guide/binfmt-misc.rst for more details. 72 * - 7 delimiters 73 * - name: ~50 bytes 74 * - type: 1 byte 75 * - offset: 3 bytes (has to be smaller than BINPRM_BUF_SIZE) 76 * - magic: 128 bytes (512 in escaped form) 77 * - mask: 128 bytes (512 in escaped form) 78 * - interp: ~50 bytes 79 * - flags: 5 bytes [all …]
|
/Linux-v6.6/tools/testing/selftests/powerpc/pmu/ebb/ |
D | trace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in trace_buffer_allocate() 31 tb->size = size; in trace_buffer_allocate() 32 tb->tail = tb->data; in trace_buffer_allocate() 33 tb->overflow = false; in trace_buffer_allocate() 40 return p < ((void *)tb + tb->size); in trace_check_bounds() 51 if (tb->overflow) in trace_check_alloc() 55 tb->overflow = true; in trace_check_alloc() 66 p = tb->tail; in trace_alloc() 67 newtail = tb->tail + bytes; in trace_alloc() [all …]
|