/freebsd-10.0-release/sys/fs/ext2fs/ |
H A D | ext2_vnops.c | 187 struct inode *ip; local 192 ip = VTOI(vp); 193 if ((ip->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE)) == 0) 196 ip->i_flag |= IN_LAZYMOD; 198 ip->i_flag |= IN_MODIFIED; 201 if (ip->i_flag & IN_ACCESS) { 202 ip->i_atime = ts.tv_sec; 203 ip->i_atimensec = ts.tv_nsec; 205 if (ip->i_flag & IN_UPDATE) { 206 ip 283 struct inode *ip = VTOI(vp); local 321 struct inode *ip = VTOI(vp); local 363 struct inode *ip = VTOI(vp); local 495 struct inode *ip = VTOI(vp); local 533 struct inode *ip = VTOI(vp); local 596 struct inode *ip; local 633 struct inode *ip; local 662 struct inode *ip; local 728 struct inode *ip, *xp, *dp; local 1080 struct inode *ip, *dp; local 1211 struct inode *ip, *dp; local 1277 struct inode *ip; local 1307 struct inode *ip = VTOI(vp); local 1330 struct inode *ip; local 1367 struct inode *ip = VTOI(vp); local 1486 struct inode *ip; local 1504 struct inode *ip; local 1527 struct inode *ip, *pdir; local 1611 struct inode *ip; local 1634 struct inode *ip; local 1792 struct inode *ip; local 1894 struct inode *ip; local [all...] |
H A D | ext2_balloc.c | 60 ext2_balloc(struct inode *ip, e2fs_lbn_t lbn, int size, struct ucred *cred, argument 66 struct vnode *vp = ITOV(ip); 75 fs = ip->i_e2fs; 76 ump = ip->i_ump; 83 if (lbn == ip->i_next_alloc_block + 1) { 84 ip->i_next_alloc_block++; 85 ip->i_next_alloc_goal++; 92 nb = ip->i_db[lbn]; 95 if (nb != 0 && ip->i_size >= (lbn + 1) * fs->e2fs_bsize) { 109 osize = fragroundup(fs, blkoff(fs, ip [all...] |
/freebsd-10.0-release/contrib/amd/wire-test/ |
H A D | wire-test.c | 61 struct sockaddr_in *ip; local 98 ip = (struct sockaddr_in *) xmalloc(sizeof(struct sockaddr_in)); 99 memset((voidp) ip, 0, sizeof(*ip)); 101 ip->sin_family = AF_INET; 102 memmove((voidp) &ip->sin_addr, (voidp) hp->h_addr, sizeof(ip->sin_addr)); 103 ip->sin_port = htons(NFS_PORT); 110 ret = get_nfs_version(testhost, ip, nv, proto); 120 ret = get_nfs_version(testhost, ip, n [all...] |
/freebsd-10.0-release/sys/ufs/ffs/ |
H A D | ffs_subr.c | 64 * directory "ip". If "res" is non-zero, fill it in with a pointer to the 74 struct inode *ip; local 80 ip = VTOI(vp); 81 fs = ip->i_fs; 83 bsize = blksize(fs, ip, lbn); 102 ffs_load_inode(bp, ip, fs, ino) 104 struct inode *ip; 109 if (ip->i_ump->um_fstype == UFS1) { 110 *ip->i_din1 = 112 ip [all...] |
H A D | ffs_inode.c | 84 struct inode *ip; local 89 ip = VTOI(vp); 90 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) 92 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED); 93 fs = ip->i_fs; 94 if (fs->fs_ronly && ip->i_ump->um_fsckpid == 0) 108 if (IS_SNAPSHOT(ip)) 111 error = breadn_flags(ip->i_devvp, 112 fsbtodb(fs, ino_to_fsba(fs, ip->i_number)), 119 KASSERT((IS_SNAPSHOT(ip)), ("EBUS 180 struct inode *ip; local 703 ffs_rdonly(struct inode *ip) argument [all...] |
/freebsd-10.0-release/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 69 ffs_balloc(struct inode *ip, off_t offset, int bufsize, struct buf **bpp) argument 71 if (ip->i_fs->fs_magic == FS_UFS2_MAGIC) 72 return ffs_balloc_ufs2(ip, offset, bufsize, bpp); 74 return ffs_balloc_ufs1(ip, offset, bufsize, bpp); 78 ffs_balloc_ufs1(struct inode *ip, off_t offset, int bufsize, struct buf **bpp) argument 84 struct fs *fs = ip->i_fs; 109 lastlbn = lblkno(fs, ip->i_ffs1_size); 112 osize = blksize(fs, ip, nb); 124 nb = ufs_rw32(ip->i_ffs1_db[lbn], needswap); 125 if (nb != 0 && ip 330 ffs_balloc_ufs2(struct inode *ip, off_t offset, int bufsize, struct buf **bpp) argument [all...] |
/freebsd-10.0-release/sys/arm/arm/ |
H A D | cpufunc_asm_armv5_ec.S | 77 ldr ip, .Larmv5_ec_line_size 80 ldr ip, [ip] 82 sub r3, ip, #1 89 add r0, r0, ip 90 subs r1, r1, ip 118 ldr ip, .Larmv5_ec_line_size 121 ldr ip, [ip] 123 sub r3, ip, # [all...] |
/freebsd-10.0-release/sys/ufs/ufs/ |
H A D | ufs_gjournal.c | 60 struct inode *ip; local 66 ip = VTOI(vp); 67 ump = ip->i_ump; 68 fs = ip->i_fs; 69 devvp = ip->i_devvp; 70 ino = ip->i_number; 108 struct inode *ip; local 114 ip = VTOI(vp); 115 if ((vp->v_type == VDIR && ip->i_nlink > 2) || 116 (vp->v_type != VDIR && ip 127 struct inode *ip; local [all...] |
H A D | acl.h | 42 void ufs_sync_acl_from_inode(struct inode *ip, struct acl *acl); 43 void ufs_sync_inode_from_acl(struct acl *acl, struct inode *ip);
|
/freebsd-10.0-release/sys/netinet/ |
H A D | ip_options.c | 59 #include <netinet/ip.h> 98 struct ip *ip = mtod(m, struct ip *); local 115 dst = ip->ip_dst; 116 cp = (u_char *)(ip + 1); 117 cnt = (ip->ip_hl << 2) - sizeof (struct ip); 126 code = &cp[IPOPT_OLEN] - (u_char *)ip; 131 code = &cp[IPOPT_OLEN] - (u_char *)ip; 461 struct ip *ip = mtod(m, struct ip *); local 487 struct ip *ip = mtod(m, struct ip *); local 533 ip_optcopy(struct ip *ip, struct ip *jp) argument 697 struct ip *ip = mtod(m, struct ip *); local [all...] |
H A D | ip_fastfwd.c | 105 #include <netinet/ip.h> 164 struct ip *ip; local 193 if (m->m_pkthdr.len < sizeof(struct ip)) { 199 * Is first mbuf large enough for ip header and is header present? 201 if (m->m_len < sizeof (struct ip) && 202 (m = m_pullup(m, sizeof (struct ip))) == NULL) { 207 ip = mtod(m, struct ip *); 212 if (ip [all...] |
H A D | ip_gre.c | 68 #include <netinet/ip.h> 96 * De-encapsulate a packet and feed it back through ip input (this 106 proto = (mtod(m, struct ip *))->ip_p; 112 * the mbuf to raw ip socket to see if anyone picks it up. 231 struct ip *ip; local 247 ip = mtod(m, struct ip *); 259 if (m->m_len < (ip->ip_hl << 2) + msiz) { 260 m = m_pullup(m, (ip 318 struct ip *ip = mtod(m, struct ip *); local [all...] |
H A D | ip_options.h | 55 int ip_optcopy(struct ip *, struct ip *);
|
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_netbios_pxy.c | 79 ip_t *ip; local 93 ip = fin->fin_ip; 95 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff; 99 * ip header; 108 dgmbuf[0] = (char)((ip->ip_src.s_addr ) &0xFF); 109 dgmbuf[1] = (char)((ip->ip_src.s_addr >> 8) &0xFF); 110 dgmbuf[2] = (char)((ip->ip_src.s_addr >> 16)&0xFF); 111 dgmbuf[3] = (char)((ip->ip_src.s_addr >> 24)&0xFF);
|
/freebsd-10.0-release/sys/sparc64/include/ |
H A D | in_cksum.h | 70 in_cksum_update(struct ip *ip) argument 74 __tmp = (int)ip->ip_sum + 1; 75 ip->ip_sum = __tmp + (__tmp >> 16); 113 in_cksum_hdr(struct ip *ip) argument 121 * This may read outside of the ip header, but does not cross a page 165 "=&r" (__tmp4) : "1" (ip) : "cc");
|
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | print-ip.c | 26 "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.159 2007-09-14 01:29:28 guy Exp $ (LBL)"; 43 #include "ip.h" 93 ip_finddst(const struct ip *ip) argument 100 cp = (const u_char *)(ip + 1); 101 length = (IP_HL(ip) << 2) - sizeof(struct ip); 130 memcpy(&retval, &ip->ip_dst.s_addr, sizeof(u_int32_t)); 138 nextproto4_cksum(const struct ip *ip, cons argument 316 const struct ip *ip; member in struct:ip_print_demux_state 681 struct ip *ip, hdr; local [all...] |
H A D | ip.h | 1 /* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.12 2007-09-14 01:29:28 guy Exp $ (LBL) */ 34 * @(#)ip.h 8.2 (Berkeley) 6/1/94 50 struct ip { struct 52 #define IP_V(ip) (((ip)->ip_vhl & 0xf0) >> 4) 53 #define IP_HL(ip) ((ip)->ip_vhl & 0x0f) 128 #define IPTS_OFLW(ip) (((ipt)->ipt_oflwflg & 0xf0) >> 4) 129 #define IPTS_FLG(ip) ((ipt)->ipt_oflwflg & 0x0f) 163 /* in print-ip [all...] |
/freebsd-10.0-release/usr.bin/mail/ |
H A D | cmd2.c | 59 int *ip, *ip2, list[2], mdot; local 76 for (ip = msgvec; *ip != 0; ip++) 77 if (*ip > mdot) 79 if (*ip == 0) 80 ip = msgvec; 81 ip2 = ip; 92 } while (ip2 != ip); 159 int f, *msgvec, *ip; local 302 int *ip, last; local 339 int *ip; local [all...] |
/freebsd-10.0-release/sbin/dhclient/ |
H A D | clparse.c | 195 parse_client_statement(FILE *cfile, struct interface_info *ip, argument 231 if (ip) 232 parse_hardware_param(cfile, &ip->hw_address); 270 if (ip) 393 struct interface_info *ip; local 402 ip = interface_or_dummy(val); 404 if (!ip->client) 405 make_client_state(ip); 407 if (!ip->client->config) 408 make_client_config(ip, outer_confi 433 struct interface_info *ip; local 459 make_client_state(struct interface_info *ip) argument 468 make_client_config(struct interface_info *ip, struct client_config *config) argument 490 struct interface_info *ip; local 619 struct interface_info *ip; local [all...] |
/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | ipft_tx.c | 44 * returns an ip address as a long var as a result of either a DNS lookup or 123 ip_t *ip; local 145 ip = (ip_t *)buf; 146 if (IP_V(ip) == 6) { 148 mb->mb_len = ntohs(((ip6_t *)ip)->ip6_plen) + 154 mb->mb_len = ntohs(ip->ip_len); 164 static int parseline(line, ip, ifn, out) 166 ip_t *ip; 177 bzero((char *)ip, MAX(sizeof(*tcp), sizeof(*ic)) + sizeof(*ip)); [all...] |
/freebsd-10.0-release/sys/gnu/fs/reiserfs/ |
H A D | reiserfs_vnops.c | 59 struct reiserfs_node *ip = VTOI(vp); local 84 if ((accmode & VWRITE) && (ip->i_flags & (IMMUTABLE | SF_SNAPSHOT))) { 89 error = vaccess(vp->v_type, ip->i_mode, ip->i_uid, ip->i_gid, 99 struct reiserfs_node *ip = VTOI(vp); local 101 vap->va_fsid = dev2udev(ip->i_dev); 102 vap->va_fileid = ip->i_number; 103 vap->va_mode = ip->i_mode & ~S_IFMT; 104 vap->va_nlink = ip 193 struct reiserfs_node *ip = VTOI(vp); local 315 struct reiserfs_node *ip; local 372 struct reiserfs_node *ip; local [all...] |
/freebsd-10.0-release/etc/rc.d/ |
H A D | netwait | 24 local ip rc count output link 70 for ip in ${netwait_ip}; do 71 echo -n "Waiting for ${ip} to respond to ICMP" 75 /sbin/ping -t 1 -c 1 -o ${ip} >/dev/null 2>&1
|
/freebsd-10.0-release/sbin/natd/ |
H A D | natd.h | 25 extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);
|
/freebsd-10.0-release/sys/contrib/ia64/libuwx/src/ |
H A D | uwx_utable.h | 35 uint64_t ip,
|
/freebsd-10.0-release/lib/libc/db/recno/ |
H A D | rec_delete.c | 150 indx_t *ip, cnt, offset; local 179 for (cnt = &h->linp[idx] - (ip = &h->linp[0]); cnt--; ++ip) 180 if (ip[0] < offset) 181 ip[0] += nbytes; 182 for (cnt = &h->linp[NEXTINDEX(h)] - ip; --cnt; ++ip) 183 ip[0] = ip[1] < offset ? ip[ [all...] |