Searched refs:ip (Results 1 - 25 of 1028) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintiphdr.c13 printiphdr(ip)
14 ip_t *ip;
16 PRINTF("ip(v=%d,hl=%d,len=%d,tos=%#x,off=%#x,sum=%#x,src=%#x,dst=%#x",
17 ip->ip_v, ip->ip_hl, ntohs(ip->ip_len), ip->ip_tos,
18 ntohs(ip->ip_off), ntohs(ip->ip_sum), ntohl(ip
[all...]
H A Dcount4bits.c19 int count4bits(ip)
20 u_int ip;
25 ip = ipn = ntohl(ip);
37 if (ipn == ip)
/freebsd-11-stable/stand/arm/uboot/
H A Dstart.S43 mrc p15, 0, ip, c1, c0, 0
44 orr ip, ip, #(CPU_CONTROL_UNAL_ENABLE)
45 orr ip, ip, #(CPU_CONTROL_AFLT_ENABLE)
46 mcr p15, 0, ip, c1, c0, 0
60 adr ip, .here_off /* .here_off is a symbol whose value */
61 ldr r0, [ip] /* is its own offset in the text seg. */
62 sub r0, ip, r0 /* Get its pc-relative address and */
72 ldr ip,
[all...]
/freebsd-11-stable/contrib/unbound/contrib/
H A Dbuild-unbound-localzone-from-hosts.pl26 my $ip;
31 $ip = $entry;
37 if ( ($ip ne '127.0.0.1' and $ip ne '::1') or $entry =~ 'localhost' ) {
38 if ( ! defined $ptrhash{$ip} ) {
39 $ptrhash{$ip} = $entry;
40 print ZONE "local-data-ptr: \"$ip $entry\"\n";
48 if ( $ip =~ ':' ) {
52 print ZONE "local-data: \"$entry ${a} $ip\"\n";
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dswitch16.S33 ldrh ip, [lr, #-1] // get first 16-bit word in table
34 cmp r0, ip // compare with index
36 add ip, lr, ip, lsl #1 // compute address of last element in table
39 ldrshhs r0, [ip, #1] // load 16-bit element if r0 out of range
40 add ip, lr, r0, lsl #1 // compute label = lr + element*2
41 bx ip // jump to computed label
H A Dswitch32.S33 ldr ip, [lr, #-1] // get first 32-bit word in table
34 cmp r0, ip // compare with index
36 add ip, lr, ip, lsl #2 // compute address of last element in table
39 ldrhs r0, [ip, #3] // load 32-bit element if r0 out of range
40 add ip, lr, r0 // compute label = lr + element
41 bx ip // jump to computed label
H A Dswitch8.S33 ldrb ip, [lr, #-1] // get first byte in table
34 cmp r0, ip // signed compare with index
37 ldrsbhs r0, [lr, ip] // if out of range, use last entry in table
38 add ip, lr, r0, lsl #1 // compute label = lr + element*2
39 bx ip // jump to computed label
H A Dswitchu8.S33 ldrb ip, [lr, #-1] // get first byte in table
34 cmp r0, ip // compare with index
37 ldrbhs r0, [lr, ip] // if out of range, use last entry in table
38 add ip, lr, r0, lsl #1 // compute label = lr + element*2
39 bx ip // jump to computed label
/freebsd-11-stable/bin/stty/
H A Dkey.c106 ksearch(char ***argvp, struct info *ip) argument
113 ip->off = 1;
116 ip->off = 0;
122 if (!(kp->flags & F_OFFOK) && ip->off) {
126 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) {
130 kp->f(ip);
135 f_all(struct info *ip) argument
137 print(&ip->t, &ip->win, ip
141 f_cbreak(struct info *ip) argument
156 f_columns(struct info *ip) argument
164 f_dec(struct info *ip) argument
177 f_ek(struct info *ip) argument
186 f_everything(struct info *ip) argument
193 f_extproc(struct info *ip) argument
206 f_ispeed(struct info *ip) argument
214 f_nl(struct info *ip) argument
228 f_ospeed(struct info *ip) argument
236 f_raw(struct info *ip) argument
250 f_rows(struct info *ip) argument
258 f_sane(struct info *ip) argument
273 f_size(struct info *ip) argument
280 f_speed(struct info *ip) argument
287 f_tty(struct info *ip) argument
[all...]
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_inode_cnv.c85 ext2_ei2i(struct ext2fs_dinode *ei, struct inode *ip) argument
89 ip->i_nlink = ei->e2di_nlink;
96 ip->i_mode = ei->e2di_nlink ? ei->e2di_mode : 0;
97 ip->i_size = ei->e2di_size;
98 if (S_ISREG(ip->i_mode))
99 ip->i_size |= ((u_int64_t)ei->e2di_size_high) << 32;
100 ip->i_atime = ei->e2di_atime;
101 ip->i_mtime = ei->e2di_mtime;
102 ip->i_ctime = ei->e2di_ctime;
103 if (E2DI_HAS_XTIME(ip)) {
140 ext2_i2ei(struct inode *ip, struct ext2fs_dinode *ei) argument
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_inttab.c38 dt_inttab_t *ip; local
42 if ((ip = dt_zalloc(dtp, sizeof (dt_inttab_t))) == NULL ||
43 (ip->int_hash = dt_zalloc(dtp, sizeof (void *) * len)) == NULL) {
44 dt_free(dtp, ip);
48 ip->int_hdl = dtp;
49 ip->int_hashlen = len;
51 return (ip);
55 dt_inttab_destroy(dt_inttab_t *ip) argument
59 for (hp = ip->int_head; hp != NULL; hp = np) {
61 dt_free(ip
69 dt_inttab_insert(dt_inttab_t *ip, uint64_t value, uint_t flags) argument
103 dt_inttab_size(const dt_inttab_t *ip) argument
109 dt_inttab_write(const dt_inttab_t *ip, uint64_t *dst) argument
[all...]
/freebsd-11-stable/contrib/libxo/tests/core/
H A Dtest_10.c45 struct item *ip; local
121 for (ip = list; ip->i_title; ip++) {
130 ip->i_sku_base, ip->i_sku_num,
131 ip->i_title, ip->i_sold,
132 (ip->i_instock < 5) ? "inverse" : "normal", ip
[all...]
H A Dtest_01.c43 struct item *ip; local
117 for (ip = list; ip->i_title; ip++) {
124 ip->i_sku_base, ip->i_sku_num,
125 ip->i_title, ip->i_sold, ip->i_instock, ip
[all...]
/freebsd-11-stable/lib/libc/arm/string/
H A Dmemset.S96 mov ip, r0
100 ands r2, ip, #0x03 /* Get the bottom two bits */
109 tst ip, #0x04 /* Quad-align for armv5e */
119 strne r3, [ip], #0x04
132 strdge r2, [ip], #0x08
133 strdge r2, [ip], #0x08
134 strdge r2, [ip], #0x08
135 strdge r2, [ip], #0x08
137 strdge r2, [ip], #0x08
138 strdge r2, [ip], #
[all...]
/freebsd-11-stable/usr.bin/lam/
H A Dlam.c80 struct openfile *ip; local
89 for (ip = input; ip->fp != NULL; ip++)
90 linep = gatherline(ip);
94 fputs(ip->sepstring, stdout);
103 struct openfile *ip = input; local
115 ip->fp = stdin;
116 else if ((ip->fp = fopen(p, "r")) == NULL) {
119 ip
177 pad(struct openfile *ip) argument
191 gatherline(struct openfile *ip) argument
[all...]
/freebsd-11-stable/sbin/hastd/
H A Dlzf.c112 const u8 *ip = (const u8 *)in_data; local
114 const u8 *in_end = ip + in_len;
140 *hslot++ = ip;
146 hval = FRST (ip);
147 while (ip < in_end - 2)
149 hval = NEXT (hval, ip);
151 ref = *hslot; *hslot = ip;
155 && ref < ip /* the next test will actually take care of this, but this is faster */
157 && (off = ip - ref - 1) < MAX_OFF
158 && ip
317 u8 const *ip = (const u8 *)in_data; local
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Dcpufunc_asm_sheeva.S72 ldr ip, .Lsheeva_cache_line_size
73 ldr ip, [ip]
74 sub ip, ip, #1
75 and r2, r0, ip
77 add r1, r1, ip
78 bics r1, r1, ip
79 bics r0, r0, ip
81 ldr ip,
[all...]
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_inode.c75 struct inode *ip = VTOI(vp); local
85 if (ip->i_mode == 0)
98 if ((ip->i_effnlink == 0 && DOINGSOFTDEP(vp)) ||
99 (ip->i_nlink <= 0 && !UFS_RDONLY(ip))) {
127 isize = ip->i_size;
128 if (I_IS_UFS2(ip))
129 isize += ip->i_din2->di_extsize;
130 if (ip->i_effnlink <= 0 && isize && !UFS_RDONLY(ip))
183 struct inode *ip; local
216 struct inode *ip = VTOI(vp); local
235 UFS_IFREE(ITOUMP(ip), ip); local
[all...]
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Diptests.c69 #include <netinet/ip.h>
98 void ip_test1(dev, mtu, ip, gwip, ptest)
101 ip_t *ip;
113 IP_HL_A(ip, sizeof(*ip) >> 2);
114 IP_V_A(ip, IPVERSION);
115 ip->ip_tos = 0;
116 ip->ip_off = 0;
117 ip->ip_ttl = 60;
118 ip
[all...]
/freebsd-11-stable/sys/amd64/include/
H A Din_cksum.h56 in_cksum_update(struct ip *ip) argument
59 __tmpsum = (int)ntohs(ip->ip_sum) + 256;
60 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16));
65 #define in_cksum_update(ip) \
68 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \
69 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \
77 u_int in_cksum_hdr(const struct ip *ip);
/freebsd-11-stable/sys/powerpc/include/
H A Din_cksum.h52 in_cksum_update(struct ip *ip) argument
55 __tmpsum = (int)ntohs(ip->ip_sum) + 256;
56 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16));
61 #define in_cksum_update(ip) \
64 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \
65 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \
73 u_int in_cksum_hdr(const struct ip *ip);
/freebsd-11-stable/sys/mips/include/
H A Din_cksum.h53 in_cksum_update(struct ip *ip) argument
56 __tmpsum = (int)ntohs(ip->ip_sum) + 256;
57 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16));
62 #define in_cksum_update(ip) \
65 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \
66 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \
74 u_int in_cksum_hdr(const struct ip *ip);
/freebsd-11-stable/lib/csu/arm/
H A Dcrti.S9 mov ip, sp
10 stmdb sp!, {fp, ip, lr, pc}
11 sub fp, ip, #4
18 mov ip, sp
19 stmdb sp!, {fp, ip, lr, pc}
20 sub fp, ip, #4
/freebsd-11-stable/contrib/traceroute/
H A Drip_output.c7 register struct ip *ip; local
38 m->m_off = MMAXOFF - sizeof(struct ip);
39 m->m_len = sizeof(struct ip);
42 ip = mtod(m, struct ip *);
43 ip->ip_tos = 0;
44 ip->ip_off = 0;
45 ip->ip_p = proto;
46 ip
[all...]
/freebsd-11-stable/sys/dev/iscsi/
H A Dicl_wrappers.h55 icl_pdu_data_segment_length(const struct icl_pdu *ip) argument
58 return (ICL_CONN_PDU_DATA_SEGMENT_LENGTH(ip->ip_conn, ip));
62 icl_pdu_append_data(struct icl_pdu *ip, const void *addr, size_t len, int flags) argument
65 return (ICL_CONN_PDU_APPEND_DATA(ip->ip_conn, ip, addr, len, flags));
69 icl_pdu_get_data(struct icl_pdu *ip, size_t off, void *addr, size_t len) argument
72 ICL_CONN_PDU_GET_DATA(ip->ip_conn, ip, off, addr, len);
76 icl_pdu_queue(struct icl_pdu *ip) argument
83 icl_pdu_free(struct icl_pdu *ip) argument
111 icl_conn_task_setup(struct icl_conn *ic, struct icl_pdu *ip, struct ccb_scsiio *csio, uint32_t *task_tagp, void **prvp) argument
[all...]

Completed in 193 milliseconds

1234567891011>>