Searched refs:fragoff (Results 1 - 9 of 9) sorted by last modified time

/freebsd-11-stable/sys/ufs/ffs/
H A Dffs_softdep.c8500 (isindir ? blkoff(fs, diroffset) : fragoff(fs, diroffset)) == 0) {
H A Dffs_alloc.c170 if ((u_int)size > fs->fs_bsize || fragoff(fs, size) != 0) {
272 if ((u_int)osize > fs->fs_bsize || fragoff(fs, osize) != 0 ||
273 (u_int)nsize > fs->fs_bsize || fragoff(fs, nsize) != 0) {
2196 if ((u_int)size > fs->fs_bsize || fragoff(fs, size) != 0 ||
2418 if ((u_int)size > fs->fs_bsize || fragoff(fs, size) != 0) {
3242 fragoff(fs, uio->uio_offset) != 0 ||
3243 fragoff(fs, uio->uio_resid) != 0) {
H A Dfs.h295 int32_t fs_fmask; /* ``fragoff'' calc of frag offsets */
585 #define fragoff(fs, loc) /* calculates (loc % fs->fs_fsize) */ \ macro
H A Dffs_suspend.c135 if (fragoff(fs, uio->uio_offset) != 0 ||
136 fragoff(fs, len) != 0) {
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf.c5277 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; local
5279 if (fragoff) {
5280 if (fragoff >= len)
H A Dpf_norm.c822 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; local
884 if (!fragoff && !mff)
906 if (fragoff + ip_len > IP_MAXPACKET) {
907 DPFPRINTF(("max packet %d\n", fragoff + ip_len));
910 max = fragoff + ip_len;
915 DPFPRINTF(("reass frag %d @ %d-%d\n", h->ip_id, fragoff, max));
/freebsd-11-stable/sys/netinet6/
H A Dfrag6.c218 int fragoff, frgpartlen; /* must be larger than u_int16_t */ local
384 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK);
385 if (fragoff == 0) {
398 if (q6->ip6q_unfrglen + fragoff + frgpartlen > IPV6_MAXPACKET) {
405 } else if (fragoff + frgpartlen > IPV6_MAXPACKET) {
416 if (fragoff == 0) {
455 ip6af->ip6af_off = fragoff;
/freebsd-11-stable/usr.sbin/makefs/ffs/
H A Dffs_alloc.c99 if (size > fs->fs_bsize || fragoff(fs, size) != 0) {
438 if (size > fs->fs_bsize || fragoff(fs, size) != 0 ||
/freebsd-11-stable/sbin/dump/
H A Dtraverse.c677 resid = howmany(fragoff(sblock, spcl.c_extsize),
680 resid = howmany(fragoff(sblock, dp->dp2.di_size),

Completed in 237 milliseconds