/freebsd-12-stable/contrib/ipfilter/lib/ |
H A D | printiphdr.c | 13 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 D | count4bits.c | 19 int count4bits(ip) 20 u_int ip; 25 ip = ipn = ntohl(ip); 37 if (ipn == ip)
|
/freebsd-12-stable/stand/arm/uboot/ |
H A D | start.S | 43 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-12-stable/contrib/unbound/contrib/ |
H A D | build-unbound-localzone-from-hosts.pl | 26 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-12-stable/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | switch16.S | 33 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 D | switch32.S | 33 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 D | switch8.S | 33 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 D | switchu8.S | 33 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-12-stable/bin/stty/ |
H A D | key.c | 105 ksearch(char ***argvp, struct info *ip) argument 112 ip->off = 1; 115 ip->off = 0; 121 if (!(kp->flags & F_OFFOK) && ip->off) { 125 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) { 129 kp->f(ip); 134 f_all(struct info *ip) argument 136 print(&ip->t, &ip->win, ip 140 f_cbreak(struct info *ip) argument 155 f_columns(struct info *ip) argument 163 f_dec(struct info *ip) argument 176 f_ek(struct info *ip) argument 185 f_everything(struct info *ip) argument 192 f_extproc(struct info *ip) argument 205 f_ispeed(struct info *ip) argument 213 f_nl(struct info *ip) argument 227 f_ospeed(struct info *ip) argument 235 f_raw(struct info *ip) argument 249 f_rows(struct info *ip) argument 257 f_sane(struct info *ip) argument 272 f_size(struct info *ip) argument 279 f_speed(struct info *ip) argument 286 f_tty(struct info *ip) argument [all...] |
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_inttab.c | 38 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-12-stable/contrib/processor-trace/libipt/src/ |
H A D | pt_last_ip.c | 39 last_ip->ip = 0ull; 44 int pt_last_ip_query(uint64_t *ip, const struct pt_last_ip *last_ip) argument 50 if (ip) 51 *ip = 0ull; 56 if (ip) 57 *ip = 0ull; 61 if (ip) 62 *ip = last_ip->ip; 93 last_ip->ip [all...] |
/freebsd-12-stable/contrib/libxo/tests/core/ |
H A D | test_10.c | 45 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 D | test_01.c | 43 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-12-stable/lib/libc/arm/string/ |
H A D | memset.S | 96 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-12-stable/sbin/hastd/ |
H A D | lzf.c | 112 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-12-stable/sys/arm/arm/ |
H A D | cpufunc_asm_sheeva.S | 73 ldr ip, .Lsheeva_cache_line_size 74 ldr ip, [ip] 75 sub ip, ip, #1 76 and r2, r0, ip 78 add r1, r1, ip 79 bics r1, r1, ip 80 bics r0, r0, ip 82 ldr ip, [all...] |
/freebsd-12-stable/sys/fs/ext2fs/ |
H A D | ext2_inode_cnv.c | 101 ext2_ei2i(struct ext2fs_dinode *ei, struct inode *ip) argument 103 struct m_ext2fs *fs = ip->i_e2fs; 105 if ((ip->i_number < EXT2_FIRST_INO(fs) && ip->i_number != EXT2_ROOTINO) || 106 (ip->i_number < EXT2_ROOTINO) || 107 (ip->i_number > fs->e2fs->e2fs_icount)) { 112 if (ip->i_number == EXT2_ROOTINO && ei->e2di_nlink == 0) { 116 ip->i_nlink = ei->e2di_nlink; 134 ip->i_mode = ei->e2di_nlink ? ei->e2di_mode : 0; 135 ip 178 ext2_i2ei(struct inode *ip, struct ext2fs_dinode *ei) argument [all...] |
/freebsd-12-stable/sys/ufs/ufs/ |
H A D | ufs_inode.c | 77 struct inode *ip = VTOI(vp); local 87 if (ip->i_mode == 0) 100 if ((ip->i_effnlink == 0 && DOINGSOFTDEP(vp)) || 101 (ip->i_nlink <= 0 && !UFS_RDONLY(ip))) { 129 isize = ip->i_size; 130 if (I_IS_UFS2(ip)) 131 isize += ip->i_din2->di_extsize; 132 if (ip->i_effnlink <= 0 && isize && !UFS_RDONLY(ip)) 185 struct inode *ip; local 218 struct inode *ip = VTOI(vp); local 237 UFS_IFREE(ITOUMP(ip), ip); local [all...] |
/freebsd-12-stable/contrib/ipfilter/ipsend/ |
H A D | iptests.c | 69 #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-12-stable/sys/powerpc/include/ |
H A D | in_cksum.h | 54 in_cksum_update(struct ip *ip) argument 57 __tmpsum = (int)ntohs(ip->ip_sum) + 256; 58 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); 63 #define in_cksum_update(ip) \ 66 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \ 67 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \ 75 u_int in_cksum_hdr(const struct ip *ip);
|
/freebsd-12-stable/sys/mips/include/ |
H A D | in_cksum.h | 55 in_cksum_update(struct ip *ip) argument 58 __tmpsum = (int)ntohs(ip->ip_sum) + 256; 59 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); 64 #define in_cksum_update(ip) \ 67 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \ 68 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \ 76 u_int in_cksum_hdr(const struct ip *ip);
|
/freebsd-12-stable/sys/amd64/include/ |
H A D | in_cksum.h | 58 in_cksum_update(struct ip *ip) argument 61 __tmpsum = (int)ntohs(ip->ip_sum) + 256; 62 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); 67 #define in_cksum_update(ip) \ 70 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \ 71 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \ 79 u_int in_cksum_hdr(const struct ip *ip);
|
/freebsd-12-stable/lib/csu/arm/ |
H A D | crti.S | 9 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-12-stable/contrib/traceroute/ |
H A D | rip_output.c | 7 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-12-stable/sys/dev/iscsi/ |
H A D | icl_wrappers.h | 55 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...] |