Home
last modified time | relevance | path

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

/freebsd-14.2/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.c919 u_int moff; in tcp_default_output() local
959 moff = len % max_len; in tcp_default_output()
960 if (moff != 0) { in tcp_default_output()
961 len -= moff; in tcp_default_output()
1034 u_int moff; in tcp_default_output() local
1083 mb = sbsndptr_noadv(&so->so_snd, off, &moff); in tcp_default_output()
1085 m_copydata(mb, moff, len, in tcp_default_output()
1095 m->m_next = tcp_m_copym(mb, moff, in tcp_default_output()
/freebsd-14.2/sys/dev/ata/
H A Data-lowlevel.c818 int todo, done, off, moff, resid, size, i; in ata_pio_read() local
836 moff = bio->bio_ma_offset + off; in ata_pio_read()
838 bio->bio_ma[moff / PAGE_SIZE]); in ata_pio_read()
839 moff %= PAGE_SIZE; in ata_pio_read()
840 size = min(size, PAGE_SIZE - moff); in ata_pio_read()
841 addr = (void *)(page + moff); in ata_pio_read()
922 moff = bio->bio_ma_offset + off; in ata_pio_write()
924 bio->bio_ma[moff / PAGE_SIZE]); in ata_pio_write()
925 moff %= PAGE_SIZE; in ata_pio_write()
926 size = min(size, PAGE_SIZE - moff); in ata_pio_write()
[all …]
/freebsd-14.2/sys/sys/
H A Dsockbuf.h238 sbsndptr_noadv(struct sockbuf *sb, u_int off, u_int *moff);
240 sbsndmbuf(struct sockbuf *sb, u_int off, u_int *moff);
/freebsd-14.2/sys/kern/
H A Duipc_mbuf.c717 int remain, moff, nsize; in m_dup() local
727 moff = 0; in m_dup()
760 int chunk = min(nsize - n->m_len, m->m_len - moff); in m_dup()
762 m_copydata(m, moff, chunk, n->m_data + n->m_len); in m_dup()
763 moff += chunk; in m_dup()
766 if (moff == m->m_len) { in m_dup()
768 moff = 0; in m_dup()
H A Duipc_sockbuf.c1723 sbsndptr_noadv(struct sockbuf *sb, uint32_t off, uint32_t *moff) in sbsndptr_noadv() argument
1729 *moff = off; in sbsndptr_noadv()
1739 *moff = off; in sbsndptr_noadv()
1776 sbsndmbuf(struct sockbuf *sb, u_int off, u_int *moff) in sbsndmbuf() argument
1798 *moff = off; in sbsndmbuf()
H A Duipc_socket.c2655 int moff, type = 0; local
2901 moff = 0;
2922 if (len > m->m_len - moff)
2923 len = m->m_len - moff;
2937 error = m_unmapped_uiomove(m, moff, uio,
2940 error = uiomove(mtod(m, char *) + moff,
2961 if (len == m->m_len - moff) {
2966 moff = 0;
2986 moff += len;
3080 uio->uio_resid -= m_length(m, NULL) - moff;
/freebsd-14.2/contrib/ntp/ntpd/
H A Drefclock_arc.c470 static const int moff[12] = variable
1269 pp->day += moff[month - 1]; in arc_receive()
/freebsd-14.2/sys/dev/cxgbe/
H A Dt4_main.c4936 uint32_t mtype, uint32_t moff) in copy_cfg_file_to_card() argument
4996 rc = validate_mt_off_len(sc, mtype, moff, cflen, &addr); in copy_cfg_file_to_card()
5000 __func__, mtype, moff, cflen, rc); in copy_cfg_file_to_card()
5042 uint32_t mtype, moff, finicsum, cfcsum, param, val; in apply_cfg_and_initialize() local
5055 moff = 0; in apply_cfg_and_initialize()
5059 moff = t4_flash_cfg_addr(sc); in apply_cfg_and_initialize()
5062 V_FW_CAPS_CONFIG_CMD_MEMADDR64K_CF(moff >> 16) | in apply_cfg_and_initialize()
5077 moff = G_FW_PARAMS_PARAM_Z(val) << 16; in apply_cfg_and_initialize()
5080 V_FW_CAPS_CONFIG_CMD_MEMADDR64K_CF(moff >> 16) | in apply_cfg_and_initialize()
5083 rc = copy_cfg_file_to_card(sc, cfg_file, mtype, moff); in apply_cfg_and_initialize()
[all …]
H A Dadapter.h351 int16_t moff; /* offset of metadata from cl */ member
H A Dt4_sge.c1727 return ((void *)(sd->cl + sd->moff)); in cl_metadata()
5055 sd->moff = rxb->size2; in refill_fl()
5058 sd->moff = 0; in refill_fl()
/freebsd-14.2/sys/netinet/tcp_stacks/
H A Dbbr.c12967 uint32_t moff; in bbr_output_wtime() local
12996 moff = len % (uint32_t)maxseg; in bbr_output_wtime()
12997 if (moff != 0) { in bbr_output_wtime()
12998 len -= moff; in bbr_output_wtime()
13071 uint32_t moff; in bbr_output_wtime() local
13145 mb = sbsndptr_noadv(sb, sb_offset, &moff); in bbr_output_wtime()
13147 m_copydata(mb, moff, (int)len, in bbr_output_wtime()
13160 if ((len + moff) > (sbavail(sb) + ((flags & (TH_FIN | TH_SYN)) ? 1 : 0))) { in bbr_output_wtime()
13163 tp, bbr, len, moff, in bbr_output_wtime()
13171 tp, bbr, len, moff, sbavail(sb), sb_offset, tp->snd_una); in bbr_output_wtime()
[all …]
H A Drack.c21469 uint32_t moff; in rack_output() local
21501 moff = len % (u_int)max_len; in rack_output()
21502 if (moff != 0) { in rack_output()
21504 len -= moff; in rack_output()
21580 uint32_t moff; in rack_output() local
21615 mb = sbsndptr_noadv(sb, sb_offset, &moff); in rack_output()
21617 s_moff = moff; in rack_output()
21619 m_copydata(mb, moff, (int)len, in rack_output()
21632 mb, moff, &len, in rack_output()
/freebsd-14.2/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_itt.inl827 KMP_ITT_DEBUG_PRINT("[sin end] moff( %d )\n", mark);
/freebsd-14.2/share/dict/
H A Dweb2118058 moff