| /f-stack/freebsd/contrib/openzfs/module/zcommon/ |
| H A D | zfs_uio.c | 61 size_t skip = uio->uio_skip; in uiomove_iov() local 113 skip += cnt; in uiomove_iov() 114 if (skip == iov->iov_len) { in uiomove_iov() 115 skip = 0; in uiomove_iov() 119 uio->uio_skip = skip; in uiomove_iov() 132 size_t skip = uio->uio_skip; in uiomove_bvec() local 137 cnt = MIN(bv->bv_len - skip, n); in uiomove_bvec() 146 skip += cnt; in uiomove_bvec() 147 if (skip == bv->bv_len) { in uiomove_bvec() 148 skip = 0; in uiomove_bvec() [all …]
|
| /f-stack/freebsd/netipsec/ |
| H A D | xform_ah.c | 285 *m0 = m = m_pullup(m, skip); in ah_massage_headers() 304 off + 1 < skip) in ah_massage_headers() 386 if (off > skip) { in ah_massage_headers() 426 if (m->m_len <= skip) { in ah_massage_headers() 642 skip, ahx->type, 0); in ah_input() 671 xd->skip = skip; in ah_input() 702 skip = xd->skip; in ah_input_cb() 1028 skip, ahx->type, 1); in ah_output() 1053 xd->skip = skip; in ah_output() 1080 int skip, error; in ah_output_cb() local [all …]
|
| H A D | ipsec_mbuf.c | 65 skip -= m->m_len; in m_makespace() 76 remain = m->m_len - skip; /* data to move */ in m_makespace() 77 if (remain > skip && in m_makespace() 90 *off = skip; in m_makespace() 124 m->m_len = skip + hlen; in m_makespace() 125 *off = skip; in m_makespace() 147 m->m_len = skip; in m_makespace() 158 bcopy(mtod(m, caddr_t) + skip, in m_makespace() 159 mtod(m, caddr_t) + skip + hlen, remain); in m_makespace() 161 *off = skip; in m_makespace() [all …]
|
| H A D | xform_ipcomp.c | 211 if (m->m_len < skip + hlen && (m = m_pullup(m, skip + hlen)) == NULL) { in ipcomp_input() 260 xd->skip = skip; in ipcomp_input() 289 int skip, protoff; in ipcomp_input_cb() local 296 skip = xd->skip; in ipcomp_input_cb() 337 if (m->m_len < skip + hlen && (m = m_pullup(m, skip + hlen)) == NULL) { in ipcomp_input_cb() 349 error = m_striphdr(m, skip, hlen); in ipcomp_input_cb() 396 u_int idx, int skip, int protoff) in ipcomp_output() argument 485 crp->crp_payload_start = skip; in ipcomp_output() 501 xd->skip = skip; in ipcomp_output() 534 int error, skip, protoff; in ipcomp_output_cb() local [all …]
|
| H A D | xform_esp.c | 281 __func__, skip, m->m_pkthdr.len)); in esp_input() 286 if (m->m_len < skip + sizeof(*esp)) { in esp_input() 394 m_copydata(m, skip + SPI_SIZE, in esp_input() 398 crp->crp_aad_start = skip; in esp_input() 418 xd->skip = skip; in esp_input() 497 skip = xd->skip; in esp_input_cb() 588 error = m_striphdr(m, skip, hlen); in esp_input_cb() 605 m->m_pkthdr.len - skip, in esp_input_cb() 674 u_int idx, int skip, int protoff) in esp_output() argument 935 m_copydata(m, skip + SPI_SIZE, in esp_output() [all …]
|
| H A D | ipsec_input.c | 298 if (skip != 0) { in ipsec4_common_input_cb() 302 if (m->m_len < skip && (m = m_pullup(m, skip)) == NULL) { in ipsec4_common_input_cb() 326 udp_ipsec_adjust_cksum(m, sav, prot, skip); in ipsec4_common_input_cb() 336 if (m->m_pkthdr.len - skip < sizeof(struct ip)) { in ipsec4_common_input_cb() 547 m_striphdr(m, 0, skip); in ipsec6_common_input_cb() 548 skip = 0; in ipsec6_common_input_cb() 554 if (m->m_pkthdr.len - skip < sizeof(struct ip)) { in ipsec6_common_input_cb() 560 m_striphdr(m, 0, skip); in ipsec6_common_input_cb() 561 skip = 0; in ipsec6_common_input_cb() 601 if (skip == 0) { in ipsec6_common_input_cb() [all …]
|
| H A D | udpencap.c | 247 int skip) in udp_ipsec_adjust_cksum() argument 264 m_copydata(m, skip + off, sizeof(cksum), in udp_ipsec_adjust_cksum() 281 m_copyback(m, skip + off, sizeof(cksum), (caddr_t)&cksum); in udp_ipsec_adjust_cksum() 285 htons(m->m_pkthdr.len - skip + proto)); in udp_ipsec_adjust_cksum() 286 m_copyback(m, skip + off, sizeof(cksum), (caddr_t)&cksum); in udp_ipsec_adjust_cksum()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | in_cksum.c | 210 len -= skip; in in_cksum_skip() 212 if (m->m_len > skip) { in in_cksum_skip() 214 addr = mtod(m, caddr_t) + skip; in in_cksum_skip() 217 skip -= m->m_len; in in_cksum_skip() 263 in_cksum_skip(m, len, skip) in in_cksum_skip() argument 266 int skip; 274 len -= skip; 275 for (; skip && m; m = m->m_next) { 276 if (m->m_len > skip) { 277 mlen = m->m_len - skip; [all …]
|
| /f-stack/freebsd/opencrypto/ |
| H A D | criov.c | 183 if ((skip + len - 1) / PAGE_SIZE > skip / PAGE_SIZE) in cvm_page_contiguous_segment() 186 pages += (skip / PAGE_SIZE); in cvm_page_contiguous_segment() 187 skip -= rounddown(skip, PAGE_SIZE); in cvm_page_contiguous_segment() 707 MPASS(skip <= INT_MAX); in m_contiguous_subsegment() 709 m = m_getptr(m, (int)skip, &rel_off); in m_contiguous_subsegment() 714 skip = rel_off; in m_contiguous_subsegment() 715 if (skip + len > m->m_len) in m_contiguous_subsegment() 718 return (mtod(m, char*) + skip); in m_contiguous_subsegment() 726 MPASS(skip <= INT_MAX); in cuio_contiguous_segment() 732 skip = rel_off; in cuio_contiguous_segment() [all …]
|
| /f-stack/freebsd/arm/arm/ |
| H A D | in_cksum.c | 106 in_cksum_skip(struct mbuf *m, int len, int skip) in in_cksum_skip() argument 115 len -= skip; in in_cksum_skip() 116 for (; skip && m; m = m->m_next) { in in_cksum_skip() 117 if (m->m_len > skip) { in in_cksum_skip() 118 mlen = m->m_len - skip; in in_cksum_skip() 119 addr = mtod(m, caddr_t) + skip; in in_cksum_skip() 122 skip -= m->m_len; in in_cksum_skip()
|
| /f-stack/freebsd/contrib/ck/include/ |
| H A D | ck_elide.h | 70 unsigned short skip; member 104 if (st->skip != 0) in _ck_elide_fallback() 109 st->skip = c->skip_busy; in _ck_elide_fallback() 114 st->skip = c->skip_other; in _ck_elide_fallback() 120 st->skip = c->skip_conflict; in _ck_elide_fallback() 130 st->skip = USHRT_MAX; in _ck_elide_fallback() 152 if (CK_CC_UNLIKELY(st->skip != 0)) { \ 153 st->skip--; \ 196 st->skip = 0; \
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | in_cksum.c | 196 in_cksum_skip(struct mbuf *m, int len, int skip) in in_cksum_skip() argument 205 len -= skip; in in_cksum_skip() 206 for (; skip && m; m = m->m_next) { in in_cksum_skip() 207 if (m->m_len > skip) { in in_cksum_skip() 208 mlen = m->m_len - skip; in in_cksum_skip() 209 addr = mtod(m, caddr_t) + skip; in in_cksum_skip() 212 skip -= m->m_len; in in_cksum_skip()
|
| /f-stack/freebsd/mips/mips/ |
| H A D | in_cksum.c | 202 in_cksum_skip(struct mbuf *m, int len, int skip) in in_cksum_skip() argument 211 len -= skip; in in_cksum_skip() 212 for (; skip && m; m = m->m_next) { in in_cksum_skip() 213 if (m->m_len > skip) { in in_cksum_skip() 214 mlen = m->m_len - skip; in in_cksum_skip() 215 addr = mtod(m, caddr_t) + skip; in in_cksum_skip() 218 skip -= m->m_len; in in_cksum_skip()
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | in_cksum.c | 194 in_cksum_skip(struct mbuf *m, int len, int skip) in in_cksum_skip() argument 203 len -= skip; in in_cksum_skip() 204 for (; skip && m; m = m->m_next) { in in_cksum_skip() 205 if (m->m_len > skip) { in in_cksum_skip() 206 mlen = m->m_len - skip; in in_cksum_skip() 207 addr = mtod(m, caddr_t) + skip; in in_cksum_skip() 210 skip -= m->m_len; in in_cksum_skip()
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_browser_module.c | 26 size_t skip; member 34 size_t skip; member 280 name = ua + modern[i].skip; in ngx_http_browser() 466 if (browsers[i].skip == 0) { in ngx_http_browser_merge_conf() 481 opera->skip = 0; in ngx_http_browser_merge_conf() 493 n = browsers[i].skip; in ngx_http_browser_merge_conf() 495 browsers[i].skip = ngx_http_modern_browser_masks[n].skip; in ngx_http_browser_merge_conf() 533 return (first->skip - second->skip); in ngx_http_modern_browser_sort() 593 browser->skip = n; in ngx_http_modern_browser()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_blist.c | 797 daddr_t blk, i, r, skip; in blst_meta_alloc() local 806 skip = radix_to_skip(radix); in blst_meta_alloc() 830 i = 1 + digit * skip; in blst_meta_alloc() 914 skip = radix_to_skip(radix); in blst_meta_free() 919 for (i = 1 + digit * skip; blk < endBlk; i += skip) { in blst_meta_free() 937 daddr_t endBlk, i, skip; in blst_copy() local 971 skip = radix_to_skip(radix); in blst_copy() 1029 skip = radix_to_skip(radix); in blst_meta_fill() 1034 i = 1 + digit * skip; in blst_meta_fill() 1051 daddr_t skip; in blst_radix_print() local [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | uio.h | 120 offset_t offset, uio_seg_t seg, ssize_t resid, size_t skip) in uio_iovec_init() argument 132 uio->uio_skip = skip; in uio_iovec_init() 152 ssize_t resid, size_t skip) in uio_iov_iter_init() argument 162 uio->uio_skip = skip; in uio_iov_iter_init()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_hash.c | 719 ngx_uint_t i, k, n, skip, last; in ngx_hash_add_key() local 752 skip = 1; in ngx_hash_add_key() 759 skip = 2; in ngx_hash_add_key() 764 skip = 0; in ngx_hash_add_key() 835 k = ngx_hash_strlow(&key->data[skip], &key->data[skip], last - skip); in ngx_hash_add_key() 839 if (skip == 1) { in ngx_hash_add_key() 846 len = last - skip; in ngx_hash_add_key() 882 if (skip) { in ngx_hash_add_key() 942 len = last - skip; in ngx_hash_add_key() 966 name->len = last - skip; in ngx_hash_add_key() [all …]
|
| /f-stack/freebsd/net/ |
| H A D | radix.c | 82 int skip); 253 rn_satisfies_leaf(char *trial, struct radix_node *leaf, int skip) in rn_satisfies_leaf() argument 263 cplim = cp + length; cp3 += skip; cp2 += skip; in rn_satisfies_leaf() 264 for (cp += skip; cp < cplim; cp++, cp2++, cp3++) in rn_satisfies_leaf() 499 if (skip == 0) in rn_addmask() 500 skip = 1; in rn_addmask() 501 if (mlen <= skip) in rn_addmask() 505 if (skip > 1) in rn_addmask() 506 bcopy(rn_ones + 1, addmask_key + 1, skip - 1); in rn_addmask() 507 bcopy(netmask + skip, addmask_key + skip, mlen - skip); in rn_addmask() [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libshare/os/freebsd/ |
| H A D | nfs.c | 103 zgetline(FILE *fd, const char *skip) in zgetline() argument 109 if (skip != NULL) in zgetline() 110 skiplen = strlen(skip); in zgetline() 123 if (skip != NULL && strncmp(skip, line, skiplen) == 0 && in zgetline()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/thermal/ |
| H A D | nvidia,tegra124-soctherm.txt | 124 * the HW will skip cpu clock's pulse in 85% depth, 125 * skip gpu clock's pulse in 85% level 137 * the HW will skip cpu clock's pulse in 50% depth, 138 * skip gpu clock's pulse in 50% level 151 * settings to skip cpu pulse. 178 * the HW will skip cpu clock's pulse in HIGH level 189 * the HW will skip cpu clock's pulse in MED level 201 * settings to skip cpu pulse.
|
| /f-stack/dpdk/drivers/bus/vmbus/ |
| H A D | vmbus_bufring.c | 215 vmbus_rxbr_read(struct vmbus_br *rbr, void *data, size_t dlen, size_t skip) in vmbus_rxbr_read() argument 221 if (vmbus_br_availread(rbr) < dlen + skip + sizeof(uint64_t)) in vmbus_rxbr_read() 230 rindex = vmbus_br_idxinc(rbr->vbr->rindex, skip, br_dsize); in vmbus_rxbr_read()
|
| /f-stack/freebsd/net80211/ |
| H A D | ieee80211_regdomain.c | 265 int i, skip, nruns; in ieee80211_alloc_countryie() local 300 skip = skipflags[ieee80211_chan2mode(ic->ic_bsschan)]; in ieee80211_alloc_countryie() 302 skip |= IEEE80211_CHAN_2GHZ; in ieee80211_alloc_countryie() 304 skip |= IEEE80211_CHAN_5GHZ; in ieee80211_alloc_countryie() 310 if (c->ic_flags & skip) /* skip band, etc. */ in ieee80211_alloc_countryie()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf_norm.c | 1040 r = r->skip[PF_SKIP_IFP].ptr; in pf_normalize_ip() 1042 r = r->skip[PF_SKIP_DIR].ptr; in pf_normalize_ip() 1044 r = r->skip[PF_SKIP_AF].ptr; in pf_normalize_ip() 1046 r = r->skip[PF_SKIP_PROTO].ptr; in pf_normalize_ip() 1183 r = r->skip[PF_SKIP_IFP].ptr; in pf_normalize_ip6() 1185 r = r->skip[PF_SKIP_DIR].ptr; in pf_normalize_ip6() 1187 r = r->skip[PF_SKIP_AF].ptr; in pf_normalize_ip6() 1190 r = r->skip[PF_SKIP_PROTO].ptr; in pf_normalize_ip6() 1337 r = r->skip[PF_SKIP_IFP].ptr; in pf_normalize_tcp() 1339 r = r->skip[PF_SKIP_DIR].ptr; in pf_normalize_tcp() [all …]
|
| /f-stack/app/redis-5.0.5/tests/support/ |
| H A D | test.tcl | 82 send_data_packet $::test_server_fd skip $name 89 send_data_packet $::test_server_fd skip $name
|