/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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_disk_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 51 struct xfs_mount *mp = ip->i_mount; in xfs_setfilesize() 56 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize() [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 …]
|
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() 84 struct xfs_inode *ip) in xfs_fs_map_update_inode() argument [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_trans.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. 68 xfs_extent_busy_sort(&tp->t_busy); in xfs_trans_free() 69 xfs_extent_busy_clear(tp->t_mountp, &tp->t_busy, false); in xfs_trans_free() 73 if (!(tp->t_flags & XFS_TRANS_NO_WRITECOUNT)) in xfs_trans_free() 74 sb_end_intwrite(tp->t_mountp->m_super); in xfs_trans_free() 84 * blocks. Locks and log items, however, are no inherited. They must 100 ntp->t_magic = XFS_TRANS_HEADER_MAGIC; in xfs_trans_dup() 101 ntp->t_mountp = tp->t_mountp; in xfs_trans_dup() 102 INIT_LIST_HEAD(&ntp->t_items); in xfs_trans_dup() [all …]
|
/Linux-v6.1/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 if (dsize > gfs2_max_stuffed_size(ip)) in gfs2_unstuffer_page() 65 dsize = gfs2_max_stuffed_size(ip); 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 …]
|
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 | trans.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. 26 /* reserve either the number of blocks to be allocated plus the rg header 27 * block, or all of the blocks in the rg, whichever is smaller */ 28 static inline unsigned int gfs2_rg_blocks(const struct gfs2_inode *ip, unsigned requested) in gfs2_rg_blocks() argument 30 struct gfs2_rgrpd *rgd = ip->i_res.rs_rgd; in gfs2_rg_blocks() 32 if (requested < rgd->rd_length) in gfs2_rg_blocks() 34 return rgd->rd_length; in gfs2_rg_blocks() 38 unsigned int blocks, unsigned int revokes, [all …]
|
D | log.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. 38 * gfs2_struct2blk - compute stuff 42 * Compute the number of log descriptor blocks needed to hold a certain number 45 * Returns: the number of blocks needed (minimum is always 1) 55 first = sdp->sd_ldptrs; in gfs2_struct2blk() 58 /* Subsequent struct gfs2_meta_header blocks */ in gfs2_struct2blk() 59 second = sdp->sd_inptrs; in gfs2_struct2blk() 60 blks += DIV_ROUND_UP(nstruct - first, second); in gfs2_struct2blk() [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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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-sensitive 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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
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 …]
|
/Linux-v6.1/Documentation/gpu/amdgpu/ |
D | driver-core.rst | 8 Each ASIC is a collection of hardware blocks. We refer to them as 9 "IPs" (Intellectual Property blocks). Each IP encapsulates certain 13 the initialization and operation of each IP. There are also a bunch 32 This was a dedicated IP on older pre-vega chips, but has since 43 their interrupts into this IP and it aggregates them into a set of 49 applications, and validates and loads firmwares for other blocks. 58 It is described in more details in :ref:`Display Core <amdgpu-display-core>`. 61 This is a multi-purpose DMA engine. The kernel driver uses it for 68 encompasses the 3D pipeline and and shader blocks. This is by far the 69 largest block on the GPU. The 3D pipeline has tons of sub-blocks. In [all …]
|
/Linux-v6.1/fs/xfs/scrub/ |
D | common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 48 * For non-verifier errors (e.g. ENOMEM) we return false to tell the 77 case -EDEADLOCK: in __xchk_process_error() 80 sc->ip ? sc->ip : XFS_I(file_inode(sc->file)), in __xchk_process_error() 81 sc->sm, *error); in __xchk_process_error() 83 case -EFSBADCRC: in __xchk_process_error() 84 case -EFSCORRUPTED: in __xchk_process_error() 86 sc->sm->sm_flags |= errflag; in __xchk_process_error() 132 case -EDEADLOCK: in __xchk_fblock_process_error() 134 trace_xchk_deadlock_retry(sc->ip, sc->sm, *error); in __xchk_fblock_process_error() [all …]
|
/Linux-v6.1/fs/xfs/libxfs/ |
D | xfs_bmap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 55 uint64_t 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() 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() 92 mp->m_bm_maxlevels[whichfork] = level; in xfs_bmap_compute_maxlevels() 93 ASSERT(mp->m_bm_maxlevels[whichfork] <= xfs_bmbt_maxlevels_ondisk()); in xfs_bmap_compute_maxlevels() 100 if (mp->m_sb.sb_inodesize == 256) in xfs_bmap_compute_attr_offset() [all …]
|