| /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 …]
|
| D | jfs_dmap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 41 * take the lock in read mode. a single top-down request may proceed 42 * exclusively while multiple bottoms-up requests may proceed 50 * in the face of multiple-bottoms up requests. 57 #define BMAP_LOCK_INIT(bmp) mutex_init(&bmp->db_bmaplock) 58 #define BMAP_LOCK(bmp) mutex_lock(&bmp->db_bmaplock) 59 #define BMAP_UNLOCK(bmp) mutex_unlock(&bmp->db_bmaplock) 87 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks); 133 2, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1 [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-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() 46 struct xfs_mount *mp = XFS_I(ioend->io_inode)->i_mount; in xfs_setfilesize_trans_alloc() 50 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize_trans_alloc() 54 ioend->io_private = tp; in xfs_setfilesize_trans_alloc() 60 __sb_writers_release(ioend->io_inode->i_sb, SB_FREEZE_FS); in xfs_setfilesize_trans_alloc() [all …]
|
| D | xfs_pnfs.c | 1 // SPDX-License-Identifier: GPL-2.0 20 * before every operation that can remove blocks from the extent map. 22 * about exposing unallocated blocks but just want to provide basic 33 struct xfs_inode *ip = XFS_I(inode); in xfs_break_leased_layouts() local 36 while ((error = break_layout(inode, false)) == -EWOULDBLOCK) { in xfs_break_leased_layouts() 37 xfs_iunlock(ip, *iolock); in xfs_break_leased_layouts() 42 xfs_ilock(ip, *iolock); in xfs_break_leased_layouts() 65 return -EINVAL; in xfs_fs_get_uuid() 67 memcpy(buf, &mp->m_sb.sb_uuid, sizeof(uuid_t)); in xfs_fs_get_uuid() 85 struct xfs_inode *ip = XFS_I(inode); in xfs_fs_map_blocks() local [all …]
|
| D | xfs_bmap_util.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 29 return -EFSCORRUPTED; in xfs_bmap_rtalloc() 33 int xfs_bmap_punch_delalloc_range(struct xfs_inode *ip, 37 __s64 bmv_offset; /* file offset of segment in blocks */ 38 __s64 bmv_block; /* starting block (64-bit daddr_t) */ 39 __s64 bmv_length; /* length of segment, blocks */ 42 int xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv, 51 int xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip, 56 int xfs_alloc_file_space(struct xfs_inode *ip, xfs_off_t offset, [all …]
|
| D | xfs_icache.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 23 #define XFS_ICI_NO_TAG (-1) /* special flag for an untagged lookup 26 #define XFS_ICI_EOFBLOCKS_TAG 1 /* inode has blocks beyond EOF */ 27 #define XFS_ICI_COWBLOCKS_TAG 2 /* inode can have cow blocks to gc */ 47 void xfs_inode_free(struct xfs_inode *ip); 55 void xfs_inode_set_reclaim_tag(struct xfs_inode *ip); 57 void xfs_inode_set_eofblocks_tag(struct xfs_inode *ip); 58 void xfs_inode_clear_eofblocks_tag(struct xfs_inode *ip); 60 int xfs_inode_free_quota_eofblocks(struct xfs_inode *ip); [all …]
|
| D | xfs_iomap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 4 * Copyright (c) 2016-2018 Christoph Hellwig. 33 (((off) >> mp->m_allocsize_log) << mp->m_allocsize_log) 37 xfs_inode_t *ip, in xfs_alert_fsblock_zero() argument 40 xfs_alert_tag(ip->i_mount, XFS_PTAG_FSBLOCK_ZERO, in xfs_alert_fsblock_zero() 43 "blkcnt: %llx extent-state: %x", in xfs_alert_fsblock_zero() 44 (unsigned long long)ip->i_ino, in xfs_alert_fsblock_zero() 45 (unsigned long long)imap->br_startblock, in xfs_alert_fsblock_zero() 46 (unsigned long long)imap->br_startoff, in xfs_alert_fsblock_zero() [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 …]
|
| D | bmap.h | 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. 20 * gfs2_write_calc_reserv - calculate number of blocks needed to write to a file 21 * @ip: the file 23 * @data_blocks: returns the number of data blocks required 24 * @ind_blocks: returns the number of indirect blocks required 28 static inline void gfs2_write_calc_reserv(const struct gfs2_inode *ip, in gfs2_write_calc_reserv() argument 33 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_write_calc_reserv() 36 BUG_ON(gfs2_is_dir(ip)); in gfs2_write_calc_reserv() [all …]
|
| D | trace_gfs2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 79 /* Section 1 - Locking 108 __entry->dev = gl->gl_name.ln_sbd->sd_vfs->s_dev; 109 __entry->glnum = gl->gl_name.ln_number; 110 __entry->gltype = gl->gl_name.ln_type; 111 __entry->cur_state = glock_trace_state(gl->gl_state); 112 __entry->new_state = glock_trace_state(new_state); 113 __entry->tgt_state = glock_trace_state(gl->gl_target); 114 __entry->dmt_state = glock_trace_state(gl->gl_demote_state); 115 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0); [all …]
|
| D | file.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. 27 #include <linux/backing-dev.h> 45 * gfs2_llseek - seek to a location in a file 58 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek() local 64 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, in gfs2_llseek() 83 * These don't reference inode->i_size and don't depend on the in gfs2_llseek() 89 error = -EINVAL; in gfs2_llseek() 96 * gfs2_readdir - Iterator for a directory [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-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 …]
|
| D | call-path.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * call-path.h: Manipulate a tree data structure containing function call paths 16 * struct call_path - node in list of calls leading to a function call. 19 * @ip: only if sym is null, the ip of the function 20 * @db_id: id used for db-export 26 * defines a context-sensitve call-graph. 31 u64 ip; member 40 #define CALL_PATH_BLOCK_MASK (CALL_PATH_BLOCK_SIZE - 1) 48 * struct call_path_root - root of all call paths. 50 * @blocks: list of blocks to store call paths [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-5.10/fs/xfs/libxfs/ |
| D | xfs_bmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 23 struct xfs_inode *ip; /* incore inode pointer */ member 36 xfs_extlen_t total; /* total blocks needed for xaction */ 37 xfs_extlen_t minlen; /* minimum allocation size (blocks) */ 54 xfs_extlen_t xefi_blockcount;/* number of blocks in extent */ 71 * unwritten extent conversion - this needs write cache flushing and no additional 78 * allocate zeroed extents - this requires all newly allocated user data extents 86 * Map the inode offset to the block given in ap->firstblock. Primarily 91 * refcount, or freeing the blocks. [all …]
|
| D | xfs_bmap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 56 uint maxblocks; /* max blocks at this level */ 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() 86 minnoderecs = mp->m_bmap_dmnr[1]; in xfs_bmap_compute_maxlevels() 87 maxblocks = (maxleafents + minleafrecs - 1) / minleafrecs; in xfs_bmap_compute_maxlevels() 92 maxblocks = (maxblocks + minnoderecs - 1) / minnoderecs; in xfs_bmap_compute_maxlevels() [all …]
|
| /kernel/linux/linux-5.10/fs/xfs/scrub/ |
| D | common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 46 * For non-verifier errors (e.g. ENOMEM) we return false to tell the 75 case -EDEADLOCK: in __xchk_process_error() 77 trace_xchk_deadlock_retry(sc->ip, sc->sm, *error); in __xchk_process_error() 79 case -EFSBADCRC: in __xchk_process_error() 80 case -EFSCORRUPTED: in __xchk_process_error() 82 sc->sm->sm_flags |= errflag; in __xchk_process_error() 128 case -EDEADLOCK: in __xchk_fblock_process_error() 130 trace_xchk_deadlock_retry(sc->ip, sc->sm, *error); in __xchk_fblock_process_error() 132 case -EFSBADCRC: in __xchk_fblock_process_error() [all …]
|