| /kernel/linux/linux-5.10/fs/jfs/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sifive/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sifive/ |
| 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 …]
|
| /kernel/linux/linux-6.6/fs/jfs/ |
| D | jfs_extent.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 54 * ip - the inode of the file. 55 * xlen - requested extent length. 56 * pno - the starting page number with the file. 57 * xp - pointer to an xad. on entry, xad describes an 59 * xaddr of the xad is non-zero. on successful exit, 61 * abnr - bool indicating whether the newly allocated extent 65 * 0 - success 66 * -EIO - i/o error. [all …]
|
| /kernel/linux/linux-5.10/fs/xfs/ |
| D | xfs_reflink.c | 1 // SPDX-License-Identifier: GPL-2.0+ 34 * Copy on Write of Shared Blocks 37 * the same physical blocks. This means that a write to one file must not 38 * alter the blocks in a different file; the way that we'll do that is 39 * through the use of a copy-on-write mechanism. At a high level, that 45 * of disk blocks to dirty-but-not-yet-mapped file blocks as long as 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 54 * many blocks might be required to put the mapping into the BMBT.) delalloc 63 * D: --RRRRRRSSSRRRRRRRR--- (data fork) [all …]
|
| D | xfs_bmap_util.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 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() 56 struct xfs_inode *ip, in xfs_zero_extent() argument 60 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent() 61 struct xfs_buftarg *target = xfs_inode_buftarg(ip); in xfs_zero_extent() 62 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb); in xfs_zero_extent() [all …]
|
| D | xfs_aops.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 * Copyright (c) 2016-2018 Christoph Hellwig. 34 * Fast and loose check if this write could update the on-disk inode size. 38 return ioend->io_offset + ioend->io_size > in xfs_ioend_is_append() 39 XFS_I(ioend->io_inode)->i_d.di_size; in xfs_ioend_is_append() 43 * Update on-disk file size now that data has been written to disk. 47 struct xfs_inode *ip, in __xfs_setfilesize() argument 54 xfs_ilock(ip, XFS_ILOCK_EXCL); in __xfs_setfilesize() 55 isize = xfs_new_eof(ip, offset + size); in __xfs_setfilesize() [all …]
|
| /kernel/linux/linux-6.6/fs/xfs/ |
| D | xfs_reflink.c | 1 // SPDX-License-Identifier: GPL-2.0+ 34 * Copy on Write of Shared Blocks 37 * the same physical blocks. This means that a write to one file must not 38 * alter the blocks in a different file; the way that we'll do that is 39 * through the use of a copy-on-write mechanism. At a high level, that 45 * of disk blocks to dirty-but-not-yet-mapped file blocks as long as 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 54 * many blocks might be required to put the mapping into the BMBT.) delalloc 63 * D: --RRRRRRSSSRRRRRRRR--- (data fork) [all …]
|
| D | xfs_aops.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 * Copyright (c) 2016-2018 Christoph Hellwig. 36 * Fast and loose check if this write could update the on-disk inode size. 40 return ioend->io_offset + ioend->io_size > in xfs_ioend_is_append() 41 XFS_I(ioend->io_inode)->i_disk_size; in xfs_ioend_is_append() 45 * Update on-disk file size now that data has been written to disk. 49 struct xfs_inode *ip, in xfs_setfilesize() argument 53 struct xfs_mount *mp = ip->i_mount; in xfs_setfilesize() 58 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize() [all …]
|
| D | xfs_bmap_util.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 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() 56 struct xfs_inode *ip, in xfs_zero_extent() argument 60 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent() 61 struct xfs_buftarg *target = xfs_inode_buftarg(ip); in xfs_zero_extent() 62 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb); in xfs_zero_extent() [all …]
|
| D | xfs_quota.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 27 #define XFS_NOT_DQATTACHED(mp, ip) \ argument 28 ((XFS_IS_UQUOTA_ON(mp) && (ip)->i_udquot == NULL) || \ 29 (XFS_IS_GQUOTA_ON(mp) && (ip)->i_gdquot == NULL) || \ 30 (XFS_IS_PQUOTA_ON(mp) && (ip)->i_pdquot == NULL)) 34 (mp->m_sb.sb_qflags & XFS_UQUOTA_CHKD) == 0) || \ 36 (mp->m_sb.sb_qflags & XFS_GQUOTA_CHKD) == 0) || \ 38 (mp->m_sb.sb_qflags & XFS_PQUOTA_CHKD) == 0)) 84 int xfs_trans_reserve_quota_nblks(struct xfs_trans *tp, struct xfs_inode *ip, [all …]
|
| /kernel/linux/linux-6.6/fs/gfs2/ |
| 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. 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 55 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() argument 58 struct inode *inode = &ip->i_inode; in gfs2_unstuffer_page() 64 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in gfs2_unstuffer_page() 65 memset(kaddr + dsize, 0, PAGE_SIZE - dsize); in gfs2_unstuffer_page() [all …]
|
| 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. 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() 60 * bits. So, each byte represents GFS2_NBBY (i.e. 4) blocks. 86 * gfs2_setbit - Set a bit in the bitmaps 98 unsigned int buflen = bi->bi_bytes; in gfs2_setbit() [all …]
|
| /kernel/linux/linux-5.10/fs/gfs2/ |
| 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. 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 55 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() argument 58 struct inode *inode = &ip->i_inode; in gfs2_unstuffer_page() 61 if (!page || page->index) { in gfs2_unstuffer_page() 62 page = find_or_create_page(inode->i_mapping, 0, GFP_NOFS); in gfs2_unstuffer_page() [all …]
|
| 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. 42 * bits. So, each byte represents GFS2_NBBY (i.e. 4) blocks. 64 const struct gfs2_inode *ip, bool nowrap); 68 * gfs2_setbit - Set a bit in the bitmaps 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() 84 end = bi->bi_bh->b_data + bi->bi_offset + buflen; in gfs2_setbit() [all …]
|
| D | quota.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 4 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. 10 * per-node file) and then are periodically synced to the quota file. This 32 * GFS quotas also use per-ID Lock Value Blocks (LVBs) to cache the contents of 76 #define GFS2_QD_HASH_MASK (GFS2_QD_HASH_SIZE - 1) 78 /* Lock order: qd_lock -> bucket lock -> qd->lockref.lock -> lru lock */ 79 /* -> sd_bitmap_lock */ 119 sdp = qd->qd_gl->gl_name.ln_sbd; in gfs2_qd_dispose() 121 list_del(&qd->qd_lru); in gfs2_qd_dispose() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/include/ |
| D | amd_shared.h | 54 * DOC: IP Blocks 56 * GPUs are composed of IP (intellectual property) blocks. These 57 * IP blocks provide various functionalities: display, graphics, 58 * video decode, etc. The IP blocks that comprise a particular GPU 60 * acquires the list of IP blocks for the GPU in use on initialization. 65 * IP block implementations are named using the following convention: 70 * enum amd_ip_block_type - Used to classify IP blocks by functionality. 82 * @AMD_IP_BLOCK_TYPE_ACP: Audio Co-Processor 84 * @AMD_IP_BLOCK_TYPE_MES: Micro-Engine Scheduler 86 * @AMD_IP_BLOCK_TYPE_NUM: Total number of IP block types [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | call-path.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * call-path.h: Manipulate a tree data structure containing function call paths 12 #include "call-path.h" 15 struct symbol *sym, u64 ip, bool in_kernel) in call_path__init() argument 17 cp->parent = parent; in call_path__init() 18 cp->sym = sym; in call_path__init() 19 cp->ip = sym ? 0 : ip; in call_path__init() 20 cp->db_id = 0; in call_path__init() 21 cp->in_kernel = in_kernel; in call_path__init() 22 RB_CLEAR_NODE(&cp->rb_node); in call_path__init() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | call-path.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * call-path.h: Manipulate a tree data structure containing function call paths 12 #include "call-path.h" 15 struct symbol *sym, u64 ip, bool in_kernel) in call_path__init() argument 17 cp->parent = parent; in call_path__init() 18 cp->sym = sym; in call_path__init() 19 cp->ip = sym ? 0 : ip; in call_path__init() 20 cp->db_id = 0; in call_path__init() 21 cp->in_kernel = in_kernel; in call_path__init() 22 RB_CLEAR_NODE(&cp->rb_node); in call_path__init() [all …]
|
| /kernel/linux/linux-6.6/fs/freevxfs/ |
| D | vxfs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2000-2001 Christoph Hellwig. 10 * Veritas filesystem driver - superblock structure. 18 * Superblock magic number (vxfs_super->vs_magic). 53 __fs32 vs_ctime; /* create time - secs */ 54 __fs32 vs_cutime; /* create time - usecs */ 60 __fs32 vs_size; /* number of blocks */ 61 __fs32 vs_dsize; /* number of data blocks */ 81 __fs32 vs_aulen; /* length of AU in blocks */ 82 __fs32 vs_auimlen; /* length of imap in blocks */ [all …]
|
| /kernel/linux/linux-5.10/fs/freevxfs/ |
| D | vxfs.h | 2 * Copyright (c) 2000-2001 Christoph Hellwig. 35 * Veritas filesystem driver - superblock structure. 43 * Superblock magic number (vxfs_super->vs_magic). 78 __fs32 vs_ctime; /* create time - secs */ 79 __fs32 vs_cutime; /* create time - usecs */ 85 __fs32 vs_size; /* number of blocks */ 86 __fs32 vs_dsize; /* number of data blocks */ 106 __fs32 vs_aulen; /* length of AU in blocks */ 107 __fs32 vs_auimlen; /* length of imap in blocks */ 108 __fs32 vs_auemlen; /* length of emap in blocks */ [all …]
|
| /kernel/linux/linux-5.10/arch/arm/crypto/ |
| D | aes-neonbs-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 * 'Faster and Timing-Attack Resistant AES-GCM' by Emilia Kaesper and 15 * for 32-bit ARM written by Andy Polyakov <appro@openssl.org> 24 rounds .req ip 262 vld1.8 {\t0-\t1}, [bskey, :256]! 264 vld1.8 {\t2-\t3}, [bskey, :256]! 269 vld1.8 {\t0-\t1}, [bskey, :256]! 273 vld1.8 {\t2-\t3}, [bskey, :256]! 354 vld1.8 {\t0-\t1}, [bskey, :256]! 356 vld1.8 {\t2-\t3}, [bskey, :256]! [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/crypto/ |
| 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 …]
|