Home
last modified time | relevance | path

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

12345678910>>...30

/kernel/linux/linux-5.10/fs/jfs/
Djfs_extent.c1 // 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-4.19/fs/jfs/
Djfs_extent.c2 * Copyright (C) International Business Machines Corp., 2000-2004
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
70 * ip - the inode of the file.
71 * xlen - requested extent length.
72 * pno - the starting page number with the file.
73 * xp - pointer to an xad. on entry, xad describes an
75 * xaddr of the xad is non-zero. on successful exit,
77 * abnr - bool indicating whether the newly allocated extent
81 * 0 - success
82 * -EIO - i/o error.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sifive/
Dsifive-blocks-ip-versioning.txt1 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-4.19/fs/xfs/
Dxfs_reflink.c1 // SPDX-License-Identifier: GPL-2.0+
45 * Copy on Write of Shared Blocks
48 * the same physical blocks. This means that a write to one file must not
49 * alter the blocks in a different file; the way that we'll do that is
50 * through the use of a copy-on-write mechanism. At a high level, that
56 * of disk blocks to dirty-but-not-yet-mapped file blocks as long as
62 * create a delalloc mapping, which is a regular in-core extent, but without
64 * a flag that this is a delalloc mapping, and a worst-case estimate of how
65 * many blocks might be required to put the mapping into the BMBT.) delalloc
74 * D: --RRRRRRSSSRRRRRRRR--- (data fork)
[all …]
Dxfs_bmap_util.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2006 Silicon Graphics, Inc.
45 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument
47 return (XFS_IS_REALTIME_INODE(ip) ? \ in xfs_fsb_to_db()
48 (xfs_daddr_t)XFS_FSB_TO_BB((ip)->i_mount, (fsb)) : \ in xfs_fsb_to_db()
49 XFS_FSB_TO_DADDR((ip)->i_mount, (fsb))); in xfs_fsb_to_db()
61 struct xfs_inode *ip, in xfs_zero_extent() argument
65 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent()
66 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb); in xfs_zero_extent()
69 return blkdev_issue_zeroout(xfs_find_bdev_for_inode(VFS_I(ip)), in xfs_zero_extent()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_reflink.c1 // 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 …]
Dxfs_bmap_util.c1 // 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 …]
Dxfs_aops.c1 // 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 …]
/kernel/linux/linux-4.19/fs/gfs2/
Dbmap.c2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
45 static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length);
48 * gfs2_unstuffer_page - unstuff a stuffed inode into a block cached by a page
49 * @ip: the inode
57 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() argument
60 struct inode *inode = &ip->i_inode; in gfs2_unstuffer_page()
64 if (!page || page->index) { in gfs2_unstuffer_page()
65 page = find_or_create_page(inode->i_mapping, 0, GFP_NOFS); in gfs2_unstuffer_page()
67 return -ENOMEM; in gfs2_unstuffer_page()
[all …]
Drgrp.c2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
55 * bits. So, each byte represents GFS2_NBBY (i.e. 4) blocks.
77 const struct gfs2_inode *ip, bool nowrap);
81 * gfs2_setbit - Set a bit in the bitmaps
93 unsigned int buflen = bi->bi_len; in gfs2_setbit()
94 const unsigned int bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE; in gfs2_setbit()
96 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()
97 end = bi->bi_bh->b_data + bi->bi_offset + buflen; in gfs2_setbit()
105 rbm->offset, cur_state, new_state); in gfs2_setbit()
[all …]
Dquota.c2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
13 * per-node file) and then are periodically synced to the quota file. This
35 * GFS quotas also use per-ID Lock Value Blocks (LVBs) to cache the contents of
79 #define GFS2_QD_HASH_MASK (GFS2_QD_HASH_SIZE - 1)
81 /* Lock order: qd_lock -> bucket lock -> qd->lockref.lock -> lru lock */
82 /* -> sd_bitmap_lock */
121 qd = list_entry(list->next, struct gfs2_quota_data, qd_lru); in gfs2_qd_dispose()
122 sdp = qd->qd_gl->gl_name.ln_sbd; in gfs2_qd_dispose()
124 list_del(&qd->qd_lru); in gfs2_qd_dispose()
[all …]
Dbmap.h2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
23 * gfs2_write_calc_reserv - calculate number of blocks needed to write to a file
24 * @ip: the file
26 * @data_blocks: returns the number of data blocks required
27 * @ind_blocks: returns the number of indirect blocks required
31 static inline void gfs2_write_calc_reserv(const struct gfs2_inode *ip, in gfs2_write_calc_reserv() argument
36 const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_write_calc_reserv()
39 BUG_ON(gfs2_is_dir(ip)); in gfs2_write_calc_reserv()
40 *data_blocks = (len >> sdp->sd_sb.sb_bsize_shift) + 3; in gfs2_write_calc_reserv()
[all …]
/kernel/linux/linux-5.10/fs/gfs2/
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.
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 …]
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.
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 …]
Dquota.c1 // 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 …]
Dbmap.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Damd_shared.h52 * 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-4.19/arch/arm/crypto/
Daes-ce-core.S2 * aes-ce-core.S - AES in CBC/CTR/XTS mode using ARMv8 Crypto Extensions
15 .fpu crypto-neon-fp-armv8
94 vld1.8 {q10-q11}, [ip]!
96 vld1.8 {q12-q13}, [ip]!
98 vld1.8 {q10-q11}, [ip]!
100 vld1.8 {q12-q13}, [ip]!
102 blo 0f @ AES-128: 10 rounds
103 vld1.8 {q10-q11}, [ip]!
105 beq 1f @ AES-192: 12 rounds
106 vld1.8 {q12-q13}, [ip]
[all …]
Daes-neonbs-core.S14 * 'Faster and Timing-Attack Resistant AES-GCM' by Emilia Kaesper and
18 * for 32-bit ARM written by Andy Polyakov <appro@openssl.org>
27 rounds .req ip
270 vld1.8 {\t0-\t1}, [bskey, :256]!
272 vld1.8 {\t2-\t3}, [bskey, :256]!
277 vld1.8 {\t0-\t1}, [bskey, :256]!
281 vld1.8 {\t2-\t3}, [bskey, :256]!
362 vld1.8 {\t0-\t1}, [bskey, :256]!
364 vld1.8 {\t2-\t3}, [bskey, :256]!
366 vld1.8 {\t4-\t5}, [bskey, :256]!
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dcall-path.c1 // 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-4.19/tools/perf/util/
Dcall-path.c2 * call-path.h: Manipulate a tree data structure containing function call paths
20 #include "call-path.h"
23 struct symbol *sym, u64 ip, bool in_kernel) in call_path__init() argument
25 cp->parent = parent; in call_path__init()
26 cp->sym = sym; in call_path__init()
27 cp->ip = sym ? 0 : ip; in call_path__init()
28 cp->db_id = 0; in call_path__init()
29 cp->in_kernel = in_kernel; in call_path__init()
30 RB_CLEAR_NODE(&cp->rb_node); in call_path__init()
31 cp->children = RB_ROOT; in call_path__init()
[all …]
/kernel/linux/linux-4.19/fs/freevxfs/
Dvxfs.h2 * 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/fs/freevxfs/
Dvxfs.h2 * 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/
Daes-neonbs-core.S1 /* 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 …]
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 …]

12345678910>>...30