Home
last modified time | relevance | path

Searched +full:ip +full:- +full:block (Results 1 – 25 of 1034) sorted by relevance

12345678910>>...42

/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh2 # SPDX-License-Identifier: GPL-2.0
41 # It is forbidden in mlxsw driver to have mixed-bound
42 # shared block with a drop rule.
45 check_err $? "Failed to create clsact with ingress block"
47 tc filter add block 22 protocol ip pref 1 handle 101 flower \
49 check_err $? "Failed to add drop rule to ingress bound block"
52 check_err $? "Failed to create another clsact with ingress shared block"
57 check_fail $? "Incorrect success to create another clsact with egress shared block"
59 tc filter del block 22 protocol ip pref 1 handle 101 flower
62 …check_err $? "Failed to create another clsact with egress shared block after blocker drop rule rem…
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Dtc_restrictions.sh2 # SPDX-License-Identifier: GPL-2.0
38 # It is forbidden in mlxsw driver to have mixed-bound
39 # shared block with a drop rule.
42 check_err $? "Failed to create clsact with ingress block"
44 tc filter add block 22 protocol ip pref 1 handle 101 flower \
46 check_err $? "Failed to add drop rule to ingress bound block"
49 check_err $? "Failed to create another clsact with ingress shared block"
54 check_fail $? "Incorrect success to create another clsact with egress shared block"
56 tc filter del block 22 protocol ip pref 1 handle 101 flower
59 …check_err $? "Failed to create another clsact with egress shared block after blocker drop rule rem…
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dtc_shblocks.sh2 # SPDX-License-Identifier: GPL-2.0
53 tc filter add block 22 protocol ip pref 1 handle 101 flower \
56 $MZ $h1 -c 1 -p 64 -a $h1mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
57 -t ip -q
59 tc_check_packets "block 22" 101 1
60 check_err $? "Did not match first incoming packet on a block"
62 $MZ $h2 -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
63 -t ip -q
65 tc_check_packets "block 22" 101 2
66 check_err $? "Did not match second incoming packet on a block"
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dtc_shblocks.sh2 # SPDX-License-Identifier: GPL-2.0
53 tc filter add block 22 protocol ip pref 1 handle 101 flower \
56 $MZ $h1 -c 1 -p 64 -a $h1mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
57 -t ip -q
59 tc_check_packets "block 22" 101 1
60 check_err $? "Did not match first incoming packet on a block"
62 $MZ $h2 -c 1 -p 64 -a $h2mac -b $swmac -A 192.0.2.1 -B 192.0.2.2 \
63 -t ip -q
65 tc_check_packets "block 22" 101 2
66 check_err $? "Did not match second incoming packet on a block"
[all …]
/kernel/linux/linux-6.6/fs/freevxfs/
Dvxfs_bmap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2000-2001 Christoph Hellwig.
7 * Veritas filesystem driver - filesystem to disk block mapping.
22 printk(KERN_DEBUG "type=%Lu ", typ->vt_hdr >> VXFS_TYPED_TYPESHIFT); in vxfs_typdump()
23 printk("offset=%Lx ", typ->vt_hdr & VXFS_TYPED_OFFSETMASK); in vxfs_typdump()
24 printk("block=%x ", typ->vt_block); in vxfs_typdump()
25 printk("size=%x\n", typ->vt_size); in vxfs_typdump()
30 * vxfs_bmap_ext4 - do bmap for ext4 extents
31 * @ip: pointer to the inode we do bmap for
32 * @iblock: logical block.
[all …]
Dvxfs_subr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2000-2001 Christoph Hellwig.
7 * Veritas filesystem driver - shared subroutines.
33 * vxfs_get_page - read a page into memory.
38 * vxfs_get_page reads the @n th page of @ip into the pagecache.
60 * vxfs_bread - read buffer for a give inode,block tuple
61 * @ip: inode
62 * @block: logical block
65 * The vxfs_bread function reads block no @block of
66 * @ip into the buffercache.
[all …]
/kernel/linux/linux-5.10/fs/freevxfs/
Dvxfs_bmap.c2 * Copyright (c) 2000-2001 Christoph Hellwig.
31 * Veritas filesystem driver - filesystem to disk block mapping.
46 printk(KERN_DEBUG "type=%Lu ", typ->vt_hdr >> VXFS_TYPED_TYPESHIFT); in vxfs_typdump()
47 printk("offset=%Lx ", typ->vt_hdr & VXFS_TYPED_OFFSETMASK); in vxfs_typdump()
48 printk("block=%x ", typ->vt_block); in vxfs_typdump()
49 printk("size=%x\n", typ->vt_size); in vxfs_typdump()
54 * vxfs_bmap_ext4 - do bmap for ext4 extents
55 * @ip: pointer to the inode we do bmap for
56 * @iblock: logical block.
60 * ext4-style extents (which are much like the traditional UNIX
[all …]
Dvxfs_subr.c2 * Copyright (c) 2000-2001 Christoph Hellwig.
31 * Veritas filesystem driver - shared subroutines.
57 * vxfs_get_page - read a page into memory.
58 * @ip: inode to read from
62 * vxfs_get_page reads the @n th page of @ip into the pagecache.
86 return ERR_PTR(-EIO); in vxfs_get_page()
90 * vxfs_bread - read buffer for a give inode,block tuple
91 * @ip: inode
92 * @block: logical block
95 * The vxfs_bread function reads block no @block of
[all …]
/kernel/linux/linux-5.10/drivers/mtd/
Dinftlmount.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * inftlmount.c -- INFTL mount code with extensive checks.
6 * Copyright © 2002-2003, Greg Ungerer (gerg@snapgear.com)
35 unsigned int i, block; in find_boot_record() local
37 struct INFTLMediaHeader *mh = &inftl->MediaHdr; in find_boot_record()
38 struct mtd_info *mtd = inftl->mbd.mtd; in find_boot_record()
39 struct INFTLPartition *ip; in find_boot_record() local
49 inftl->EraseSize = inftl->mbd.mtd->erasesize; in find_boot_record()
50 inftl->nb_blocks = (u32)inftl->mbd.mtd->size / inftl->EraseSize; in find_boot_record()
52 inftl->MediaUnit = BLOCK_NIL; in find_boot_record()
[all …]
/kernel/linux/linux-6.6/drivers/mtd/
Dinftlmount.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * inftlmount.c -- INFTL mount code with extensive checks.
6 * Copyright © 2002-2003, Greg Ungerer (gerg@snapgear.com)
35 unsigned int i, block; in find_boot_record() local
37 struct INFTLMediaHeader *mh = &inftl->MediaHdr; in find_boot_record()
38 struct mtd_info *mtd = inftl->mbd.mtd; in find_boot_record()
39 struct INFTLPartition *ip; in find_boot_record() local
49 inftl->EraseSize = inftl->mbd.mtd->erasesize; in find_boot_record()
50 inftl->nb_blocks = (u32)inftl->mbd.mtd->size / inftl->EraseSize; in find_boot_record()
52 inftl->MediaUnit = BLOCK_NIL; in find_boot_record()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dxfrm_policy.sh2 # SPDX-License-Identifier: GPL-2.0
8 # ns1 ---- ns3 ----- ns4 ---- ns2
21 # Kselftest framework requirement - SKIP code is 4.
39ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
41ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
53ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 …
54ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 …
61 # re-built.
76 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
79 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dxfrm_policy.sh2 # SPDX-License-Identifier: GPL-2.0
8 # ns1 ---- ns3 ----- ns4 ---- ns2
21 # Kselftest framework requirement - SKIP code is 4.
39ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
41ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
53ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 …
54ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 …
61 # re-built.
76 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
79 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
[all …]
/kernel/linux/linux-5.10/fs/gfs2/
Drgrp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
41 * to keep track of block allocation. Each block is represented by two
64 const struct gfs2_inode *ip, bool nowrap);
68 * gfs2_setbit - Set a bit in the bitmaps
71 * @new_state: the new state of the block
80 unsigned int buflen = bi->bi_bytes; in gfs2_setbit()
81 const unsigned int bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE; in gfs2_setbit()
83 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()
[all …]
Dbmap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
33 * block is 512, so __u16 is fine for that. It saves stack space to
43 static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length);
46 * gfs2_unstuffer_page - unstuff a stuffed inode into a block cached by a page
47 * @ip: the inode
49 * @block: the block number that was allocated
55 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() argument
56 u64 block, struct page *page) in gfs2_unstuffer_page() argument
[all …]
/kernel/linux/linux-6.6/fs/gfs2/
Drgrp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
47 return rbm->rgd->rd_bits + rbm->bii; in rbm_bi()
52 BUG_ON(rbm->offset >= rbm->rgd->rd_data); in gfs2_rbm_to_block()
53 return rbm->rgd->rd_data0 + (rbm_bi(rbm)->bi_start * GFS2_NBBY) + in gfs2_rbm_to_block()
54 rbm->offset; in gfs2_rbm_to_block()
59 * to keep track of block allocation. Each block is represented by two
86 * gfs2_setbit - Set a bit in the bitmaps
89 * @new_state: the new state of the block
[all …]
Dbmap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
33 * block is 512, so __u16 is fine for that. It saves stack space to
43 static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length);
46 * gfs2_unstuffer_page - unstuff a stuffed inode into a block cached by a page
47 * @ip: the inode
49 * @block: the block number that was allocated
55 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() argument
56 u64 block, struct page *page) in gfs2_unstuffer_page() argument
[all …]
/kernel/linux/linux-5.10/arch/arm/lib/
Dmemmove.S1 /* SPDX-License-Identifier: GPL-2.0-only */
31 subs ip, r0, r1
32 cmphi r2, ip
39 UNWIND( .save {r0, r4, lr} ) @ in first stmfd block
44 ands ip, r0, #3
45 PLD( pld [r1, #-4] )
47 ands ip, r1, #3
51 stmfd sp!, {r5 - r8}
56 UNWIND( .save {r5 - r8} ) @ in second stmfd block
59 CALGN( ands ip, r0, #31 )
[all …]
Dcopy_template.S1 /* SPDX-License-Identifier: GPL-2.0-only */
14 * -------------------
67 * Correction to be applied to the "ip" register when branching into
69 * than one 32bit instruction in Thumb-2)
78 usave r4, lr @ in first stmdb block
82 ands ip, r0, #3
85 ands ip, r1, #3
89 stmfd sp!, {r5 - r8}
94 UNWIND( .save {r5 - r8} ) @ in second stmfd block
97 CALGN( ands ip, r0, #31 )
[all …]
/kernel/linux/linux-5.10/arch/arm/crypto/
Daes-ce-core.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * aes-ce-core.S - AES in CBC/CTR/XTS mode using ARMv8 Crypto Extensions
12 .arch armv8-a
13 .fpu crypto-neon-fp-armv8
102 vld1.32 {q10-q11}, [ip]!
104 vld1.32 {q12-q13}, [ip]!
106 vld1.32 {q10-q11}, [ip]!
108 vld1.32 {q12-q13}, [ip]!
110 blo 0f @ AES-128: 10 rounds
111 vld1.32 {q10-q11}, [ip]!
[all …]
/kernel/linux/linux-6.6/arch/arm/crypto/
Daes-ce-core.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * aes-ce-core.S - AES in CBC/CTR/XTS mode using ARMv8 Crypto Extensions
12 .arch armv8-a
13 .fpu crypto-neon-fp-armv8
102 vld1.32 {q10-q11}, [ip]!
104 vld1.32 {q12-q13}, [ip]!
106 vld1.32 {q10-q11}, [ip]!
108 vld1.32 {q12-q13}, [ip]!
110 blo 0f @ AES-128: 10 rounds
111 vld1.32 {q10-q11}, [ip]!
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_reflink.c1 // SPDX-License-Identifier: GPL-2.0+
39 * through the use of a copy-on-write mechanism. At a high level, that
40 * means that when we want to write to a shared block, we allocate a new
41 * block, write the data to the new block, and if that succeeds we map the
42 * new block into the file.
45 * of disk blocks to dirty-but-not-yet-mapped file blocks as long as
49 * The delalloc mechanism begins when the kernel wants to make a block
51 * create a delalloc mapping, which is a regular in-core extent, but without
53 * a flag that this is a delalloc mapping, and a worst-case estimate of how
63 * D: --RRRRRRSSSRRRRRRRR--- (data fork)
[all …]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
Dxfs_bmap.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2006 Silicon Graphics, Inc.
58 int maxrootrecs; /* max records in root block */ in xfs_bmap_compute_maxlevels()
59 int minleafrecs; /* min records in leaf block */ in xfs_bmap_compute_maxlevels()
60 int minnoderecs; /* min records in node block */ in xfs_bmap_compute_maxlevels()
61 int sz; /* root block size */ in xfs_bmap_compute_maxlevels()
65 * leaf entries, is controlled by the size of the on-disk extent count. in xfs_bmap_compute_maxlevels()
69 * (xfs_default_attroffset(ip) >> 3) because we could have mounted with in xfs_bmap_compute_maxlevels()
83 minleafrecs = mp->m_bmap_dmnr[0]; in xfs_bmap_compute_maxlevels()
84 minnoderecs = mp->m_bmap_dmnr[1]; in xfs_bmap_compute_maxlevels()
[all …]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_bmap.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2006 Silicon Graphics, Inc.
58 int maxrootrecs; /* max records in root block */ in xfs_bmap_compute_maxlevels()
59 int minleafrecs; /* min records in leaf block */ in xfs_bmap_compute_maxlevels()
60 int minnoderecs; /* min records in node block */ in xfs_bmap_compute_maxlevels()
61 int sz; /* root block size */ in xfs_bmap_compute_maxlevels()
65 * leaf entries, is controlled by the size of the on-disk extent count, in xfs_bmap_compute_maxlevels()
66 * either a signed 32-bit number for the data fork, or a signed 16-bit in xfs_bmap_compute_maxlevels()
71 * (xfs_default_attroffset(ip) >> 3) because we could have mounted in xfs_bmap_compute_maxlevels()
85 minleafrecs = mp->m_bmap_dmnr[0]; in xfs_bmap_compute_maxlevels()
[all …]
/kernel/linux/linux-6.6/Documentation/networking/dsa/
Dconfiguration.rst1 .. SPDX-License-Identifier: GPL-2.0
10 .. _dsa-config-showcases:
13 -----------------------
42 - when a DSA slave interface is brought up, the master interface is
44 - when the master interface is brought down, all DSA slave 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 …]
/kernel/linux/linux-6.6/fs/xfs/
Dxfs_reflink.c1 // SPDX-License-Identifier: GPL-2.0+
39 * through the use of a copy-on-write mechanism. At a high level, that
40 * means that when we want to write to a shared block, we allocate a new
41 * block, write the data to the new block, and if that succeeds we map the
42 * new block into the file.
45 * of disk blocks to dirty-but-not-yet-mapped file blocks as long as
49 * The delalloc mechanism begins when the kernel wants to make a block
51 * create a delalloc mapping, which is a regular in-core extent, but without
53 * a flag that this is a delalloc mapping, and a worst-case estimate of how
63 * D: --RRRRRRSSSRRRRRRRR--- (data fork)
[all …]

12345678910>>...42