| /src/sys/fs/cd9660/ |
| cd9660_bmap.c | 68 struct iso_node *ip = VTOI(ap->a_vp); local 77 *ap->a_vpp = ip->i_mnt->im_devvp; 84 bshift = ip->i_mnt->im_bshift; 85 *ap->a_bnp = (ip->iso_start + lblkno) << (bshift - DEV_BSHIFT); 94 nblk = (ip->i_size >> bshift) - (lblkno + 1);
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| inet_trigger.c | 26 /* .IP service 28 /* .IP buf 30 /* .IP len 32 /* .IP timeout 76 struct inet_trigger *ip = (struct inet_trigger *) context; local 83 msg_warn("%s: read timeout for service %s", myname, ip->service); 84 event_disable_readwrite(ip->fd); 86 if (close(ip->fd) < 0) 87 msg_warn("%s: close %s: %m", myname, ip->service); 88 myfree(ip->service) 98 struct inet_trigger *ip; local [all...] |
| /src/sys/lib/libsa/ |
| ip.c | 1 /* $NetBSD: ip.c,v 1.5 2022/07/08 07:02:47 skrll Exp $ */ 47 #include <netinet/ip.h> 62 * sends an IP packet, if it's already constructed 65 _sendip(struct iodesc *d, struct ip *ip, size_t len) 69 if (ip->ip_dst.s_addr == INADDR_BROADCAST || ip->ip_src.s_addr == 0 || 70 netmask == 0 || SAMENET(ip->ip_src, ip->ip_dst, netmask)) { 71 ea = arpwhohas(d, ip->ip_dst) 87 struct ip *ip; local 125 struct ip *ip; local [all...] |
| /src/sys/ufs/ext2fs/ |
| ext2fs_subr.c | 78 * directory "ip". If "res" is non-zero, fill it in with a pointer to the 84 struct inode *ip; local 90 ip = VTOI(vp); 91 fs = ip->i_e2fs; 105 ext2fs_itimes(struct inode *ip, const struct timespec *acc, 110 if (!(ip->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE | IN_MODIFY))) { 115 if (ip->i_flag & IN_ACCESS) { 118 EXT2_DINODE_TIME_SET(acc, ip->i_din.e2fs_din, e2di_atime, EXT2_DINODE_SIZE(ip->i_e2fs)); 120 if (ip->i_flag & (IN_UPDATE | IN_MODIFY)) [all...] |
| /src/external/bsd/ipf/dist/lib/ |
| printpacket.c | 25 ip_t *ip; local 27 ip = MTOD(m, ip_t *); 29 if (IP_V(ip) == 6) { 31 len = ntohs(((ip6_t *)ip)->ip6_plen); 33 len = ntohs(((u_short *)ip)[2]); 37 len = ntohs(ip->ip_len); 61 if (IP_V(ip) == 6) { 73 off = ntohs(ip->ip_off); 74 tcp = (struct tcphdr *)((char *)ip + (IP_HL(ip) << 2)) [all...] |
| /src/external/bsd/liblzf/dist/ |
| lzf_d.c | 67 u8 const *ip = (const u8 *)in_data; local 69 u8 const *const in_end = ip + in_len; 74 unsigned int ctrl = *ip++; 87 if (ip + ctrl > in_end) 95 lzf_movsb (op, ip, ctrl); 98 *op++ = *ip++; 109 if (ip >= in_end) 117 len += *ip++; 119 if (ip >= in_end) 127 ref -= *ip++ [all...] |
| /src/external/bsd/mdocml/dist/ |
| dba_read.c | 45 int32_t im, ip, iv, npages; local 51 for (ip = 0; ip < npages; ip++) { 52 pdata = dbm_page_get(ip);
|
| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| 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) 59 for (hp = ip->int_head; hp != NULL; hp = np) { 61 dt_free(ip->int_hdl, hp) [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/ |
| incomplete-type-overload.cc | 30 int *ip; variable
|
| /src/external/ibm-public/postfix/dist/src/dns/ |
| dns_strrecord.c | 91 uint8_t *ip = (uint8_t *) rr->data; local 92 uint8_t usage = *ip++; 93 uint8_t selector = *ip++; 94 uint8_t mtype = *ip++; 100 vstring_sprintf_append(buf, "%02x", *ip++);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
| incomplete-type-overload.cc | 30 int *ip; variable
|
| /src/lib/libc/db/recno/ |
| rec_delete.c | 155 indx_t *ip, cnt, offset; local 185 temp = &h->linp[idx] - (ip = &h->linp[0]); 187 for (cnt = (uint16_t)temp; cnt--; ++ip) 188 if (ip[0] < offset) 189 ip[0] += nbytes; 190 temp = &h->linp[NEXTINDEX(h)] - ip; 192 for (cnt = (uint16_t)temp; --cnt; ++ip) 193 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1] [all...] |
| /src/sys/arch/hp300/include/ |
| cacheops_machdep.h | 83 volatile int *ip = (void *)(MMUbase + MMUCMD); local 89 *ip &= ~MMU_CEN; 90 *ip |= MMU_CEN; 97 volatile int *ip = (void *)(MMUbase + MMUSSTP); local 103 *ip = *ip; 110 volatile int *ip = (void *)(MMUbase + MMUUSTP); local 116 *ip = *ip; 123 volatile int *ip = (void *)(MMUbase + MMUCMD) local 143 volatile int *ip = (void *)(MMUbase + MMUTBINVAL); local 176 volatile int *ip = (void *)(MMUbase + MMUTBINVAL); local 189 volatile int *ip = (void *)(MMUbase + MMUTBINVAL); local [all...] |
| /src/sys/arch/hpcarm/dev/ |
| j720pcic.c | 114 int *ip; local 123 ip = (int *)p->data; 124 sp->power_capability = ip[socket];
|
| /src/sys/arch/ia64/ia64/ |
| db_trace.c | 64 rewindframe(struct unwind_frame *uwf, db_addr_t ip); 76 db_addr_t ip; local 94 ip = tf->tf_special.iip + ((tf->tf_special.psr >> 41) & 3); 102 KASSERT(ip >= kernstart); 103 patchunwindframe(¤t_frame, ip - kernstart, kernstart); 109 while(ip) { 110 sym = db_search_symbol(ip, DB_STGY_ANY, &offset); 114 ip = current_frame.rp; 116 if(!ip) break; 118 rewindframe(¤t_frame, ip); [all...] |
| /src/sys/arch/newsmips/dev/ |
| hb.c | 45 struct newsmips_intr *ip; local 52 ip = &hbintr_tab[i]; 53 LIST_INIT(&ip->intr_q); 98 struct newsmips_intr *ip; local 101 ip = &hbintr_tab[level]; 110 if (LIST_EMPTY(&ip->intr_q)) { 111 LIST_INSERT_HEAD(&ip->intr_q, ih, ih_q); 115 for (curih = LIST_FIRST(&ip->intr_q); 133 struct newsmips_intr *ip; local 136 ip = &hbintr_tab[level] [all...] |
| /src/sys/dev/pci/ixgbe/ |
| if_fdir.c | 90 struct ip *ip; local 112 ip = (struct ip *)(mp->m_data + ehdrlen); 113 ip_hlen = ip->ip_hl << 2; 116 switch (ip->ip_p) { 118 th = (struct tcphdr *)((caddr_t)ip + ip_hlen); 125 uh = (struct udphdr *)((caddr_t)ip + ip_hlen); 140 common.ip ^= ip->ip_src.s_addr ^ ip->ip_dst.s_addr [all...] |
| /src/sys/external/bsd/ipf/netinet/ |
| ip_netbios_pxy.c | 80 ip_t *ip; local 94 ip = fin->fin_ip; 96 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff; 100 * ip header; 109 dgmbuf[0] = (char)((ip->ip_src.s_addr ) &0xFF); 110 dgmbuf[1] = (char)((ip->ip_src.s_addr >> 8) &0xFF); 111 dgmbuf[2] = (char)((ip->ip_src.s_addr >> 16)&0xFF); 112 dgmbuf[3] = (char)((ip->ip_src.s_addr >> 24)&0xFF);
|
| /src/sys/fs/filecorefs/ |
| filecore_node.c | 136 struct filecore_node *ip; local 144 ip = pool_get(&filecore_node_pool, PR_WAITOK); 145 memset(ip, 0, sizeof(struct filecore_node)); 146 ip->i_vnode = vp; 147 ip->i_dev = fcmp->fc_dev; 148 ip->i_number = ino; 149 ip->i_block = -1; 150 ip->i_parent = -2; 154 memcpy(ip->i_dirent.name, "root", 4); 155 ip->i_dirent.load = 0 219 struct filecore_node *ip = VTOI(vp); local 243 struct filecore_node *ip = VTOI(vp); local [all...] |
| /src/sys/net/ |
| rss_config.c | 41 #include <netinet/ip.h> 94 struct ip *ip; local 99 KASSERT(m->m_len >= sizeof (struct ip)); 101 ip = mtod(m, struct ip *); 102 KASSERT(ip->ip_v == IPVERSION); 104 hlen = ip->ip_hl << 2; 105 if (hlen < sizeof(struct ip)) 110 switch (ip->ip_p) [all...] |
| /src/sys/ufs/lfs/ |
| ulfs_vfsops.c | 219 struct inode *ip; local 229 ip = VTOI(nvp); 230 KASSERT(ip != NULL); 231 if (ip->i_mode == 0 || ip->i_gen != ufhp->ufid_gen || 232 (ip->i_state & IN_DEAD)) {
|
| /src/sys/ufs/ufs/ |
| ufs_vfsops.c | 242 struct inode *ip; local 251 ip = VTOI(nvp); 252 KASSERT(ip != NULL); 253 if (ip->i_mode == 0 || ip->i_gen != ufhp->ufid_gen || 254 ((ip->i_mode & IFMT) == IFDIR && ip->i_size == 0)) {
|
| /src/tests/usr.bin/indent/ |
| opt_dj.c | 14 int *ip; variable 23 int *ip; variable
|
| /src/usr.sbin/flashctl/ |
| flashctl.c | 79 struct flash_info_params ip; local 82 error = ioctl(fd, FLASH_GET_INFO, &ip); 97 ep.ep_len = ip.ip_flash_size; 121 struct flash_info_params ip; local 123 error = ioctl(fd, FLASH_GET_INFO, &ip); 130 switch (ip.ip_flash_type) { 138 printf("unknown (%d)", ip.ip_flash_type); 144 (intmax_t)ip.ip_flash_size / 1024 / 1024, 145 (intmax_t)ip.ip_flash_size / ip.ip_page_size 154 struct flash_info_params ip; local [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| x509_internal_test.c | 84 ASN1_OCTET_STRING *ip; local 87 ip = a2i_IPADDRESS(a2i_ipaddress_tests[idx].ipasc); 89 if (!TEST_ptr_null(ip)) { 91 TEST_note("'%s' should not be parsed as IP address", a2i_ipaddress_tests[idx].ipasc); 94 if (!TEST_ptr(ip) 95 || !TEST_int_eq(ASN1_STRING_length(ip), len) 96 || !TEST_mem_eq(ASN1_STRING_get0_data(ip), len, 101 ASN1_OCTET_STRING_free(ip);
|