HomeSort by: relevance | last modified time | path
    Searched defs:ip (Results 1 - 25 of 304) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/fs/cd9660/
cd9660_bmap.c 68 struct iso_node *ip = VTOI(ap->a_vp); local in function:cd9660_bmap
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/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 in function:sendip
125 struct ip *ip; local in function:readip
    [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 in function:ext2fs_blkatoff
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/tests/lib/libc/gen/
t_fpclassify.c 66 float d2, ip; local in function:ATF_TC_BODY
79 d2 = modff(d1, &ip);
83 i, d1, ip, d2, 0., d1);
84 ATF_CHECK_EQ_MSG(ip, 0,
87 i, d1, ip, d2, 0., d1);
146 double d2, ip; local in function:ATF_TC_BODY
159 d2 = modf(d1, &ip);
163 i, d1, ip, d2, 0., d1);
164 ATF_CHECK_EQ_MSG(ip, 0,
167 i, d1, ip, d2, 0., d1)
226 long double d2, ip; local in function:ATF_TC_BODY
    [all...]
  /src/lib/libc/db/recno/
rec_delete.c 155 indx_t *ip, cnt, offset; local in function:__rec_dleaf
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/newsmips/dev/
hb.c 45 struct newsmips_intr *ip; local in function:hb_attach
52 ip = &hbintr_tab[i];
53 LIST_INIT(&ip->intr_q);
98 struct newsmips_intr *ip; local in function:hb_intr_establish
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 in function:hb_intr_dispatch
136 ip = &hbintr_tab[level]
    [all...]
  /src/sys/external/bsd/ipf/netinet/
ip_netbios_pxy.c 80 ip_t *ip; local in function:ipf_p_netbios_out
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 in function:filecore_loadvnode
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 in function:filecore_inactive
243 struct filecore_node *ip = VTOI(vp); local in function:filecore_reclaim
    [all...]
  /src/sys/fs/ntfs/
