Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd/sys/contrib/device-tree/Bindings/sifive/
H A 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 …]
/freebsd/sys/ufs/ffs/
H A Dffs_alloc.c1 /*-
2 * SPDX-License-Identifier: (BSD-2-Clause AND BSD-3-Clause)
10 * contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS
102 typedef ufs2_daddr_t allocfcn_t(struct inode *ip, uint64_t cg,
150 ffs_alloc(struct inode *ip, in ffs_alloc() argument
168 ump = ITOUMP(ip); in ffs_alloc()
169 fs = ump->um_fs; in ffs_alloc()
172 if ((uint64_t)size > fs->fs_bsize || fragoff(fs, size) != 0) { in ffs_alloc()
174 devtoname(ump->um_dev), (long)fs->fs_bsize, size, in ffs_alloc()
175 fs->fs_fsmnt); in ffs_alloc()
[all …]
H A Dffs_inode.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
98 struct inode *ip; in ffs_update() local
104 ip = VTOI(vp); in ffs_update()
105 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ffs_update()
107 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED); in ffs_update()
123 * or fsyncdata() will be able to run before the on-disk inode in ffs_update()
127 ip->i_flag &= ~(IN_SIZEMOD | IN_IBLKDATA); in ffs_update()
128 fs = ITOFS(ip); in ffs_update()
129 if (fs->fs_ronly) in ffs_update()
[all …]
H A Dffs_balloc.c1 /*-
2 * SPDX-License-Identifier: (BSD-2-Clause AND BSD-3-Clause)
10 * contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS
83 * by allocating the physical blocks on a device given
92 struct inode *ip; in ffs_balloc_ufs1() local
106 int unwindidx = -1; in ffs_balloc_ufs1()
110 ip = VTOI(vp); in ffs_balloc_ufs1()
111 dp = ip->i_din1; in ffs_balloc_ufs1()
112 fs = ITOFS(ip); in ffs_balloc_ufs1()
113 mp = ITOVFS(ip); in ffs_balloc_ufs1()
[all …]
H A Dffs_snapshot.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * Berkeley, CA 94709-1608 +1-510-843-9542
112 ffs_snapgone(struct inode *ip) in ffs_snapgone() argument
208 struct inode *ip, *xp; ffs_snapshot() local
923 struct inode *ip; cgaccount() local
1231 struct inode *ip = VTOI(vp); snapacct_ufs1() local
1285 struct inode *ip; mapacct_ufs1() local
1515 struct inode *ip = VTOI(vp); snapacct_ufs2() local
1569 struct inode *ip; mapacct_ufs2() local
1599 ffs_snapgone(struct inode * ip) ffs_snapgone() argument
1649 struct inode *ip; ffs_snapremove() local
1786 struct inode *ip; ffs_snapblkfree() local
2003 struct inode *ip; ffs_snapshot_mount() local
2280 struct inode *ip; ffs_copyonwrite() local
2496 struct inode *ip; ffs_sync_snap() local
2529 struct inode *ip; readblock() local
2554 struct inode *ip; process_deferred_inactive() local
[all...]
/freebsd/sys/fs/ext2fs/
H A Dext2_inode.c1 /*-
7 /*-
8 * SPDX-License-Identifier: BSD-3-Clause
74 struct inode *ip; in ext2_update() local
79 ip = VTOI(vp); in ext2_update()
80 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ext2_update()
82 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED); in ext2_update()
83 fs = ip->i_e2fs; in ext2_update()
84 if (fs->e2fs_ronly) in ext2_update()
86 if ((error = bread(ip->i_devvp, in ext2_update()
[all …]
H A Dext2_balloc.c1 /*-
7 /*-
8 * SPDX-License-Identifier: BSD-3-Clause
56 ext2_ext_balloc(struct inode *ip, uint32_t lbn, int size, in ext2_ext_balloc() argument
61 struct vnode *vp = ITOV(ip); in ext2_ext_balloc()
65 fs = ip->i_e2fs; in ext2_ext_balloc()
66 blks = howmany(size, fs->e2fs_bsize); in ext2_ext_balloc()
68 error = ext4_ext_get_blocks(ip, lbn, blks, cred, NULL, &allocated, &newblk); in ext2_ext_balloc()
73 bp = getblk(vp, lbn, fs->e2fs_bsize, 0, 0, 0); in ext2_ext_balloc()
77 error = bread(vp, lbn, fs->e2fs_bsize, NOCRED, &bp); in ext2_ext_balloc()
[all …]
H A Dext2_bmap.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
71 if (ap->a_bop != NULL) in ext2_bmap()
72 *ap->a_bop = &VTOI(ap->a_vp)->i_devvp->v_bufobj; in ext2_bmap()
73 if (ap->a_bnp == NULL) in ext2_bmap()
76 if (VTOI(ap->a_vp)->i_flag & IN_E4EXTENTS) in ext2_bmap()
77 error = ext4_bmapext(ap->a_vp, ap->a_bn, &blkno, in ext2_bmap()
78 ap->a_runp, ap->a_runb); in ext2_bmap()
80 error = ext2_bmaparray(ap->a_vp, ap->a_bn, &blkno, in ext2_bmap()
81 ap->a_runp, ap->a_runb); in ext2_bmap()
[all …]
H A Dext2_alloc.c1 /*-
7 /*-
8 * SPDX-License-Identifier: BSD-3-Clause
100 ext2_alloc(struct inode *ip, daddr_t lbn, e4fs_daddr_t bpref, int size, in ext2_alloc() argument
109 fs = ip->i_e2fs; in ext2_alloc()
110 ump = ip->i_ump; in ext2_alloc()
113 if ((u_int)size > fs->e2fs_bsize || blkoff(fs, size) != 0) { in ext2_alloc()
114 vn_printf(ip->i_devvp, "bsize = %lu, size = %d, fs = %s\n", in ext2_alloc()
115 (long unsigned int)fs->e2fs_bsize, size, fs->e2fs_fsmnt); in ext2_alloc()
121 if (size == fs->e2fs_bsize && fs->e2fs_fbcount == 0) in ext2_alloc()
[all …]
H A Dext2_dinode.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
35 * normal purposes and bad blocks are normally linked to inode 1, thus
66 #define EXT3_INDEX 0x00001000 /* Hash-indexed directory */
75 #define EXT4_EOFBLOCKS 0x00400000 /* Blocks allocated beyond EOF */
81 * Ext3 inode versioning, 2006-12-13.
84 #define EXT3_EPOCH_MASK ((1 << EXT3_EPOCH_BITS) - 1)
87 #define E2DI_HAS_XTIME(ip) (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, \ argument
89 #define E2DI_HAS_HUGE_FILE(ip) (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, \ argument
93 * Constants relative to the data blocks
[all …]
H A Dext2_extattr.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
43 /* Magic value in attribute blocks */
57 int32_t h_blocks; /* number of disk blocks used */
80 #define EXT2_HDR(bh) ((struct ext2fs_extattr_header *)((bh)->b_data))
87 #define EXT2_EXTATTR_ROUND (EXT2_EXTATTR_PAD-1)
97 (char *)(entry) + EXT2_EXTATTR_LEN((entry)->e_name_len)) )
99 int ext2_extattr_inode_delete(struct inode *ip, int attrnamespace,
102 int ext2_extattr_block_delete(struct inode *ip, int attrnamespace,
105 int ext2_extattr_free(struct inode *ip);
[all …]
/freebsd/usr.sbin/makefs/ffs/
H A Dffs_balloc.c4 /*-
5 * SPDX-License-Identifier: BSD-3-Clause
59 * by allocating the physical blocks on a device given
66 ffs_balloc(struct inode *ip, off_t offset, int bufsize, struct m_buf **bpp) in ffs_balloc() argument
68 if (ip->i_fs->fs_magic == FS_UFS2_MAGIC) in ffs_balloc()
69 return ffs_balloc_ufs2(ip, offset, bufsize, bpp); in ffs_balloc()
71 return ffs_balloc_ufs1(ip, offset, bufsize, bpp); in ffs_balloc()
75 ffs_balloc_ufs1(struct inode *ip, off_t offset, int bufsize, in ffs_balloc_ufs1() argument
82 struct fs *fs = ip->i_fs; in ffs_balloc_ufs1()
97 assert(size <= fs->fs_bsize); in ffs_balloc_ufs1()
[all …]
H A Dffs_alloc.c4 /*-
5 * SPDX-License-Identifier: BSD-3-Clause
13 * contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS
88 ffs_alloc(struct inode *ip, daddr_t lbn __unused, daddr_t bpref, int size, in ffs_alloc() argument
91 struct fs *fs = ip->i_fs; in ffs_alloc()
96 if (size > fs->fs_bsize || fragoff(fs, size) != 0) { in ffs_alloc()
98 fs->fs_bsize, size); in ffs_alloc()
100 if (size == fs->fs_bsize && fs->fs_cstotal.cs_nbfree == 0) in ffs_alloc()
102 if (bpref >= fs->fs_size) in ffs_alloc()
105 cg = ino_to_cg(fs, ip->i_number); in ffs_alloc()
[all …]
/freebsd/sys/ufs/ufs/
H A Dufs_bmap.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
85 if (ap->a_bop != NULL) in ufs_bmap()
86 *ap->a_bop = &VFSTOUFS(ap->a_vp->v_mount)->um_devvp->v_bufobj; in ufs_bmap()
87 if (ap->a_bnp == NULL) in ufs_bmap()
90 error = ufs_bmaparray(ap->a_vp, ap->a_bn, &blkno, NULL, in ufs_bmap()
91 ap->a_runp, ap->a_runb); in ufs_bmap()
92 *ap->a_bnp = blkno; in ufs_bmap()
107 mp = vp->v_mount; in readindir()
110 bp = getblk(vp, lbn, mp->mnt_stat.f_iosize, 0, 0, 0); in readindir()
[all …]
/freebsd/sbin/fsck_ffs/
H A Dsuj.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
164 longjmp(jmpbuf, -1); in err_suj()
178 if (cgx < 0 || cgx >= fs->fs_ncg) in cg_lookup()
180 if (lastcg && lastcg->sc_cgx == cgx) in cg_lookup()
187 if (sc->sc_cgx == cgx) { in cg_lookup()
188 sc->sc_cgbp = cgbp; in cg_lookup()
189 sc->sc_cgp = sc->sc_cgbp->b_un.b_cg; in cg_lookup()
195 sc->sc_cgbp = cgbp; in cg_lookup()
196 sc->sc_cgp = sc->sc_cgbp->b_un.b_cg; in cg_lookup()
[all …]
H A Dinode.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
63 struct inode ip; in ckinode() local
69 if (idesc->id_fix != IGNORE) in ckinode()
70 idesc->id_fix = DONTKNOW; in ckinode()
71 idesc->id_dp = dp; in ckinode()
72 idesc->id_lbn = -1; in ckinode()
73 idesc->id_lballoc = -1; in ckinode()
74 idesc->id_level = 0; in ckinode()
75 idesc->id_entryno = 0; in ckinode()
[all …]
H A Dsetup.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
56 char *copybuf; /* buffer to copy snapshot blocks */
59 #define POWEROF2(num) (((num) & ((num) - 1)) == 0)
69 * Return 1 if successful, 0 if unsuccessful, -1 if file system
76 struct inode ip; in setup() local
94 fswritefd = -1; in setup()
103 if (fswritefd == -1) in setup()
114 return (-1); in setup()
140 pfatal("from before 2002 with the command ``fsck -c 2''\n"); in setup()
[all …]
/freebsd/share/examples/ipfilter/rules/
H A Dfirewall1 Configuring IP Filter for firewall usage.
4 Step 1 - Block out "bad" IP packets.
5 ------------------------------------
9 a) blocks all packets which might belong to an IP Spoofing attack;
10 b) blocks all packets with IP options;
11 c) blocks all packets which have a length which is too short for
14 Step 2 - Convert Network Security Policy to filter rules.
15 ---------------------------------------------------------
22 Step 3 - Create TCP "keep state" rules.
23 ---------------------------------------
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pwm/
H A Dpwm-sifive.txt7 PWM RTL that corresponds to the IP block version numbers can be found
10 https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/pwm
13 - compatible: Should be "sifive,<chip>-pwm" and "sifive,pwm<version>".
14 Supported compatible strings are: "sifive,fu540-c000-pwm" for the SiFive
16 SiFive PWM v0 IP block with no chip integration tweaks.
17 Please refer to sifive-blocks-ip-versioning.txt for details.
18 - reg: physical base address and length of the controller's registers
19 - clocks: Should contain a clock identifier for the PWM's parent clock.
20 - #pwm-cells: Should be 3. See pwm.yaml in this directory
22 - interrupts: one interrupt per PWM channel
[all …]
H A Dpwm-sifive.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/pwm/pwm-sifive.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Paul Walmsley <paul.walmsley@sifive.com>
18 achievable period. PWM RTL that corresponds to the IP block version
19 numbers can be found here -
21 https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/pwm
24 - $ref: pwm.yaml#
29 - enum:
[all …]
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp1 //===-- IRMutator.cpp -----------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
51 [](BasicBlock *BB) { return !BB->isEHPad(); }); in mutate()
74 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight())); in mutateModule()
79 Strategy->mutate(M, IB); in mutateModule()
132 size_t IP = uniform<size_t>(IB.Rand, 0, Insts.size() - 1); in mutate() local
134 auto InstsBefore = ArrayRef(Insts).slice(0, IP); in mutate()
135 auto InstsAfter = ArrayRef(Insts).slice(IP); in mutate()
148 for (const auto &Pred : ArrayRef(OpDesc->SourcePreds).slice(1)) in mutate()
[all …]
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_superblock.c5 * This source code is licensed under both the BSD-style license (found in the
8 * You may select, at your option, one of the above-listed licenses.
11 /*-*************************************
23 * Compresses literals section for a sub-block.
32 * hufMetadata->hType has literals block type info.
33 * If it is set_basic, all sub-blocks literals section will be Raw_Literals_Block.
34 * If it is set_rle, all sub-blocks literals section will be RLE_Literals_Block.
35 …* If it is set_compressed, first sub-block's literals section will be Compressed_Literals_Blo…
36 * If it is set_compressed, first sub-block's literals section will be Treeless_Literals_Block
37 * and the following sub-blocks' literals sections will be Treeless_Literals_Block.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dspi-sifive.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-sifive.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Pragnesh Patel <pragnesh.patel@sifive.com>
11 - Paul Walmsley <paul.walmsley@sifive.com>
12 - Palmer Dabbelt <palmer@sifive.com>
15 - $ref: spi-controller.yaml#
20 - enum:
21 - sifive,fu540-c000-spi
[all …]
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dmediatek,mt8365-sys-clock.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/mediatek,mt8365-sys-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Markus Schneider-Pargmann <msp@baylibre.com>
14 The topckgen provides dividers and muxes which provides the clock source to other IP blocks.
15 The infracfg_ao and pericfg_ao provides clock gate in peripheral and infrastructure IP blocks.
20 - enum:
21 - mediatek,mt8365-topckgen
22 - mediatek,mt8365-infracfg
[all …]
H A Dmediatek,mt8188-sys-clock.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/mediatek,mt8188-sys-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Garmin Chang <garmin.chang@mediatek.com>
14 PLLs -->
15 dividers -->
17 -->
21 The topckgen provides dividers and muxes which provide the clock source to other IP blocks.
22 The infracfg_ao provides clock gate in peripheral and infrastructure IP blocks.
[all …]

12345678910>>...17