HomeSort by: relevance | last modified time | path
    Searched defs:ip (Results 1 - 25 of 305) 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
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
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/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(&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/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/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
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 201 const obiotimer_instance_t *ip; local
206 ip = obiotimer_lookup(obio);
207 if (ip == NULL)
211 sc->sc_timerno = ip->timerno;
281 const obiotimer_instance_t *ip; local
284 for (i = 0, ip = obiotimer_instance_tab;
285 i < GPTIMER_INSTANCE_CNT; i++, ip++) {
286 if (ip->addr == obio->obio_addr && ip->intr == obio->obio_intr)
287 return ip;
    [all...]
  /src/sys/arch/hpc/hpc/
disksubr.c 134 int dospartoff, cyl, i, *ip; local
193 for (ip = fat_types; *ip != -1; ip++) {
194 if (dp->mbrp_type == *ip)
  /src/sys/arch/mips/cavium/dev/
octeon_ipd.c 47 #include <netinet/ip.h>
174 /* check L3 (IP) error */
176 struct ip *ip; local
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
108 nouveau_bo_wr32(pb, ip++, lower_32_bits(offset));
109 nouveau_bo_wr32(pb, ip++, upper_32_bits(offset) | length << 8);
  /src/sys/fs/ntfs/
ntfs_ihash.c 77 struct ntnode *ip; local
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
124 LIST_FOREACH(ip, ipp, i_hash) {
125 if (inum == ip->i_number && dev == ip->i_dev
    [all...]
  /src/sys/net/agr/
if_agrether_hash.c 45 #include <netinet/ip.h>
112 struct ip ip_store;
113 const struct ip *ip; local
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
136 ip = mtod(m, struct ip *);
137 switch (ip->ip_v) {
143 sizeof(struct ip));

Completed in 346 milliseconds

1 2 3 4 5 6 7 8 91011>>