Home
last modified time | relevance | path

Searched refs:cookies (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_ipsec_pxy.c347 u_32_t cookies[4]; in ipf_p_ipsec_match() local
353 if ((fin->fin_dlen < sizeof(cookies)) || (fin->fin_flx & FI_FRAG)) in ipf_p_ipsec_match()
359 COPYDATA(m, off, sizeof(cookies), (char *)cookies); in ipf_p_ipsec_match()
361 if ((cookies[0] != ipsec->ipsc_icookie[0]) || in ipf_p_ipsec_match()
362 (cookies[1] != ipsec->ipsc_icookie[1])) in ipf_p_ipsec_match()
366 if ((cookies[2]|cookies[3]) == 0) { in ipf_p_ipsec_match()
370 ipsec->ipsc_rcookie[0] = cookies[2]; in ipf_p_ipsec_match()
371 ipsec->ipsc_rcookie[1] = cookies[3]; in ipf_p_ipsec_match()
375 if ((cookies[2] != ipsec->ipsc_rcookie[0]) || in ipf_p_ipsec_match()
376 (cookies[3] != ipsec->ipsc_rcookie[1])) in ipf_p_ipsec_match()
/freebsd/sys/fs/cd9660/
H A Dcd9660_vnops.c343 uint64_t *cookies; member
360 if (idp->cookies) { in iso_uiodir()
366 *idp->cookies++ = off; in iso_uiodir()
445 uint64_t *cookies = NULL; in cd9660_readdir() local
462 idp->cookies = NULL; in cd9660_readdir()
468 cookies = malloc(ncookies * sizeof(*cookies), M_TEMP, M_WAITOK); in cd9660_readdir()
469 idp->cookies = cookies; in cd9660_readdir()
589 free(cookies, M_TEMP); in cd9660_readdir()
595 *ap->a_cookies = cookies; in cd9660_readdir()
/freebsd/lib/libnetgraph/
H A Ddebug.c129 static const struct ng_cookie cookies[] = { variable
305 for (k = 0; cookies[k].cookie != 0; k++) { in NgCookie()
306 if (cookies[k].cookie == cookie) in NgCookie()
307 return cookies[k].type; in NgCookie()
/freebsd/sys/fs/udf/
H A Dudf_vnops.c605 uint64_t *cookies; member
614 if (uiodir->cookies != NULL) { in udf_uiodir()
619 *uiodir->cookies++ = cookie; in udf_uiodir()
785 uint64_t *cookies = NULL; in udf_readdir() local
802 cookies = malloc(sizeof(*cookies) * ncookies, M_TEMP, M_WAITOK); in udf_readdir()
804 uiodir.cookies = cookies; in udf_readdir()
807 uiodir.cookies = NULL; in udf_readdir()
887 free(cookies, M_TEMP); in udf_readdir()
890 *a->a_cookies = cookies; in udf_readdir()
/freebsd/sys/x86/iommu/
H A Damd_intrmap.c82 amdiommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count) in amdiommu_alloc_msi_intr() argument
92 cookies[i] = -1; in amdiommu_alloc_msi_intr()
105 cookies[i] = idx + i; in amdiommu_alloc_msi_intr()
H A Dintel_intrmap.c69 dmar_alloc_msi_intr(device_t src, u_int *cookies, u_int count) in dmar_alloc_msi_intr() argument
79 cookies[i] = -1; in dmar_alloc_msi_intr()
92 cookies[i] = idx + i; in dmar_alloc_msi_intr()
H A Diommu_intrmap.h32 int iommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count);
H A Diommu_utils.c208 x86_no_iommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count) in x86_no_iommu_alloc_msi_intr() argument
298 iommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count) in iommu_alloc_msi_intr() argument
300 return (x86_iommu->alloc_msi_intr(src, cookies, count)); in iommu_alloc_msi_intr()
H A Dx86_iommu.h85 int (*alloc_msi_intr)(device_t src, u_int *cookies, u_int count);
H A Damd_iommu.h199 int amdiommu_alloc_msi_intr(device_t src, u_int *cookies, u_int count);
/freebsd/sys/fs/ext2fs/
H A Dext2_lookup.c148 uint64_t *cookies; in ext2_readdir() local
171 cookies = malloc(ncookies * sizeof(*cookies), M_TEMP, M_WAITOK); in ext2_readdir()
173 *ap->a_cookies = cookies; in ext2_readdir()
176 cookies = NULL; in ext2_readdir()
244 if (cookies != NULL) { in ext2_readdir()
247 *cookies = offset + le16toh(dp->e2d_reclen); in ext2_readdir()
248 cookies++; in ext2_readdir()
/freebsd/sys/fs/tarfs/
H A Dtarfs_vnops.c314 uint64_t **cookies; in tarfs_readdir()
323 cookies = ap->a_cookies; in tarfs_readdir()
472 if (error == 0 && cookies != NULL && ncookies != NULL) { in tarfs_read()
473 TARFS_DPF(VNODE, "%s: Updating NFS cookies\n", __func__); in tarfs_read()
475 *cookies = malloc(ndirents * sizeof(off_t), M_TEMP, M_WAITOK); in tarfs_read()
497 (*cookies)[idx] = off; in tarfs_readlink()
260 uint64_t **cookies; tarfs_readdir() local
/freebsd/sys/fs/fuse/
H A Dfuse_internal.c556 uint64_t *cookies) in fuse_internal_readdir() argument
582 fdi.answ, fdi.iosize, cookediov, ncookies, &cookies))) in fuse_internal_readdir()
610 uint64_t *cookies; in fuse_internal_readdir_processdata() local
612 cookies = *cookiesp; in fuse_internal_readdir_processdata()
667 if (cookies != NULL) { in fuse_internal_readdir_processdata()
672 *cookies = fudge->off; in fuse_internal_readdir_processdata()
673 cookies++; in fuse_internal_readdir_processdata()
680 *cookiesp = cookies; in fuse_internal_readdir_processdata()
H A Dfuse_internal.h253 uint64_t *cookies);
/freebsd/sys/fs/tmpfs/
H A Dtmpfs_vnops.c1442 uint64_t **cookies; in tmpfs_readdir() local
1450 cookies = va->a_cookies; in tmpfs_readdir()
1464 if (cookies != NULL && ncookies != NULL) { in tmpfs_readdir()
1467 *cookies = malloc(maxcookies * sizeof(**cookies), M_TEMP, in tmpfs_readdir()
1472 if (cookies == NULL) in tmpfs_readdir()
1475 error = tmpfs_dir_getdents(tm, node, uio, maxcookies, *cookies, in tmpfs_readdir()
1482 if (error != 0 && cookies != NULL && ncookies != NULL) { in tmpfs_readdir()
1483 free(*cookies, M_TEMP); in tmpfs_readdir()
1484 *cookies = NULL; in tmpfs_readdir()
H A Dtmpfs_subr.c1684 struct uio *uio, int maxcookies, uint64_t *cookies, int *ncookies) in tmpfs_dir_getdents() argument
1709 if (cookies != NULL) in tmpfs_dir_getdents()
1710 cookies[(*ncookies)++] = off; in tmpfs_dir_getdents()
1719 if (cookies != NULL) in tmpfs_dir_getdents()
1720 cookies[(*ncookies)++] = off; in tmpfs_dir_getdents()
1731 if (cookies != NULL) in tmpfs_dir_getdents()
1810 if (cookies != NULL) { in tmpfs_dir_getdents()
1813 cookies[(*ncookies)++] = off; in tmpfs_dir_getdents()
1819 if (cookies == NULL) in tmpfs_dir_getdents()
/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs_vnops.c239 int *eofflag, off_t *cookies, size_t *ncookies) in dtfs_node_readdir() argument
255 PUFFS_STORE_DCOOKIE(cookies, ncookies, *readoff); in dtfs_node_readdir()
274 PUFFS_STORE_DCOOKIE(cookies, ncookies, *readoff); in dtfs_node_readdir()
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c1523 uint64_t *cookies = NULL; in msdosfs_readdir() local
1559 cookies = malloc(ncookies * sizeof(*cookies), M_TEMP, in msdosfs_readdir()
1561 *ap->a_cookies = cookies; in msdosfs_readdir()
1610 if (cookies) { in msdosfs_readdir()
1611 *cookies++ = offset; in msdosfs_readdir()
1737 if (cookies) { in msdosfs_readdir()
1738 *cookies++ = offset + sizeof(struct direntry); in msdosfs_readdir()
/freebsd/sys/x86/x86/
H A Dmsi.c409 u_int cookies[count]; in msi_alloc() local
476 error = iommu_alloc_msi_intr(dev, cookies, count); in msi_alloc()
489 msi->msi_remap_cookie = cookies[i]; in msi_alloc()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetCXXABI.def44 /// - array cookies have a slightly different layout;
60 /// - array cookies, and
/freebsd/sbin/pfctl/
H A Dpfctl.c1590 struct pfctl_syncookies cookies; in pfctl_show_status() local
1597 if ((ret = pfctl_get_syncookies(dev, &cookies)) != 0) { in pfctl_show_status()
1604 print_status(status, &cookies, opts); in pfctl_show_status()
2600 struct pfctl_syncookies cookies; in pfctl_load_syncookies() local
2602 bzero(&cookies, sizeof(cookies)); in pfctl_load_syncookies()
2604 cookies.mode = val; in pfctl_load_syncookies()
2605 cookies.lowwater = pf->syncookieswat[0]; in pfctl_load_syncookies()
2606 cookies.highwater = pf->syncookieswat[1]; in pfctl_load_syncookies()
2608 if (pfctl_set_syncookies(dev, &cookies)) { in pfctl_load_syncookies()
H A Dpfctl_parser.c507 print_status(struct pfctl_status *s, struct pfctl_syncookies *cookies, int opts) in print_status() argument
628 assert(cookies->mode <= PFCTL_SYNCOOKIES_ADAPTIVE); in print_status()
630 PFCTL_SYNCOOKIES_MODE_NAMES[cookies->mode]); in print_status()
634 printf(" %-25s %d %%\n", "highwater", cookies->highwater); in print_status()
635 printf(" %-25s %d %%\n", "lowwater", cookies->lowwater); in print_status()
636 printf(" %-25s %d\n", "halfopen states", cookies->halfopen_states); in print_status()
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c2085 uint64_t *cookies = NULL, *cookiep; in nfsrvd_readdir() local
2148 if (cookies) { in nfsrvd_readdir()
2149 free(cookies, M_TEMP); in nfsrvd_readdir()
2150 cookies = NULL; in nfsrvd_readdir()
2163 &cookies); in nfsrvd_readdir()
2168 if (!cookies && !nd->nd_repstat) in nfsrvd_readdir()
2182 if (cookies) in nfsrvd_readdir()
2183 free(cookies, M_TEMP); in nfsrvd_readdir()
2205 free(cookies, M_TEMP); in nfsrvd_readdir()
2216 cookiep = cookies; in nfsrvd_readdir()
[all …]
/freebsd/sys/ufs/ufs/
H A Dufs_vnops.c2411 uint64_t *cookies; in ufs_readdir() local
2436 cookies = malloc(ncookies * sizeof(*cookies), M_TEMP, M_WAITOK); in ufs_readdir()
2438 *ap->a_cookies = cookies; in ufs_readdir()
2441 cookies = NULL; in ufs_readdir()
2501 if (cookies != NULL) { in ufs_readdir()
2504 *cookies = offset + dp->d_reclen; in ufs_readdir()
2505 cookies++; in ufs_readdir()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_stateless_cookie_generate_cb.pod9 - Callback functions for stateless TLS1.3 cookies

12