/freebsd-current/sys/arm/arm/ |
H A D | bcopyinout_xscale.S | 74 adr ip, .Lcopyin_fault 76 str ip, [r10, #PCB_ONFAULT] 93 ands ip, r1, #0x03 /* Already word aligned? */ 95 rsb ip, ip, #0x04 96 cmp r2, ip /* Enough bytes left to align it? */ 98 sub r2, r2, ip 99 rsbs ip, ip, #0x03 100 addne pc, pc, ip, ls [all...] |
H A D | bcopyinout.S | 55 ldr ip, [r2, #PCB_ONFAULT] 67 1: str ip, [r2, #PCB_ONFAULT] 81 ldr ip, [r2, #PCB_ONFAULT] 93 1: str ip, [r2, #PCB_ONFAULT] 107 ldr ip, [r2, #PCB_ONFAULT] 119 1: str ip, [r2, #PCB_ONFAULT]
|
H A D | support.S | 111 mov ip, r0 115 ands r2, ip, #0x03 /* Get the bottom two bits */ 121 tst ip, #0x04 /* Quad-align for armv5e */ 124 strne r3, [ip], #0x04 134 strdge r2, [ip], #0x08 135 strdge r2, [ip], #0x08 136 strdge r2, [ip], #0x08 137 strdge r2, [ip], #0x08 138 strdge r2, [ip], #0x08 139 strdge r2, [ip], # [all...] |
/freebsd-current/sys/contrib/zstd/lib/compress/ |
H A D | zstd_fast.c | 24 const BYTE* ip = base + ms->nextToUpdate; local 31 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { 32 U32 const curr = (U32)(ip - base); 33 size_t const hash0 = ZSTD_hashPtr(ip, hBits, mls); 39 size_t const hash = ZSTD_hashPtr(ip + p, hBits, mls); 169 /* load repcode match for ip[2]*/ 176 /* check repcode at ip[2] */ 188 /* load match for ip[0] */ 195 /* check match at ip[ 383 const BYTE* ip = istart; local 560 const BYTE* ip = istart; local [all...] |
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_fast.c | 24 const BYTE* ip = base + ms->nextToUpdate; local 31 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { 32 U32 const current = (U32)(ip - base); 33 size_t const hash0 = ZSTD_hashPtr(ip, hBits, mls); 39 size_t const hash = ZSTD_hashPtr(ip + p, hBits, mls); 59 /* We check ip0 (ip + 0) and ip1 (ip + 1) each loop */ 218 const BYTE* ip = istart; local 235 const U32 dictAndPrefixLength = (U32)(ip 387 const BYTE* ip = istart; local [all...] |
/freebsd-current/lib/libc/arm/string/ |
H A D | memcpy.S | 49 ands ip, r3, #0x03 /* Already word aligned? */ 51 cmp ip, #0x02 52 ldrb ip, [r1], #0x01 54 strb ip, [r3], #0x01 55 ldrble ip, [r1], #0x01 57 strble ip, [r3], #0x01 58 ldrblt ip, [r1], #0x01 60 strblt ip, [r3], #0x01 64 ands ip, r1, #0x03 /* Is src also word-aligned? */ 69 ldrne ip, [r [all...] |
/freebsd-current/usr.sbin/ppp/ |
H A D | iplist.c | 42 do_inet_aton(const char *start, const char *end, struct in_addr *ip) argument 52 return inet_aton(ipstr, ip); 67 if (!inet_aton(range, &list->cur.ip)) 69 list->cur.lstart = ntohl(list->cur.ip.s_addr); 72 if (!do_inet_aton(range, ptr, &list->cur.ip)) 75 list->cur.lstart = ntohl(list->cur.ip.s_addr); 87 list->cur.lstart = ntohl(list->cur.ip.s_addr); 133 list->cur.ip.s_addr = INADDR_ANY; 134 return list->cur.ip; 138 list->cur.ip 208 iplist_ip2pos(struct iplist *list, struct in_addr ip) argument [all...] |
H A D | slcompress.c | 44 #include <netinet/ip.h> 156 struct ip * ip, 162 register u_int hlen = ip->ip_hl; 175 if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40) { 177 ip->ip_off, (unsigned long)m->m_len); 181 th = (struct tcphdr *) & ((int *) ip)[hlen]; 196 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || 197 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || 217 if (ip 155 sl_compress_tcp(struct mbuf * m, struct ip * ip, struct slcompress *comp, struct slstat *slstat, int compress_cid) argument 435 register struct ip *ip; local [all...] |
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | zfs_vnops_os.h | 41 extern int zfs_open(struct inode *ip, int mode, int flag, cred_t *cr); 42 extern int zfs_close(struct inode *ip, int flag, cred_t *cr); 58 extern int zfs_readdir(struct inode *ip, zpl_dir_context_t *ctx, cred_t *cr); 60 extern int zfs_getattr_fast(zidmap_t *, u32 request_mask, struct inode *ip, 63 extern int zfs_getattr_fast(zidmap_t *, struct inode *ip, struct kstat *sp); 72 extern int zfs_readlink(struct inode *ip, zfs_uio_t *uio, cred_t *cr); 75 extern void zfs_inactive(struct inode *ip); 78 extern int zfs_fid(struct inode *ip, fid_t *fidp); 79 extern int zfs_getpage(struct inode *ip, struct page *pp); 80 extern int zfs_putpage(struct inode *ip, struc [all...] |
/freebsd-current/sys/netinet/libalias/ |
H A D | alias_dummy.c | 48 #include <netinet/ip.h> 60 AliasHandleDummy(struct libalias *la, struct ip *ip, struct alias_data *ah); 87 protohandler(struct libalias *la, struct ip *pip, struct alias_data *ah) 146 AliasHandleDummy(struct libalias *la, struct ip *ip, struct alias_data *ah) argument
|
/freebsd-current/tests/sys/netinet6/ |
H A D | test_ip6_output.py | 26 def __init__(self, ip: str, port: int, ifname: str = None): 27 self.ip = ip 32 addr = ipaddress.ip_address(ip) 35 addr_tuple = (ip, port, 0, ifindex) 38 mreq = socket.inet_pton(socket.AF_INET6, ip) + struct.pack("I", ifindex) 40 print("## JOINED group {} % {}".format(ip, ifname)) 43 addr_tuple = (ip, port, 0, 0) 76 def _vnet2_handler(self, vnet, ip: str, os_ifname: str = None): 82 ss = VerboseSocketServer(ip, sel [all...] |
/freebsd-current/sys/net/ |
H A D | if_me.c | 57 #include <netinet/ip.h> 342 const struct ip *ip; local 349 ip = mtod(m, const struct ip *); 350 CK_LIST_FOREACH(sc, &ME_HASH(ip->ip_dst.s_addr, 351 ip->ip_src.s_addr), chain) { 352 if (sc->me_src.s_addr == ip->ip_dst.s_addr && 353 sc->me_dst.s_addr == ip->ip_src.s_addr) { 473 struct ip *i local 515 memmove(mtodo(m, hlen), ip, sizeof(struct ip)); local 557 struct ip *ip; local [all...] |
H A D | slcompress.c | 47 #include <netinet/ip.h> 143 * and "ip" must be == mtod(m, struct ip *). "comp" supplies the 151 sl_compress_tcp(struct mbuf *m, struct ip *ip, struct slcompress *comp, argument 155 u_int hlen = ip->ip_hl; 169 if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40) 172 th = (struct tcphdr *)&((int32_t *)ip)[hlen]; 183 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || 184 ip 457 struct ip *ip; local [all...] |
/freebsd-current/contrib/netbsd-tests/net/net/ |
H A D | t_ipaddress.sh | 35 local ip=10.0.0.1 43 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 $ip/24 49 check_route $ip 'link#2' UHl lo0 53 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 $ip delete 57 check_route_no_entry $ip 61 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 $ip/24 66 check_route $ip 'link#2' UHl lo0 70 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 $ip delete 74 check_route_no_entry $ip 82 local ip [all...] |
/freebsd-current/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei.c | 199 struct icl_pdu *ip; local 207 ip = icl_cxgbei_new_pdu(M_NOWAIT); 208 if (ip == NULL) 210 m_copydata(m, sizeof(*cpl), ISCSI_BHS_SIZE, (caddr_t)ip->ip_bhs); 211 ip->ip_data_len = G_ISCSI_PDU_LEN(len_ddp) - len; 212 icp = ip_to_icp(ip); 237 struct icl_pdu *ip; local 247 ip = icl_cxgbei_new_pdu(M_NOWAIT); 248 if (ip == NULL) 250 icp = ip_to_icp(ip); 300 struct icl_pdu *ip; local 411 struct icl_pdu *ip, *lastip; local 457 struct icl_pdu *ip; local 588 struct icl_pdu *ip; local [all...] |
/freebsd-current/sys/netinet/ |
H A D | in_rss.c | 53 #include <netinet/ip.h> 207 const struct ip *ip; local 227 if (m->m_pkthdr.len < (sizeof(struct ip))) { 231 if (m->m_len < (sizeof(struct ip))) { 237 ip = mtod(m, struct ip *); 238 proto = ip->ip_p; 239 iphlen = ip->ip_hl << 2; 246 if (ip [all...] |
H A D | ip_options.h | 56 int ip_optcopy(struct ip *, struct ip *);
|
H A D | ip_output.c | 75 #include <netinet/ip.h> 114 struct ip *ip; local 117 ip = mtod(m, struct ip *); 120 odst.s_addr = ip->ip_dst.s_addr; 131 ip = mtod(m, struct ip *); 134 if (odst.s_addr != ip->ip_dst.s_addr) { 137 if (in_localip(ip 315 struct ip *ip; local 858 ip_fragment(struct ip *ip, struct mbuf **m_frag, int mtu, u_long if_hwassist_flags) argument 1031 struct ip *ip; local 1523 struct ip *ip; local [all...] |
/freebsd-current/sbin/ipf/libipf/ |
H A D | ipft_hx.c | 60 ip_t *ip; local 72 ip = (ip_t *)buf; 76 mb->mb_len = (char *)ip - buf; 125 t = (char *)ip; 126 ip = (ip_t *)readhex(s, (char *)ip); 130 if (t < (char *)ip) 132 while (t < (char *)ip) {
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | aeabi_cfcmp.S | 50 mov ip, #APSR_C 51 msr APSR_nzcvq, ip 102 moveq ip, #0 109 moveq ip, #(APSR_C | APSR_Z) 110 movne ip, #(APSR_C) 113 msr APSR_nzcvq, ip 127 mov ip, r0 129 mov r1, ip
|
/freebsd-current/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 92 struct inode *ip; local 110 ip = VTOI(vp); 111 dp = ip->i_din1; 112 fs = ITOFS(ip); 113 mp = ITOVFS(ip); 114 ump = ITOUMP(ip); 134 lastlbn = lblkno(fs, ip->i_size); 137 osize = blksize(fs, ip, nb); 140 error = ffs_realloccg(ip, nb, dp->di_db[nb], 141 ffs_blkpref_ufs1(ip, lastlb 597 struct inode *ip; local [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_csum.c | 121 ext2_extattr_blk_csum(struct inode *ip, uint64_t facl, argument 129 fs = ip->i_e2fs; 144 ext2_extattr_blk_csum_verify(struct inode *ip, struct buf *bp) argument 150 if (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, EXT2F_ROCOMPAT_METADATA_CKSUM) && 151 (header->h_checksum != ext2_extattr_blk_csum(ip, ip->i_facl, header))) { 160 ext2_extattr_blk_csum_set(struct inode *ip, struct buf *bp) argument 164 if (!EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, EXT2F_ROCOMPAT_METADATA_CKSUM)) 168 header->h_checksum = ext2_extattr_blk_csum(ip, ip 180 ext2_is_dirent_tail(struct inode *ip, struct ext2fs_direct_2 *ep) argument 201 ext2_dirent_get_tail(struct inode *ip, struct ext2fs_direct_2 *ep) argument 228 ext2_dirent_csum(struct inode *ip, struct ext2fs_direct_2 *ep, int size) argument 248 ext2_dirent_csum_verify(struct inode *ip, struct ext2fs_direct_2 *ep) argument 265 ext2_get_dx_count(struct inode *ip, struct ext2fs_direct_2 *ep, int *offset) argument 294 ext2_dx_csum(struct inode *ip, struct ext2fs_direct_2 *ep, int count_offset, int count, struct ext2fs_htree_tail *tp) argument 322 ext2_dx_csum_verify(struct inode *ip, struct ext2fs_direct_2 *ep) argument 349 ext2_dir_blk_csum_verify(struct inode *ip, struct buf *bp) argument 374 ext2_dirent_csum_set(struct inode *ip, struct ext2fs_direct_2 *ep) argument 393 ext2_dx_csum_set(struct inode *ip, struct ext2fs_direct_2 *ep) argument 420 ext2_extent_blk_csum(struct inode *ip, struct ext4_extent_header *ehp) argument 441 ext2_extent_blk_csum_verify(struct inode *ip, void *data) argument 469 ext2_extent_blk_csum_set(struct inode *ip, void *data) argument 571 ext2_ei_csum(struct inode *ip, struct ext2fs_dinode *ei) argument 615 ext2_ei_csum_verify(struct inode *ip, struct ext2fs_dinode *ei) argument 654 ext2_ei_csum_set(struct inode *ip, struct ext2fs_dinode *ei) argument [all...] |
H A D | ext2_extattr.c | 175 ext2_extattr_block_check(struct inode *ip, struct buf *bp) argument 187 return (ext2_extattr_blk_csum_verify(ip, bp)); 191 ext2_extattr_inode_list(struct inode *ip, int attrnamespace, argument 202 fs = ip->i_e2fs; 204 if ((error = bread(ip->i_devvp, 205 fsbtodb(fs, ino_to_fsba(fs, ip->i_number)), 213 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ip->i_number)); 265 ext2_extattr_block_list(struct inode *ip, int attrnamespace, argument 276 fs = ip->i_e2fs; 278 error = bread(ip 332 ext2_extattr_inode_get(struct inode *ip, int attrnamespace, const char *name, struct uio *uio, size_t *size) argument 407 ext2_extattr_block_get(struct inode *ip, int attrnamespace, const char *name, struct uio *uio, size_t *size) argument 538 ext2_extattr_inode_delete(struct inode *ip, int attrnamespace, const char *name) argument 628 ext2_extattr_block_clone(struct inode *ip, struct buf **bpp) argument 670 ext2_extattr_block_delete(struct inode *ip, int attrnamespace, const char *name) argument 902 ext2_extattr_inode_set(struct inode *ip, int attrnamespace, const char *name, struct uio *uio) argument 1063 ext2_extattr_block_set(struct inode *ip, int attrnamespace, const char *name, struct uio *uio) argument 1213 ext2_extattr_free(struct inode *ip) argument [all...] |
/freebsd-current/stand/libsa/ |
H A D | udp.c | 46 #include <netinet/ip.h> 54 /* Caller must leave room for ethernet, ip and udp headers in front!! */ 90 uh->uh_sum = in_cksum(ui, len + sizeof (struct ip)); 137 struct ip *ip; local 138 struct ip tip; 140 n = ntohs(uh->uh_ulen) + sizeof(*ip); 142 /* Check checksum (must save and restore ip header) */ 143 ip = (struct ip *)u [all...] |
/freebsd-current/sys/ufs/ufs/ |
H A D | ufs_lookup.c | 754 ufs_dirbad(struct inode *ip, doff_t offset, char *how) argument 758 ITOV(ip)->v_mount->mnt_stat.f_mntonname, (uintmax_t)ip->i_number, 808 * argument ip is the inode to which the new directory entry will refer. 811 ufs_makedirentry(struct inode *ip, struct componentname *cnp, argument 819 newdirp->d_ino = ip->i_number; 827 if (!OFSFMT(ITOV(ip))) 828 newdirp->d_type = IFTODT(ip->i_mode); 1104 ufs_dirremove(struct vnode *dvp, struct inode *ip, int flags, int isrmdir) argument 1117 if (ip) { 1301 ufs_dirempty(struct inode *ip, ino_t parentino, struct ucred *cred) argument 1460 ufs_assert_inode_offset_owner(struct inode *ip, struct iown_tracker *tr, const char *name, const char *file, int line) argument 1483 ufs_set_inode_offset_owner(struct inode *ip, struct iown_tracker *tr, const char *file, int line) argument 1504 ufs_init_trackers(struct inode *ip) argument 1512 ufs_unlock_tracker(struct inode *ip) argument 1524 ufs_get_i_offset(struct inode *ip, const char *file, int line) argument 1532 ufs_set_i_offset(struct inode *ip, doff_t off, const char *file, int line) argument 1539 ufs_get_i_count(struct inode *ip, const char *file, int line) argument 1547 ufs_set_i_count(struct inode *ip, int32_t cnt, const char *file, int line) argument 1554 ufs_get_i_endoff(struct inode *ip, const char *file, int line) argument 1562 ufs_set_i_endoff(struct inode *ip, doff_t off, const char *file, int line) argument [all...] |