Home
last modified time | relevance | path

Searched refs:offp (Results 1 – 25 of 34) sorted by relevance

12

/f-stack/freebsd/ddb/
H A Ddb_sym.h83 #define db_find_sym_and_offset(val,namep,offp) \ argument
84 db_symbol_values(db_search_symbol(val,DB_STGY_ANY,offp),namep,0)
87 #define db_find_xtrn_sym_and_offset(val,namep,offp) \ argument
88 db_symbol_values(db_search_symbol(val,DB_STGY_XTRN,offp),namep,0)
H A Ddb_sym.c369 db_search_symbol(db_addr_t val, db_strategy_t strategy, db_expr_t *offp) in db_search_symbol() argument
384 *offp = 0; in db_search_symbol()
398 *offp = diff; in db_search_symbol()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c79 zfs_file_write_impl(zfs_file_t *fp, const void *buf, size_t count, loff_t *offp, in zfs_file_write_impl() argument
96 auio.uio_offset = *offp; in zfs_file_write_impl()
111 *offp += count - auio.uio_resid; in zfs_file_write_impl()
136 zfs_file_read_impl(zfs_file_t *fp, void *buf, size_t count, loff_t *offp, in zfs_file_read_impl() argument
153 auio.uio_offset = *offp; in zfs_file_read_impl()
163 *offp += count - auio.uio_resid; in zfs_file_read_impl()
187 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument
195 rc = fo_seek(fp, *offp, whence, td); in zfs_file_seek()
197 *offp = td->td_uretoff.tdu_off; in zfs_file_seek()
H A Dzfs_ctldir.c254 uio_t *uio, off_t *offp) in sfs_readdir_common() argument
295 if (offp != NULL) in sfs_readdir_common()
296 *offp = 2 * sizeof (entry); in sfs_readdir_common()
/f-stack/freebsd/netinet6/
H A Droute6.c62 route6_input(struct mbuf **mp, int *offp, int proto) in route6_input() argument
67 int off = *offp, rhlen; in route6_input()
115 *offp += rhlen; in route6_input()
H A Ddest6.c65 dest6_input(struct mbuf **mp, int *offp, int proto) in dest6_input() argument
73 off = *offp; in dest6_input()
127 *offp = off; in dest6_input()
H A Draw_ip6.c161 rip6_input(struct mbuf **mp, int *offp, int proto) in rip6_input() argument
213 m_adj(n, *offp); in rip6_input()
244 if (m->m_pkthdr.len - (*offp + inp->in6p_cksum) < 2 || in rip6_input()
245 in6_cksum(m, proto, *offp, in rip6_input()
246 m->m_pkthdr.len - *offp)) { in rip6_input()
325 m_adj(m, *offp); in rip6_input()
344 ip6_get_prevhdr(m, *offp)); in rip6_input()
H A Dsctp6_usrreq.c61 sctp6_input_with_port(struct mbuf **i_pak, int *offp, uint16_t port) in sctp6_input_with_port() argument
77 iphlen = *offp; in sctp6_input_with_port()
168 sctp6_input(struct mbuf **i_pak, int *offp, int proto SCTP_UNUSED) in sctp6_input() argument
170 return (sctp6_input_with_port(i_pak, offp, 0)); in sctp6_input()
H A Dfrag6.c360 frag6_input(struct mbuf **mp, int *offp, int proto) in frag6_input() argument
383 offset = *offp; in frag6_input()
871 *offp = offset; in frag6_input()
H A Dip6_input.c948 struct mbuf **mp, int *offp) in ip6_hopopts_input() argument
951 int off = *offp, hbhlen; in ip6_hopopts_input()
983 *offp = off; in ip6_hopopts_input()
/f-stack/freebsd/kern/
H A Duipc_mbuf2.c97 m_pulldown(struct mbuf *m, int off, int len, int *offp) in m_pulldown() argument
105 __func__, off, len, offp)); in m_pulldown()
164 if ((off == 0 || offp) && len <= n->m_len - off) in m_pulldown()
211 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen in m_pulldown()
218 if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen in m_pulldown()
264 if (offp) in m_pulldown()
265 *offp = off; in m_pulldown()
H A Dvfs_default.c1279 off_t *offp; in vop_stdioctl() local
1294 offp = ap->a_data; in vop_stdioctl()
1295 if (*offp < 0 || *offp >= va.va_size) in vop_stdioctl()
1298 *offp = va.va_size; in vop_stdioctl()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c245 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument
249 if (*offp < 0 || *offp > MAXOFFSET_T) in zfs_file_seek()
252 rc = vfs_llseek(fp, *offp, whence); in zfs_file_seek()
256 *offp = rc; in zfs_file_seek()
/f-stack/freebsd/netinet/
H A Dip_encap.c369 encap4_input(struct mbuf **mp, int *offp, int proto) in encap4_input() argument
372 if (encap_input(&ipv4_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap4_input()
373 return (rip_input(mp, offp, proto)); in encap4_input()
408 encap6_input(struct mbuf **mp, int *offp, int proto) in encap6_input() argument
411 if (encap_input(&ipv6_encaptab, *mp, *offp, proto) != IPPROTO_DONE) in encap6_input()
412 return (rip6_input(mp, offp, proto)); in encap6_input()
H A Dip_icmp.c403 icmp_input(struct mbuf **mp, int *offp, int proto) in icmp_input() argument
410 int hlen = *offp; in icmp_input()
411 int icmplen = ntohs(ip->ip_len) - *offp; in icmp_input()
745 rip_input(mp, offp, proto); in icmp_input()
H A Dip_carp.c452 carp_input(struct mbuf **mp, int *offp, int proto) in carp_input() argument
459 iplen = *offp; in carp_input()
539 carp6_input(struct mbuf **mp, int *offp, int proto) in carp6_input() argument
572 if (m->m_len < *offp + sizeof(*ch)) { in carp6_input()
574 m = m_pullup(m, *offp + sizeof(*ch)); in carp6_input()
581 ch = (struct carp_header *)(mtod(m, char *) + *offp); in carp6_input()
584 m->m_data += *offp; in carp6_input()
592 m->m_data -= *offp; in carp6_input()
H A Dip_input.c1393 rsvp_input(struct mbuf **mp, int *offp, int proto) in rsvp_input() argument
1402 rsvp_input_p(mp, offp, proto); in rsvp_input()
1418 rip_input(mp, offp, proto); in rsvp_input()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dspa_history.c411 spa_history_get(spa_t *spa, uint64_t *offp, uint64_t *len, char *buf) in spa_history_get() argument
432 if (*offp == 0 && spa_writeable(spa)) in spa_history_get()
450 if (*offp < shpp->sh_pool_create_len) { in spa_history_get()
452 phys_read_off = *offp; in spa_history_get()
460 *offp = MAX(*offp, shpp->sh_bof); in spa_history_get()
461 phys_read_off = spa_history_log_to_phys(*offp, shpp); in spa_history_get()
481 *offp += read_len + leftover; in spa_history_get()
H A Ddmu_diff.c168 zfs_file_t *fp, offset_t *offp) in dmu_diff() argument
212 da.da_offp = offp; in dmu_diff()
H A Ddmu_objset.c2484 uint64_t *idp, uint64_t *offp, boolean_t *case_conflict) in dmu_snapshot_list_next() argument
2497 dsl_dataset_phys(ds)->ds_snapnames_zapobj, *offp); in dmu_snapshot_list_next()
2515 *offp = zap_cursor_serialize(&cursor); in dmu_snapshot_list_next()
2529 uint64_t *idp, uint64_t *offp) in dmu_dir_list_next() argument
2542 dsl_dir_phys(dd)->dd_child_dir_zapobj, *offp); in dmu_dir_list_next()
2558 *offp = zap_cursor_serialize(&cursor); in dmu_dir_list_next()
/f-stack/freebsd/netpfil/pf/
H A Dif_pfsync.c753 int i, offp; in pfsync_in_clr() local
756 mp = m_pulldown(m, offset, len, &offp); in pfsync_in_clr()
795 int i, offp; in pfsync_in_ins() local
835 int offp, i; in pfsync_in_iack() local
908 int offp, i; in pfsync_in_upd() local
993 int offp, i; in pfsync_in_upd_c() local
1077 int i, offp; in pfsync_in_ureq() local
1119 int offp, i; in pfsync_in_del() local
1150 int offp, i; in pfsync_in_del_c() local
1182 int offp; in pfsync_in_bus() local
[all …]
/f-stack/freebsd/contrib/openzfs/config/
H A Dkernel-proc-operations.m412 size_t size, loff_t *offp) { return 0; }
14 size_t size, loff_t *offp) { return 0; }
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_file.h51 int zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence);
H A Ddmu.h997 uint64_t *id, uint64_t *offp, boolean_t *case_conflict);
1002 uint64_t *idp, uint64_t *offp);
1067 zfs_file_t *fp, offset_t *offp);
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dkernel.c1279 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() argument
1283 rc = lseek(fp->f_fd, *offp, whence); in zfs_file_seek()
1287 *offp = rc; in zfs_file_seek()

12