Home
last modified time | relevance | path

Searched refs:moff (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/netinet/
H A Daccf_dns.c47 unsigned long moff; /* Offset of the beginning of m. */ member
77 if (p->offset < p->moff) \
79 while (p->offset >= p->moff + p->m->m_len) { \
80 p->moff += p->m->m_len; \
89 val = *(mtod(p->m, unsigned char *) + (p->offset - p->moff)); \
110 q.moff = 0; in skippacket()
H A Dtcp_output.c907 u_int moff; in tcp_default_output() local
947 moff = len % max_len; in tcp_default_output()
948 if (moff != 0) { in tcp_default_output()
949 len -= moff; in tcp_default_output()
1022 u_int moff; in tcp_default_output() local
1078 mb = sbsndptr_noadv(&so->so_snd, off, &moff); in tcp_default_output()
1080 m_copydata(mb, moff, len, in tcp_default_output()
1093 m->m_next = tcp_m_copym(mb, moff, in tcp_default_output()
/freebsd/sys/dev/ata/
H A Data-lowlevel.c816 int todo, done, off, moff, resid, size, i; in ata_pio_read() local
835 moff = bio->bio_ma_offset + off; in ata_pio_read()
837 bio->bio_ma[moff / PAGE_SIZE]); in ata_pio_read()
838 moff %= PAGE_SIZE; in ata_pio_read()
839 size = min(size, PAGE_SIZE - moff); in ata_pio_read()
840 addr = page + moff; in ata_pio_read()
902 int todo, done, off, moff, resid, size, i; in ata_pio_write() local
921 moff = bio->bio_ma_offset + off; in ata_pio_write()
923 bio->bio_ma[moff / PAGE_SIZE]); in ata_pio_write()
924 moff %= PAGE_SIZE; in ata_pio_write()
[all …]
/freebsd/sys/sys/
H A Dsockbuf.h252 sbsndptr_noadv(struct sockbuf *sb, u_int off, u_int *moff);
254 sbsndmbuf(struct sockbuf *sb, u_int off, u_int *moff);
/freebsd/sys/geom/virstor/
H A Dg_virstor.c1709 size_t moff, len; in g_virstor_zero() local
1715 moff = b->bio_ma_offset + (uintptr_t)addr; in g_virstor_zero()
1716 ma = b->bio_ma + moff / PAGE_SIZE; in g_virstor_zero()
1717 moff %= PAGE_SIZE; in g_virstor_zero()
1719 len = MIN(PAGE_SIZE - moff, length); in g_virstor_zero()
1720 pmap_zero_page_area(*ma, moff, len); in g_virstor_zero()
1722 moff = 0; in g_virstor_zero()
/freebsd/sys/kern/
H A Duipc_sockbuf.c1706 sbsndptr_noadv(struct sockbuf *sb, uint32_t off, uint32_t *moff) in sbsndptr_noadv() argument
1712 *moff = off; in sbsndptr_noadv()
1722 *moff = off; in sbsndptr_noadv()
1759 sbsndmbuf(struct sockbuf *sb, u_int off, u_int *moff) in sbsndmbuf() argument
1781 *moff = off; in sbsndmbuf()
H A Duipc_mbuf.c715 int remain, moff, nsize; in m_dup() local
725 moff = 0; in m_dup()
758 int chunk = min(nsize - n->m_len, m->m_len - moff); in m_dup()
760 m_copydata(m, moff, chunk, n->m_data + n->m_len); in m_dup()
761 moff += chunk; in m_dup()
764 if (moff == m->m_len) { in m_dup()
766 moff = 0; in m_dup()
H A Duipc_socket.c2805 int moff, type = 0; local
3045 moff = 0;
3066 if (len > m->m_len - moff)
3067 len = m->m_len - moff;
3081 error = m_unmapped_uiomove(m, moff, uio,
3084 error = uiomove(mtod(m, char *) + moff,
3105 if (len == m->m_len - moff) {
3110 moff = 0;
3130 moff += len;
3224 uio->uio_resid -= m_length(m, NULL) - moff;
/freebsd/contrib/ntp/ntpd/
H A Drefclock_arc.c470 static const int moff[12] = variable
1269 pp->day += moff[month - 1]; in arc_receive()
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c5243 uint32_t mtype, uint32_t moff, u_int maxlen) in copy_cfg_file_to_card() argument
5303 rc = validate_mt_off_len(sc, mtype, moff, cflen, &addr); in copy_cfg_file_to_card()
5307 __func__, mtype, moff, cflen, rc); in copy_cfg_file_to_card()
5350 uint32_t mtype, moff, finicsum, cfcsum, param, val; in apply_cfg_and_initialize() local
5365 moff = 0; in apply_cfg_and_initialize()
5369 moff = cfg_addr; in apply_cfg_and_initialize()
5372 V_FW_CAPS_CONFIG_CMD_MEMADDR64K_CF(moff >> 16) | in apply_cfg_and_initialize()
5387 moff = G_FW_PARAMS_PARAM_Z(val) << 16; in apply_cfg_and_initialize()
5390 V_FW_CAPS_CONFIG_CMD_MEMADDR64K_CF(moff >> 16) | in apply_cfg_and_initialize()
5393 rc = copy_cfg_file_to_card(sc, cfg_file, mtype, moff, maxlen); in apply_cfg_and_initialize()
[all …]
H A Dadapter.h364 int16_t moff; /* offset of metadata from cl */ member
H A Dt4_sge.c1767 return ((void *)(sd->cl + sd->moff)); in cl_metadata()
5244 sd->moff = rxb->size2; in refill_fl()
5247 sd->moff = 0; in refill_fl()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c12960 uint32_t moff; in bbr_output_wtime() local
12989 moff = len % (uint32_t)maxseg; in bbr_output_wtime()
12990 if (moff != 0) { in bbr_output_wtime()
12991 len -= moff; in bbr_output_wtime()
13064 uint32_t moff; in bbr_output_wtime() local
13138 mb = sbsndptr_noadv(sb, sb_offset, &moff); in bbr_output_wtime()
13140 m_copydata(mb, moff, (int)len, in bbr_output_wtime()
13153 if ((len + moff) > (sbavail(sb) + ((flags & (TH_FIN | TH_SYN)) ? 1 : 0))) { in bbr_output_wtime()
13156 tp, bbr, len, moff, in bbr_output_wtime()
13164 tp, bbr, len, moff, sbavail(sb), sb_offset, tp->snd_una); in bbr_output_wtime()
[all …]
H A Drack.c21248 uint32_t moff; in rack_output() local
21281 moff = len % (u_int)max_len; in rack_output()
21282 if (moff != 0) { in rack_output()
21284 len -= moff; in rack_output()
21377 uint32_t moff; in rack_output() local
21410 mb = sbsndptr_noadv(sb, sb_offset, &moff); in rack_output()
21412 s_moff = moff; in rack_output()
21414 m_copydata(mb, moff, (int)len, in rack_output()
21439 mb, moff, &len, in rack_output()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_itt.inl827 KMP_ITT_DEBUG_PRINT("[sin end] moff( %d )\n", mark);
/freebsd/share/dict/
H A Dweb2118058 moff