ntfs_ihash.c 77 struct ntnode *ip; local in function:ntfs_nthashreinit
90 while ((ip = LIST_FIRST(&oldhash[i])) != NULL) {
91 LIST_REMOVE(ip, i_hash);
92 val = NTNOHASH(ip->i_dev, ip->i_number);
93 LIST_INSERT_HEAD(&hash[val], ip, i_hash);
119 struct ntnode *ip; local in function:ntfs_nthashlookup
124 LIST_FOREACH(ip, ipp, i_hash) {
125 if (inum == ip->i_number && dev == ip->i_dev
    [all...]
  /src/sys/net/
rss_config.c 41 #include <netinet/ip.h>
94 struct ip *ip; local in function:rss_toeplitz_hash_from_mbuf_ipv4
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 in function:ulfs_fhtovp
228 ip = VTOI(nvp);
229 KASSERT(ip != NULL);
230 if (ip->i_mode == 0 || ip->i_gen != ufhp->ufid_gen) {
  /src/sys/ufs/ufs/
ufs_vfsops.c 239 struct inode *ip; local in function:ufs_fhtovp
248 ip = VTOI(nvp);
249 KASSERT(ip != NULL);
250 if (ip->i_mode == 0 || ip->i_gen != ufhp->ufid_gen ||
251 ((ip->i_mode & IFMT) == IFDIR && ip->i_size == 0)) {
  /src/tests/usr.bin/indent/
opt_dj.c 14 int *ip; variable in typeref:typename:int *
23 int *ip; variable in typeref:typename:int *
  /src/sys/arch/ia64/ia64/
db_trace.c 64 rewindframe(struct unwind_frame *uwf, db_addr_t ip);
76 db_addr_t ip; local in function:db_stack_trace_print
94 ip = tf->tf_special.iip + ((tf->tf_special.psr >> 41) & 3);
102 KASSERT(ip >= kernstart);
103 patchunwindframe(&current_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(&current_frame, ip);
    [all...]
  /src/sys/dev/pci/ixgbe/
if_fdir.c 90 struct ip *ip; local in function:ixgbe_atr
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/arch/hpcarm/dev/
j720pcic.c 114 int *ip; local in function:j720_socket_setup
123 ip = (int *)p->data;
124 sp->power_capability = ip[socket];
  /src/sys/arch/hp300/include/
cacheops_machdep.h 83 volatile int *ip = (void *)(MMUbase + MMUCMD); local in function:DCIA_md
89 *ip &= ~MMU_CEN;
90 *ip |= MMU_CEN;
97 volatile int *ip = (void *)(MMUbase + MMUSSTP); local in function:DCIS_md
103 *ip = *ip;
110 volatile int *ip = (void *)(MMUbase + MMUUSTP); local in function:DCIU_md
116 *ip = *ip;
123 volatile int *ip = (void *)(MMUbase + MMUCMD) local in function:PCIA_md
143 volatile int *ip = (void *)(MMUbase + MMUTBINVAL); local in function:TBIA_md
176 volatile int *ip = (void *)(MMUbase + MMUTBINVAL); local in function:TBIAS_md
189 volatile int *ip = (void *)(MMUbase + MMUTBINVAL); local in function:TBIAU_md
    [all...]
  /src/usr.sbin/flashctl/
flashctl.c 79 struct flash_info_params ip; local in function:main
82 error = ioctl(fd, FLASH_GET_INFO, &ip);
97 ep.ep_len = ip.ip_flash_size;
121 struct flash_info_params ip; local in function:main
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 in function:main
    [all...]
  /src/lib/libwrap/
fix_options.c 4 * Routine to disable IP-level socket options. This code was taken from 4.4BSD
24 #include <netinet/ip.h>
40 /* fix_options - get rid of IP-level socket options */
50 struct protoent *ip; local in function:fix_options
71 if ((ip = getprotobyname("ip")) != 0)
72 ipproto = ip->p_proto;
81 * address to the result IP options list when source routing options
83 * other IP options. Solaris 2.x getsockopt() does produce output for
84 * non-routing IP options, and uses the same format as BSD even whe
    [all...]
  /src/sys/arch/arm/gemini/
obio_timer.c 204 const obiotimer_instance_t *ip; local in function:obiotimer_attach
209 ip = obiotimer_lookup(obio);
210 if (ip == NULL)
214 sc->sc_timerno = ip->timerno;
284 const obiotimer_instance_t *ip; local in function:obiotimer_lookup
287 for (i = 0, ip = obiotimer_instance_tab;
288 i < GPTIMER_INSTANCE_CNT; i++, ip++) {
289 if (ip->addr == obio->obio_addr && ip->intr == obio->obio_intr)
290 return ip;
    [all...]
  /src/sys/arch/mips/cavium/dev/
octeon_ipd.c 47 #include <netinet/ip.h>
174 /* check L3 (IP) error */
176 struct ip *ip; local in function:octipd_offload
181 ip = (struct ip *)(IP_OFFSET(data, word2));
182 if (ip->ip_hl == 5)
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dml/
display_mode_lib.h 66 struct _vcs_dpi_ip_params_st ip; member in struct:display_mode_lib
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_dma.c 104 int ip = (chan->dma.ib_put * 2) + chan->dma.ib_base; local in function:nv50_dma_push
108 nouveau_bo_wr32(pb, ip++, lower_32_bits(offset));
109 nouveau_bo_wr32(pb, ip++, upper_32_bits(offset) | length << 8);
  /src/sys/net/agr/
if_agrether_hash.c 45 #include <netinet/ip.h>
112 struct ip ip_store;
113 const struct ip *ip; local in function:agrether_hashmbuf
115 ip = agr_m_extract(m, off, sizeof(*ip), &ip_store);
116 if (ip == NULL) {
120 hash = HASH(&ip->ip_src, sizeof(ip->ip_src), hash);
121 hash = HASH(&ip->ip_dst, sizeof(ip->ip_dst), hash)
    [all...]
  /src/sys/netinet/
tcp_debug.c 89 #include <netinet/ip.h>
135 struct ip *ip; local in function:tcp_trace
136 ip = mtod(m, struct ip *);
137 switch (ip->ip_v) {
143 sizeof(struct ip));

Completed in 31 milliseconds

1 2 3 4 5 6 7 8 91011>>