Home
last modified time | relevance | path

Searched refs:moff (Results 1 – 15 of 15) 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()
1090 m->m_next = tcp_m_copym(mb, moff, in tcp_default_output()
/freebsd/sys/dev/ata/
H A Data-lowlevel.c817 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 = (void *)(page + moff); in ata_pio_read()
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()
925 size = min(size, PAGE_SIZE - moff); in ata_pio_write()
[all …]
/freebsd/sys/sys/
H A Dsockbuf.h240 sbsndptr_noadv(struct sockbuf *sb, u_int off, u_int *moff);
242 sbsndmbuf(struct sockbuf *sb, u_int off, u_int *moff);
/freebsd/sys/kern/
H A Duipc_sockbuf.c1691 sbsndptr_noadv(struct sockbuf *sb, uint32_t off, uint32_t *moff) in sbsndptr_noadv() argument
1697 *moff = off; in sbsndptr_noadv()
1707 *moff = off; in sbsndptr_noadv()
1744 sbsndmbuf(struct sockbuf *sb, u_int off, u_int *moff) in sbsndmbuf() argument
1766 *moff = off; in sbsndmbuf()
H A Duipc_mbuf.c715 int remain, moff, nsize; in m_dup()
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()
712 int remain, moff, nsize; m_dup() local
H A Duipc_socket.c2082 int moff, type = 0; local
2338 moff = 0;
2359 if (len > m->m_len - moff)
2360 len = m->m_len - moff;
2374 error = m_unmapped_uiomove(m, moff, uio,
2377 error = uiomove(mtod(m, char *) + moff,
2398 if (len == m->m_len - moff) {
2403 moff = 0;
2423 moff += len;
2517 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.c4839 uint32_t mtype, uint32_t moff) in copy_cfg_file_to_card() argument
4899 rc = validate_mt_off_len(sc, mtype, moff, cflen, &addr); in copy_cfg_file_to_card()
4903 __func__, mtype, moff, cflen, rc); in copy_cfg_file_to_card()
4945 uint32_t mtype, moff, finicsum, cfcsum, param, val; in apply_cfg_and_initialize() local
4958 moff = 0; in apply_cfg_and_initialize()
4962 moff = t4_flash_cfg_addr(sc); in apply_cfg_and_initialize()
4965 V_FW_CAPS_CONFIG_CMD_MEMADDR64K_CF(moff >> 16) | in apply_cfg_and_initialize()
4980 moff = G_FW_PARAMS_PARAM_Z(val) << 16; in apply_cfg_and_initialize()
4983 V_FW_CAPS_CONFIG_CMD_MEMADDR64K_CF(moff >> 16) | in apply_cfg_and_initialize()
4986 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()
5034 sd->moff = rxb->size2; in refill_fl()
5037 sd->moff = 0; in refill_fl()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c12949 uint32_t moff; in bbr_output_wtime() local
12978 moff = len % (uint32_t)maxseg; in bbr_output_wtime()
12979 if (moff != 0) { in bbr_output_wtime()
12980 len -= moff; in bbr_output_wtime()
13053 uint32_t moff; in bbr_output_wtime() local
13127 mb = sbsndptr_noadv(sb, sb_offset, &moff); in bbr_output_wtime()
13129 m_copydata(mb, moff, (int)len, in bbr_output_wtime()
13142 if ((len + moff) > (sbavail(sb) + ((flags & (TH_FIN | TH_SYN)) ? 1 : 0))) { in bbr_output_wtime()
13145 tp, bbr, len, moff, in bbr_output_wtime()
13153 tp, bbr, len, moff, sbavail(sb), sb_offset, tp->snd_una); in bbr_output_wtime()
[all …]
H A Drack.c22347 uint32_t moff; in rack_output() local
22379 moff = len % (u_int)max_len; in rack_output()
22380 if (moff != 0) { in rack_output()
22382 len -= moff; in rack_output()
22475 uint32_t moff; in rack_output() local
22508 mb = sbsndptr_noadv(sb, sb_offset, &moff); in rack_output()
22510 s_moff = moff; in rack_output()
22512 m_copydata(mb, moff, (int)len, in rack_output()
22537 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