Home
last modified time | relevance | path

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

12345678910>>...39

/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dudivmodsi4.S1 //===-- udivmodsi4.S - 32-bit unsigned integer divide and modulus ---------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements the __udivmodsi4 (32-bit unsigned integer divide and
10 // modulus) function for the ARM 32-bit architecture.
12 //===----------------------------------------------------------------------===//
48 // At the time of JMP, ip := .Ldiv0block - 12 * I.
49 // This depends on the fixed instruction size of block.
52 // block(shift) implements the test-and-update-quotient core.
57 clz ip, r0
[all …]
H A Dumodsi3.S1 //===-- umodsi3.S - 32-bit unsigned integer modulus -----------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements the __umodsi3 (32-bit unsigned integer modulus)
10 // function for the ARM 32-bit architecture.
12 //===----------------------------------------------------------------------===//
47 // At the time of JMP, ip := .Ldiv0block - 8 * I.
48 // This depends on the fixed instruction size of block.
51 // block(shift) implements the test-and-update-quotient core.
56 clz ip, r0
[all …]
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_block_decoder.c2 * Copyright (c) 2016-2019, Intel Corporation
38 #include "intel-pt.h"
53 return -pte_internal; in pt_blk_status()
55 status = decoder->status; in pt_blk_status()
62 if (!decoder->enabled) in pt_blk_status()
65 /* Forward end-of-trace indications. in pt_blk_status()
69 if ((status & pts_eos) && !decoder->process_event) in pt_blk_status()
80 decoder->mode = ptem_unknown; in pt_blk_reset()
81 decoder->ip = 0ull; in pt_blk_reset()
82 decoder->status = 0; in pt_blk_reset()
[all …]
/freebsd/sys/ufs/ffs/
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()
110 * file size and block pointer fields in the inode. When these 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()
[all …]
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,
131 * Allocate a block in the filesystem.
133 * The size of the requested block is given, which must be some
136 * the following hierarchy is used to allocate a block:
137 * 1) allocate the requested block.
138 * 2) allocate a rotationally optimal block in the same cylinder.
139 * 3) allocate a block in the same cylinder group.
[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...]
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
84 * the inode and the logical block number in a file.
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 …]
/freebsd/usr.sbin/makefs/ffs/
H A Dffs_balloc.c4 /*-
5 * SPDX-License-Identifier: BSD-3-Clause
60 * the inode and the logical block number in a file.
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
69 * Allocate a block in the file system.
71 * The size of the requested block is given, which must be some
74 * the following hierarchy is used to allocate a block:
75 * 1) allocate the requested block.
76 * 2) allocate a rotationally optimal block in the same cylinder.
77 * 3) allocate a block in the same cylinder group.
79 * available block is located.
[all …]
/freebsd/share/examples/ipfilter/
H A Dexamples.txt1 IP Filter Examples
6 [Image] IP Protocols
7 [Image] IP Options
8 [Image] IP Fragments
13 [Image] IP Security Classes
21 Pre-authenticating packets
23 ------------------------------------------------------------------------
27 To specify where to pass through or to block a packet, either block or pass
31 # setup default to block all packets.
32 block in all
[all …]
H A Dipf-howto.txt7 IP Filter Based Firewalls HOWTO
20 user to the IP Filter firewalling package and, at the
37 IP Filter is a great little firewall package. It does
44 make this document a waste of your time. For greater under-
45 standing of firewalls, the authors recommend reading Build-
46 ing Internet Firewalls, Chapman & Zwicky, O'Reilly and Asso-
47 ciates; and TCP/IP Illustrated, Volume 1, Stevens, Addison-
57 any damages incurred due to actions taken based on this doc-
59 a firewall based on IP-Filter. If you do not feel
69 -2-
[all …]
H A Drules.txt2 # block all incoming TCP packets on le0 from host "foo" to any destination.
4 block in on le0 proto tcp from foo/32 to any
6 ------------------------------------------------------------------------
9 # block all outgoing TCP packets on le0 from any host to port 23 of host bar.
11 block out on le0 proto tcp from any to bar/32 port != 23
13 ------------------------------------------------------------------------
16 # block all inbound packets.
18 block in from any to any
24 # allow a variety of individual hosts to send any type of IP packet to any
37 # block all outbound packets.
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_alloc.c1 /*-
7 /*-
8 * SPDX-License-Identifier: BSD-3-Clause
83 * Allocate a block in the filesystem.
86 * the following hierarchy is used to allocate a block:
87 * 1) allocate the requested block.
88 * 2) allocate a rotationally optimal block in the same cylinder.
89 * 3) allocate a block in the same cylinder group.
91 * available block is located.
92 * If no block preference is given the following hierarchy is used
[all …]
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_bmap.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
57 * Bmap converts the logical block number of a file to its physical block
58 * number on the disk. The conversion is done by using the logical block
59 * number to index into the array of block pointers described by the dinode.
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()
[all …]
H A Dext2_extents.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
70 ext4_ext_blk_check(struct inode *ip, e4fs_daddr_t blk) in ext4_ext_blk_check() argument
74 fs = ip->i_e2fs; in ext4_ext_blk_check()
76 if (blk < fs->e2fs->e2fs_first_dbloc in ext4_ext_blk_check()
83 ext4_ext_walk_index(struct inode * ip,struct ext4_extent_index * ex,int depth,bool do_walk) ext4_ext_walk_index() argument
122 ext4_ext_walk_extent(struct inode * ip,struct ext4_extent * ep) ext4_ext_walk_extent() argument
141 ext4_ext_walk_header(struct inode * ip,struct ext4_extent_header * eh,int depth) ext4_ext_walk_header() argument
168 ext4_ext_walk(struct inode * ip) ext4_ext_walk() argument
184 ext4_ext_print_path(struct inode * ip,struct ext4_extent_path * path) ext4_ext_print_path() argument
207 ext4_ext_inode_header(struct inode * ip) ext4_ext_inode_header() argument
221 ext4_ext_inode_depth(struct inode * ip) ext4_ext_inode_depth() argument
268 ext4_ext_in_cache(struct inode * ip,daddr_t lbn,struct ext4_extent * ep) ext4_ext_in_cache() argument
288 ext4_ext_space_root(struct inode * ip) ext4_ext_space_root() argument
300 ext4_ext_space_block(struct inode * ip) ext4_ext_space_block() argument
314 ext4_ext_space_root_idx(struct inode * ip) ext4_ext_space_root_idx() argument
326 ext4_ext_space_block_idx(struct inode * ip) ext4_ext_space_block_idx() argument
340 ext4_ext_max_entries(struct inode * ip,int depth) ext4_ext_max_entries() argument
366 ext4_inode_block_validate(struct inode * ip,e4fs_daddr_t start_blk,unsigned int count) ext4_inode_block_validate() argument
382 ext4_validate_extent(struct inode * ip,struct ext4_extent * ext) ext4_validate_extent() argument
395 ext4_validate_extent_idx(struct inode * ip,struct ext4_extent_index * ext_idx) ext4_validate_extent_idx() argument
403 ext4_validate_extent_entries(struct inode * ip,struct ext4_extent_header * eh,int depth) ext4_validate_extent_entries() argument
447 ext4_ext_check_header(struct inode * ip,struct ext4_extent_header * eh,int depth) ext4_ext_check_header() argument
600 ext4_ext_find_extent(struct inode * ip,daddr_t block,struct ext4_extent_path ** ppath) ext4_ext_find_extent() argument
694 ext4_ext_space_block_index(struct inode * ip) ext4_ext_space_block_index() argument
708 ext4_ext_tree_init(struct inode * ip) ext4_ext_tree_init() argument
724 ext4_ext_put_in_cache(struct inode * ip,uint32_t blk,uint32_t len,uint32_t start,int type) ext4_ext_put_in_cache() argument
737 ext4_ext_blkpref(struct inode * ip,struct ext4_extent_path * path,e4fs_daddr_t block) ext4_ext_blkpref() argument
738 ext4_ext_blkpref(struct inode * ip,struct ext4_extent_path * path,e4fs_daddr_t block) ext4_ext_blkpref() argument
791 ext4_ext_next_leaf_block(struct inode * ip,struct ext4_extent_path * path) ext4_ext_next_leaf_block() argument
814 ext4_ext_dirty(struct inode * ip,struct ext4_extent_path * path) ext4_ext_dirty() argument
844 ext4_ext_insert_index(struct inode * ip,struct ext4_extent_path * path,uint32_t lblk,e4fs_daddr_t blk) ext4_ext_insert_index() argument
890 ext4_ext_alloc_meta(struct inode * ip) ext4_ext_alloc_meta() argument
903 ext4_ext_blkfree(struct inode * ip,uint64_t blk,int count,int flags) ext4_ext_blkfree() argument
924 ext4_ext_split(struct inode * ip,struct ext4_extent_path * path,struct ext4_extent * newext,int at) ext4_ext_split() argument
1082 ext4_ext_grow_indepth(struct inode * ip,struct ext4_extent_path * path,struct ext4_extent * newext) ext4_ext_grow_indepth() argument
1143 ext4_ext_create_new_leaf(struct inode * ip,struct ext4_extent_path * path,struct ext4_extent * newext) ext4_ext_create_new_leaf() argument
1197 ext4_ext_correct_indexes(struct inode * ip,struct ext4_extent_path * path) ext4_ext_correct_indexes() argument
1235 ext4_ext_insert_extent(struct inode * ip,struct ext4_extent_path * path,struct ext4_extent * newext) ext4_ext_insert_extent() argument
1367 ext4_new_blocks(struct inode * ip,daddr_t lbn,e4fs_daddr_t pref,struct ucred * cred,unsigned long * count,int * perror) ext4_new_blocks() argument
1394 ext4_ext_get_blocks(struct inode * ip,e4fs_daddr_t iblk,unsigned long max_blocks,struct ucred * cred,struct buf ** bpp,int * pallocated,daddr_t * nb) ext4_ext_get_blocks() argument
1506 ext4_ext_header(struct inode * ip) ext4_ext_header() argument
1513 ext4_remove_blocks(struct inode * ip,struct ext4_extent * ex,unsigned long from,unsigned long to) ext4_remove_blocks() argument
1531 ext4_ext_rm_index(struct inode * ip,struct ext4_extent_path * path) ext4_ext_rm_index() argument
1548 ext4_ext_rm_leaf(struct inode * ip,struct ext4_extent_path * path,uint64_t start) ext4_ext_rm_leaf() argument
1553 unsigned int a, b, block, num; ext4_ext_rm_leaf() local
1639 ext4_read_extent_tree_block(struct inode * ip,e4fs_daddr_t pblk,int depth,int flags) ext4_read_extent_tree_block() argument
1690 ext4_ext_remove_space(struct inode * ip,off_t length,int flags,struct ucred * cred,struct thread * td) ext4_ext_remove_space() argument
[all...]
H A Dext2_htree.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
64 static void ext2_append_entry(char *block, uint32_t blksize,
69 static int ext2_htree_check_next(struct inode *ip, uint32_t hash,
72 static int ext2_htree_find_leaf(struct inode *ip, const char *name,
83 static uint32_t ext2_htree_node_limit(struct inode *ip);
92 static int ext2_htree_split_dirblock(struct inode *ip,
97 static uint32_t ext2_htree_root_limit(struct inode *ip, int len);
98 static int ext2_htree_writebuf(struct inode *ip,
102 ext2_htree_has_idx(struct inode *ip) in ext2_htree_has_idx() argument
[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 …]
/freebsd/sys/ufs/ufs/
H A Dufs_bmap.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
63 * Bmap converts the logical block number of a file to its physical block
64 * number on the disk. The conversion is done by using the logical block
65 * number to index into the array of block pointers described by the dinode.
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()
[all …]
H A Dufs_dirhash.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
29 * This implements a hash-based lookup scheme for UFS directories.
65 #define WRAPDECR(val, limit) (((val) == 0) ? ((limit) - 1) : ((val) - 1))
102 static void ufsdirhash_free_locked(struct inode *ip);
111 sx_assert(&(dh)->dh_lock, SA_LOCKED)
113 /* Dirhash list; recently-used entries are near the tail. */
147 * a thread to be doing a "bufwait" -> "dirhash" order, it has to hold
149 * any other threads from doing a "dirhash" -> "bufwait" order.
156 refcount_acquire(&dh->dh_refcount); in ufsdirhash_hold()
[all …]
/freebsd/sbin/fsck_ffs/
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 Dpass1.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
68 * Set file system reserved blocks in used block map. in pass1()
93 cgp = cgbp->b_un.b_cg; in pass1()
108 inosused = cgp->cg_initediblk; in pass1()
138 cp = &cg_inosused(cgp)[(inosused - 1) / CHAR_BIT]; in pass1()
139 for ( ; inosused != 0; cp--) { in pass1()
142 inosused -= CHAR_BIT; in pass1()
147 for (i = 1 << (CHAR_BIT - 1); i > 0; i >>= 1) { in pass1()
150 inosused--; in pass1()
[all …]
/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/contrib/netbsd-tests/ipf/expected/
H A Dn31 > zz0 ip #0 40(20) 6 192.168.2.1,1488 > 203.1.1.1,80
2 > zz0 ip #0 40(20) 6 192.168.2.1,1276 > 203.1.1.1,80
3 > zz0 ip #0 40(20) 6 192.168.2.1,1032 > 203.1.1.1,80
4 > zz0 ip #0 28(20) 17 192.168.2.1,1032 > 203.1.1.1,80
5 > zz0 ip #0 40(20) 6 192.168.2.1,65299 > 203.1.1.1,80
7 map zz0 10.1.0.0/16 -> 192.168.2.0/24 portmap tcp/udp auto
10 MAP 10.1.255.255 65535 <- -> 192.168.2.1 65299 [203.1.1.1 80]
11 MAP 10.1.0.0 32768 <- -> 192.168.2.1 1032 [203.1.1.1 80]
12 MAP 10.1.0.0 32768 <- -> 192.168.2.1 1032 [203.1.1.1 80]
13 MAP 10.1.1.1 252 <- -> 192.168.2.1 1276 [203.1.1.1 80]
[all …]
/freebsd/sys/arm/arm/
H A Dblockio.S3 /*-
42 * optimised block read/write from/to IO routines.
45 * Modified : 22/01/99 -- R.Earnshaw
53 * Read bytes from an I/O address into a block of memory
62 mov ip, sp
63 stmfd sp!, {fp, ip, lr, pc}
64 sub fp, ip, #4
65 subs r2, r2, #4 /* r2 = length - 4 */
106 * Write bytes to an I/O address from a block of memory
115 mov ip, sp
[all …]

12345678910>>...39