| /OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | tc_restrictions.sh | 2 # 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ |
| H A D | inftlmount.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/ |
| H A D | tc_shblocks.sh | 2 # 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 …]
|
| /OK3568_Linux_fs/kernel/fs/freevxfs/ |
| H A D | vxfs_bmap.c | 2 * 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 …]
|
| H A D | vxfs_subr.c | 2 * 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 …]
|
| /OK3568_Linux_fs/kernel/fs/gfs2/ |
| H A D | rgrp.c | 1 // 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 …]
|
| H A D | bmap.c | 1 // 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 …]
|
| H A D | rgrp.h | 1 /* 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. 13 /* Since each block in the file system is represented by two bits in the 14 * bitmap, one 64-bit word in the bitmap will represent 32 blocks. 37 extern struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip); 40 extern int gfs2_inplace_reserve(struct gfs2_inode *ip, 42 extern void gfs2_inplace_release(struct gfs2_inode *ip); 44 extern int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *n, 48 extern void gfs2_rs_delete(struct gfs2_inode *ip); [all …]
|
| H A D | dir.c | 1 // 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. 14 * within a single block. The field de_name_len is the number of bytes 17 * dirent in the block is (dirent + dirent->de_rec_len). When a dirent is 19 * prev->de_rec_len += deleted->de_rec_len. Since the next dirent is obtained 23 * When deleting the first dirent in a block, there is no previous dirent so 25 * a dirent, gfs2_dirent_alloc iterates through the dirents in a block. If the 33 * the block. In leaves, they begin at offset sizeof(struct gfs2_leaf) from the 34 * beginning of the leaf block. The dirents reside in leaves when [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | xfrm_policy.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # ns1 ---- ns3 ----- ns4 ---- ns2 21 # Kselftest framework requirement - SKIP code is 4. 39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu… 41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu… 53 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 … 54 …ip -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 …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_bmap.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A D | xfs_reflink.c | 1 // 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 …]
|
| H A D | xfs_bmap_util.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 35 * Convert the given file system block to a disk block. We have to treat it 40 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument 42 if (XFS_IS_REALTIME_INODE(ip)) in xfs_fsb_to_db() 43 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db() 44 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db() 50 * The VFS functions take a linearised filesystem block offset, so we have to 56 struct xfs_inode *ip, in xfs_zero_extent() argument 60 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/crypto/ |
| H A D | aes-ce-core.S | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 tristate "Rockchip CSI2 D-PHY Driver" 32 will be called phy-rockchip-dphy-rx0. 66 Support for Rockchip USB2.0 PHY with Innosilicon IP block. 74 Support for Rockchip USB 3.0 PHY with Innosilicon IP block. 83 Innosilicon IP block. 86 tristate "Rockchip MIPI RX D-PHY Driver" 92 Enable this to support the Rockchip MIPI D-PHY with Synopsys or Innosilicon IP block. 100 combo PHY with NaNeng IP block. 107 Support for Rockchip eDP Transmitter PHY with Naneng IP block. [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/lib/ |
| H A D | memmove.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 30 subs ip, r0, r1 31 cmphi r2, ip 38 UNWIND( .save {r0, r4, lr} ) @ in first stmfd block 43 ands ip, r0, #3 44 PLD( pld [r1, #-4] ) 46 ands ip, r1, #3 50 stmfd sp!, {r5 - r8} 55 UNWIND( .save {r5 - r8} ) @ in second stmfd block 58 CALGN( ands ip, r0, #31 ) [all …]
|
| H A D | copy_template.S | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/networking/dsa/ |
| H A D | configuration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 .. _dsa-config-showcases: 13 ----------------------- 61 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3) 62 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7) 63 * lan3: 192.0.2.9/30 (192.0.2.8 - 192.0.2.11) 66 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255) 69 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255) 70 * wan: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3) 72 .. _dsa-tagged-configuration: [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/include/ |
| H A D | amd_shared.h | 52 * DOC: IP Blocks 54 * GPUs are composed of IP (intellectual property) blocks. These 55 * IP blocks provide various functionalities: display, graphics, 56 * video decode, etc. The IP blocks that comprise a particular GPU 58 * acquires the list of IP blocks for the GPU in use on initialization. 63 * IP block implementations are named using the following convention: 68 * enum amd_ip_block_type - Used to classify IP blocks by functionality. 80 * @AMD_IP_BLOCK_TYPE_ACP: Audio Co-Processor 82 * @AMD_IP_BLOCK_TYPE_MES: Micro-Engine Scheduler 167 * enum PP_FEATURE_MASK - Used to mask power play features. [all …]
|
| /OK3568_Linux_fs/kernel/fs/xfs/scrub/ |
| H A D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0+ 26 struct xfs_inode *ip) in xchk_setup_directory() argument 28 return xchk_setup_inode_contents(sc, ip, 0); in xchk_setup_directory() 36 /* VFS fill-directory iterator */ 50 struct xfs_mount *mp = sdc->sc->mp; in xchk_dir_check_ftype() 51 struct xfs_inode *ip; in xchk_dir_check_ftype() local 55 if (!xfs_sb_version_hasftype(&mp->m_sb)) { in xchk_dir_check_ftype() 57 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_check_ftype() 70 error = xfs_iget(mp, sdc->sc->tp, inum, 0, 0, &ip); in xchk_dir_check_ftype() 71 if (!xchk_fblock_xref_process_error(sdc->sc, XFS_DATA_FORK, offset, in xchk_dir_check_ftype() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sifive/ |
| H A D | sifive-blocks-ip-versioning.txt | 1 DT compatible string versioning for SiFive open-source IP blocks 4 strings for open-source SiFive IP blocks. HDL for these IP blocks 7 https://github.com/sifive/sifive-blocks 9 IP block-specific DT compatible strings are contained within the HDL, 10 in the form "sifive,<ip-block-name><integer version number>". 14 https://github.com/sifive/sifive-blocks/blob/v1.0/src/main/scala/devices/uart/UART.scala#L43 16 Until these IP blocks (or IP integration) support version 17 auto-discovery, the maintainers of these IP blocks intend to increment 19 interface to these IP blocks changes, or when the functionality of the 20 underlying IP blocks changes in a way that software should be aware of. [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | ima_rw.c | 1 /* libSoX ima_rw.c -- codex utilities for WAV_FORMAT_IMA_ADPCM 16 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 44 #define imaStateAdjust(c) (((c)<4)? -1:(2*(c)-6)) 45 /* +0 - +3, decrease step size */ 46 /* +4 - +7, increase step size */ 47 /* -0 - -3, decrease step size */ 48 /* -4 - -7, increase step size */ 74 const unsigned char *ip; in ImaExpandS() local 79 ip = ibuff + 4*ch; /* input pointer to 4-byte block state-initializer */ in ImaExpandS() 80 i_inc = 4*(chans-1); /* amount by which to incr ip after each 4-byte read */ in ImaExpandS() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/nfs/ |
| H A D | nfs-rdma.rst | 29 nfs-rdma-devel@lists.sourceforge.net mailing list. 37 - Install an RDMA device 41 Testing has been performed using several Mellanox-based IB cards, the 44 - Install a Linux distribution and tools 53 - Install nfs-utils-1.1.2 or greater on the client 56 nfs-utils-1.1.2 or greater (nfs-utils-1.1.1 was the first nfs-utils 58 recommend using nfs-utils-1.1.2 or greater). To see which version of 61 .. code-block:: sh 63 $ /sbin/mount.nfs -V 66 you should install the latest version of nfs-utils. [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/phy/ |
| H A D | Kconfig | 13 PHYs are commonly used for high speed interfaces such as Serial-ATA 29 PHYs are commonly used for high speed interfaces such as Serial-ATA 48 Support for a no-op PHY driver (stubbed PHY driver). 57 Support for a no-op PHY driver (stubbed PHY driver) in the SPL. 67 Support for Rockchip USB 2.0 PHY with Innosilicon IP block. 81 Support for Rockchip USB 2.0 PHY with Naneng IP block. 88 Support for Rockchip USB 3.0 PHY with Innosilicon IP block. 95 Support for Rockchip eDP Transmitter PHY with Naneng IP block. 102 Support for Rockchip HDMI/DP Combo PHY with Samsung IP block. 109 Support for Rockchip PCIe3 PHY with Synopsys IP block. [all …]
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | jfs_extent.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 57 * ip - the inode of the file. 58 * xlen - requested extent length. 59 * pno - the starting page number with the file. 60 * xp - pointer to an xad. on entry, xad describes an 62 * xaddr of the xad is non-zero. on successful exit, 64 * abnr - bool indicating whether the newly allocated extent 68 * 0 - success 69 * -EIO - i/o error. [all …]
|