Home
last modified time | relevance | path

Searched refs:ioctls (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/capsicum-test/
H A Dioctl.cc58 cap_ioctl_t ioctls[16]; in TEST() local
59 memset(ioctls, 0, sizeof(ioctls)); in TEST()
60 ssize_t nioctls = cap_ioctls_get(fd, ioctls, 16); in TEST()
63 EXPECT_EQ((cap_ioctl_t)FIONREAD, ioctls[0]); in TEST()
82 cap_ioctl_t ioctls[16]; in TEST() local
86 nioctls = cap_ioctls_get(fd, ioctls, 16); in TEST()
89 EXPECT_EQ((cap_ioctl_t)FIONREAD, ioctls[0]); in TEST()
94 nioctls = cap_ioctls_get(fd, ioctls, 16); in TEST()
97 EXPECT_EQ((cap_ioctl_t)FIONREAD, ioctls[0]); in TEST()
102 nioctls = cap_ioctls_get(fd, ioctls, 16); in TEST()
[all …]
H A Dopenat.cc102 cap_ioctl_t ioctls[16]; in FORK_TEST() local
104 memset(ioctls, 0, sizeof(ioctls)); in FORK_TEST()
105 nioctls = cap_ioctls_get(fd, ioctls, 16); in FORK_TEST()
108 EXPECT_EQ((cap_ioctl_t)FIONREAD, ioctls[0]); in FORK_TEST()
/freebsd/sys/kern/
H A Dsys_capability.c234 u_long *ioctls; in kern_cap_rights_limit() local
244 ioctls = NULL; in kern_cap_rights_limit()
250 ioctls = fdep->fde_ioctls; in kern_cap_rights_limit()
259 free(ioctls, M_FILECAPS); in kern_cap_rights_limit()
H A Dkern_descrip.c119 struct filecaps *dst, u_long *ioctls);
121 static void filecaps_free_finish(u_long *ioctls);
1725 * Copy filecaps structure allocating memory for ioctls array if needed.
1728 * ioctls are encountered, copying fails and the caller must lock the table.
1756 u_long *ioctls; in filecaps_copy_prep()
1766 ioctls = malloc(size, M_FILECAPS, M_WAITOK); in filecaps_copy_prep()
1767 return (ioctls); in filecaps_copy_prep()
1772 u_long *ioctls) in filecaps_copy_finish()
1778 MPASS(ioctls == NULL); in filecaps_copy_finish()
1783 dst->fc_ioctls = ioctls; in filecaps_copy_finish()
1755 u_long *ioctls; filecaps_copy_prep() local
1771 filecaps_copy_finish(const struct filecaps * src,struct filecaps * dst,u_long * ioctls) filecaps_copy_finish() argument
1832 u_long *ioctls; filecaps_free_prep() local
1840 filecaps_free_finish(u_long * ioctls) filecaps_free_finish() argument
3745 u_long *ioctls; dupfdopen() local
[all...]
/freebsd/sbin/ipfw/tests/
H A Dtest_add_rule.py106 ioctls = reader.get_records(in_data)
107 assert len(ioctls) == 1 # Only 1 ioctl request expected
108 got = ioctls[0]
/freebsd/sys/dev/tws/
H A Dtws.h188 u_int64_t ioctls; member
H A Dtws_services.c387 TWS_TRACE(sc, "reqs(ioctls, scsi)", sc->stats.ioctls in tws_print_stats()
H A Dtws_user.c67 sc->stats.ioctls++; in tws_ioctl()
/freebsd/share/examples/drivers/
H A Dmake_pseudo_driver.sh364 * Definitions needed to access the ${1} device (ioctls etc)
/freebsd/usr.sbin/bhyve/
H A Dgdb.c2166 unsigned long ioctls[] = { FIONREAD }; in limit_gdb_socket() local
2172 if (caph_ioctls_limit(s, ioctls, nitems(ioctls)) == -1) in limit_gdb_socket()
/freebsd/sys/cam/ctl/
H A DREADME.ctl.txt356 This defines all ioctls available through the CTL character device, and
357 the data structures needed for those ioctls.
/freebsd/sys/arm/nvidia/drm2/
H A Dtegra_host1x.c330 .ioctls = host1x_drm_ioctls,
/freebsd/sys/geom/part/
H A Dg_part_if.m174 # ioctl() - implement historic ioctls, perhaps.
/freebsd/sys/dev/drm2/
H A Ddrm_drv.c419 ioctl = &dev->driver->ioctls[nr - DRM_COMMAND_BASE]; in drm_ioctl()
H A DdrmP.h911 struct drm_ioctl_desc *ioctls; member
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_ioctl.inc502 // Handle the most evil ioctls that encode argument value as part of request id.
H A Dsanitizer_common_interceptors.inc1850 // FIXME: some ioctls have different return values for success and failure.
/freebsd/contrib/ntp/
H A Dconfigure.ac1568 # Check for ioctls TIOCGPPSEV
1594 # Check for ioctls TIOCSPPS
1620 # Check for ioctls CIOGETEV
1670 # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG
H A DChangeLog2839 used for IPv6 multicasting ioctls.
3496 used for IPv6 multicasting ioctls.
5119 * Oncore refclock needs PPS or one of two ioctls.
H A DCommitLog[all...]
/freebsd/contrib/libpcap/
H A Dconfigure.ac717 # because net/bpf.h defines ioctls;
720 # used in ioctls defined by net/bpf.h;
1108 # Check whether we have the *BSD-style ioctls.
2227 # and Rosetta doesn't support BPF ioctls, so PPC
H A DCMakeLists.txt1604 # Rosetta, and Rosetta doesn't support BPF ioctls, so PPC
1867 # because net/bpf.h defines ioctls;
1870 # used in ioctls defined by net/bpf.h;
2078 # Check whether we have the *BSD-style ioctls.
H A DCHANGES547 Treat EPERM on ethtool ioctls as meaning "not supported", as
/freebsd/share/doc/IPv6/
H A DIMPLEMENTATION619 routing sockets and ioctls (like SIOCGIFADDR_IN6) and the kernel API