Home
last modified time | relevance | path

Searched +full:no +full:- +full:can +full:- +full:fd (Results 1 – 25 of 1019) sorted by relevance

12345678910>>...41

/freebsd/sbin/ipf/ipf/
H A Dipf.43 ipf \- packet filtering kernel interface
13 ioctl(fd, SIOCADDFR, struct frentry **)
14 ioctl(fd, SIOCDELFR, struct frentry **)
15 ioctl(fd, SIOCIPFFL, int *)
21 ioctl(fd, SIOCADAFR, struct frentry **) (same as SIOCADDFR)
22 ioctl(fd, SIOCRMAFR, struct frentry **) (same as SIOCDELFR)
23 ioctl(fd, SIOCADIFR, struct frentry **)
24 ioctl(fd, SIOCRMIFR, struct frentry **)
25 ioctl(fd, SIOCINAFR, struct frentry **)
26 ioctl(fd, SIOCINIFR, struct frentry **)
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DTerminal.h1 //===-- Terminal.h --------
23 No, global() enumerator
32 No, global() enumerator
42 m_fd(fd) m_fd() argument
50 SetFileDescriptor(int fd) SetFileDescriptor() argument
[all...]
/freebsd/contrib/libpcap/
H A Dpcap-usb-linux.c21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
39 #include "pcap-int.h"
40 #include "pcap-usb-linux.h"
41 #include "pcap-usb-linux-common.h"
72 #include "diag-control.h"
77 #define USBMON_DEV_PREFIX_LEN (sizeof USBMON_DEV_PREFIX - 1)
98 size_t data_len; /* Length of data (can be zero) */
127 u_char *mmapbuf; /* memory-mapped region pointer */
150 * XXX - is there any notion of "up" and "running"? in usb_dev_add()
154 * As this refers to all buses, there's no notion of in usb_dev_add()
[all …]
H A Dpcap-bpf.c31 * at least on *BSD and macOS, it also defines various SIOC ioctls -
51 #define USBUS_PREFIX_LEN (sizeof(usbus_prefix) - 1)
70 * values, not IBM's non-standard IFT_ values.
78 * zero-copy BPF.
129 #include "pcap-int.h"
132 #include "os-proto.h"
137 * to align the IP header on a 4-byte boundary.
149 * Zero-copy read buffer -- for zero-copy BPF. 'buffer' above will
154 * associated with buffer so that it can be used to decide which the
190 * We check this by checking whether IFM_GMASK is defined and > 2^32-1.
[all …]
H A Dpcap-linux.c2 * pcap-linux.c: Packet capture interface to the Linux kernel
5 * Sebastian Krahmer <krahmer@cs.uni-potsdam.de>
36 * Monitor-mode support for mac80211 includes code taken from the iw
60 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
99 #include "pcap-int.h"
100 #include "pcap-util.h"
105 #include "diag-control.h"
124 * least some people are doing cross-builds for MIPS with older versions
135 (__atomic_load_n(&pkt->tp_status, __ATOMIC_ACQUIRE) != TP_STATUS_KERNEL)
137 (__atomic_store_n(&pkt->tp_status, TP_STATUS_KERNEL, __ATOMIC_RELEASE))
[all …]
H A Dpcap-dlpi.c24 * <List-tcpdump-workers@subscriptions.pizzolato.net>,
29 * Packet capture routine for DLPI under SunOS 5, HP-UX 9/10/11, and AIX.
33 * - The DLIOCRAW ioctl() is specific to SunOS.
35 * - There is a bug in bufmod(7) such that setting the snapshot
38 * - It might be desirable to use pfmod(7) to filter packets in the
41 * - An older version of the HP-UX DLPI Programmer's Guide, which
45 * http://docs.hp.com/hpux/onlinedocs/B2355-90093/B2355-90093.html
47 * but is no longer available; it can still be found at
49 * http://h21007.www2.hp.com/dspp/files/unprotected/Drivers/Docs/Refs/B2355-90093.pdf
53 * - The HP-UX 10.x, 11.0, and 11i v1.6 version of the HP-UX DLPI
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/can/
H A Drcar_canfd.txt1 Renesas R-Car CAN FD controller Device Tree Bindings
2 ----------------------------------------------------
5 - compatible: Must contain one or more of the following:
6 - "renesas,rcar-gen3-canfd" for R-Car Gen3 and RZ/G2 compatible controllers.
7 - "renesas,r8a774a1-canfd" for R8A774A1 (RZ/G2M) compatible controller.
8 - "renesas,r8a774b1-canfd" for R8A774B1 (RZ/G2N) compatible controller.
9 - "renesas,r8a774c0-canfd" for R8A774C0 (RZ/G2E) compatible controller.
10 - "renesas,r8a774e1-canfd" for R8A774E1 (RZ/G2H) compatible controller.
11 - "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller.
12 - "renesas,r8a7796-canfd" for R8A7796 (R-Car M3-W) compatible controller.
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DASYNC_WAIT_CTX_new.318 .\" Set up some character translations and predefined strings. \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
[all …]
/freebsd/stand/i386/loader/
H A Dchain.c1 /*-
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
61 int fd, len, size = SECTOR_SIZE; in command_chain() local
71 command_errmsg = "no device or file name specified"; in command_chain()
79 fd = open(argv[1], O_RDONLY); in command_chain()
80 if (fd == -1) { in command_chain()
86 vctx = vectx_open(fd, argv[1], 0L, NULL, &verror, __func__); in command_chain()
88 sprintf(command_errbuf, "can't verify: %s", argv[1]); in command_chain()
89 close(fd); in command_chain()
95 if (verify_file(fd, argv[1], 0, VE_MUST, __func__) < 0) { in command_chain()
[all …]
/freebsd/share/man/man4/
H A Dfdc.420 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
44 .Cd hint.fd.0.at="fdc0"
45 .Cd hint.fd.0.drive="0"
46 .Cd hint.fd.0.flags="0x0"
47 .Cd hint.fd.1.at="fdc0"
48 .Cd hint.fd.1.drive="1"
49 .Cd hint.fd.1.flags="0x0"
54 either FM (single-density) or MFM (double or high-density) recording
57 Floppy disk controllers can connect up to four drives each.
60 driver can currently handle up to two drives per controller (or four
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DASYNC_WAIT_CTX_new.pod12 - functions to manage waiting for asynchronous jobs to complete
26 OSSL_ASYNC_FD fd,
31 OSSL_ASYNC_FD *fd, void **custom_data);
32 int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, OSSL_ASYNC_FD *fd,
53 this would have a one-to-one correspondence with an SSL connection.
59 any one time, but can be reused after an B<ASYNC_JOB> has finished for a
63 B<ASYNC_WAIT_CTX>s can have "wait" file descriptors associated with them.
66 associated with that job in I<*fd>. The number of file descriptors returned will
68 sufficient memory has been allocated in I<*fd> to receive all the file
69 descriptors. Calling ASYNC_WAIT_CTX_get_all_fds() with a NULL I<fd> value will
[all …]
/freebsd/share/doc/psd/05.sysman/
H A D2.1.t19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
35 may occur in a non-blocking or asynchronous fashion are
36 common to all system-defined abstractions and are described here.
40 The \fIread\fP and \fIwrite\fP system calls can be applied
44 cc = read(fd, buf, nbytes);
45 result int cc; int fd; result caddr_t buf; int nbytes;
47 cc = write(fd, buf, nbytes);
48 result int cc; int fd; caddr_t buf; int nbytes;
51 object defined by \fIfd\fP to the buffer at address \fIbuf\fP of
53 returned in \fIcc\fP, which is \-1 if a return occurred before
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_open_filename.c1 /*-
2 * Copyright (c) 2003-2010 Tim Kientzle
17 * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
73 int fd; member
129 strcpy(mine->filename.m, filename); in archive_read_open_filenames()
130 mine->block_size = block_size; in archive_read_open_filenames()
131 mine->fd = -1; in archive_read_open_filenames()
132 mine->buffer = NULL; in archive_read_open_filenames()
133 mine->st_mode = mine->use_lseek = 0; in archive_read_open_filenames()
135 mine->filename_type = FNT_STDIN; in archive_read_open_filenames()
[all …]
H A Darchive_write_open_filename.c1 /*-
2 * Copyright (c) 2003-2007 Tim Kientzle
17 * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
59 int fd; member
103 archive_set_error(a, ENOMEM, "No memory"); in open_filename()
107 r = archive_mstring_copy_mbs(&mine->filename, filename); in open_filename()
109 r = archive_mstring_copy_wcs(&mine->filename, filename); in open_filename()
112 archive_set_error(a, ENOMEM, "No memory"); in open_filename()
117 "Can't convert '%s' to WCS", in open_filename()
121 "Can't convert '%S' to MBS", in open_filename()
[all …]
/freebsd/lib/libfigpar/
H A Dfigpar.c1 /*-
2 * Copyright (c) 2002-2015 Devin Teske <dteske@FreeBSD.org>
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
44 * If no match is found, a pointer to the static dummy array (above) is
64 /* Re-initialize the dummy variable in case it was written to */ in get_config_option()
74 * Parse the configuration file at `path' and execute the `action' call-back
78 * For unknown directives that are encountered, you can optionally pass a
79 * call-back function for the third argument to be called for unknowns.
81 * Returns zero on success; otherwise returns -1 and errno should be consulted.
103 int fd; in parse_config() local
[all …]
/freebsd/sbin/nvmecontrol/
H A Dns.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (C) 2018-2019 Alexander Motin <mav@FreeBSD.org>
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
80 { arg_string, &active_opt.dev, "controller-id|namespace-id" },
113 { arg_string, &controllers_opt.dev, "controller-i
401 int fd, i; nsactive() local
446 int fd, i; nsallocated() local
491 int fd, i, n; nscontrollers() local
544 int fd, result; nscreate() local
634 int fd, result; nsdelete() local
701 int fd, result; nsattach() local
771 int fd, result; nsdetach() local
848 int fd, i, n; nsattached() local
901 int fd; nsidentify() local
[all...]
/freebsd/tests/sys/audit/
H A Dutils.c1 /*-
16 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
34 #include <atf-c.h>
66 ATF_REQUIRE((reclen = au_read_rec(pipestream, &buff)) != -1); in get_records()
73 if (au_fetch_tok(&token, buff + bytes, reclen - bytes) == -1) { in get_records()
90 * Override the system-wide audit mask settings in /etc/security/audit_control
107 /* Set local preselection flag for non-attributable audit_events */ in set_preselect_mode()
113 atf_tc_fail("Query max-limit: %s", strerror(errno)); in set_preselect_mode()
117 atf_tc_fail("Set max-qlimit: %s", strerror(errno)); in set_preselect_mode()
125 * Get the corresponding audit_mask for class-name "name" then set the
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dlocal.h2 * Copyright (c) 2000-2002, 2004-2006 Proofpoint, Inc. and its suppliers.
11 * forth in the LICENSE file which can be found at the top level of
14 * $Id: local.h,v 1.59 2013-11-22 20:51:43 ca Exp $
83 ((((fp)->f_flags & SMWR) == 0 || (fp)->f_bf.smb_base == NULL) && \
91 #define HASUB(fp) ((fp)->f_ub.smb_base != NULL)
94 if ((fp)->f_ub.smb_base != (fp)->f_ubuf) \
95 sm_free((char *)(fp)->f_ub.smb_base); \
96 (fp)->f_ub.smb_base = NULL; \
113 ** SM_CONVERT_TIME -- convert the API timeout flag for select() usage.
116 ** file descriptor (fd) if possible. The 'fd' is needed to possibly
[all …]
/freebsd/contrib/capsicum-test/
H A Dfcntl.cc17 #include "capsicum-test.h"
21 // capability-wrapped ones.
35 sprintf(shm_name, "/capsicum-test-%d", getuid()); in FORK_TEST()
37 if ((files["SHM"] == -1) && errno == ENOSYS) { in FORK_TEST()
38 // shm_open() is not implemented in user-mode Linux. in FORK_TEST()
46 std::string key = ii->first + " cap"; in FORK_TEST()
47 caps[key] = dup(ii->second); in FORK_TEST()
49 EXPECT_OK(caps[key]) << " on " << ii->first; in FORK_TEST()
57 // Ensure that we can fcntl() all the files that we opened above. in FORK_TEST()
61 EXPECT_OK(fcntl(ii->second, F_GETFL, 0)) << " on " << ii->first; in FORK_TEST()
[all …]
/freebsd/lib/libsys/
H A Dopen.219 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
41 .Fn openat "int fd" "const char *path" "int flags" "..."
82 .Fa fd
94 .Fa fd
104 .Fa fd
117 .Fa fd .
122 .Fa fd .
123 Additionally, no symbolic link in
126 .Fa fd
138 MIB is set to zero, ".." is not allowed if found on non-local filesystem.
[all …]
/freebsd/tools/tools/zfsboottest/
H A Dzfsboottest.c1 /*-
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
59 int fd; in ldi_get_size() local
61 fd = *(int *)priv; in ldi_get_size()
62 if (fstat(fd, &sb) != 0) in ldi_get_size()
64 if (S_ISCHR(sb.st_mode) && ioctl(fd, DIOCGMEDIASIZE, &sb.st_size) != 0) in ldi_get_size()
78 int fd = *(int *)priv; in vdev_read() local
80 if (pread(fd, buf, bytes, off) != bytes) in vdev_read()
81 return (-1); in vdev_read()
88 const znode_phys_t *zp = (const znode_phys_t *) dn->dn_bonus; in zfs_read()
[all …]
/freebsd/lib/libutil/
H A Dflopen.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2009 Dag-Erling Smørgrav
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
45 * code's apparent simplicity; there would be no need for this function if it
51 int fd, operation, serrno, trunc; in vflopenat() local
72 if ((fd = openat(dirfd, path, flags, mode)) == -1) in vflopenat()
73 /* non-existent or no access */ in vflopenat()
74 return (-1); in vflopenat()
75 if (flock(fd, operation) == -1) { in vflopenat()
[all …]
/freebsd/tools/regression/audit/audit_pipe_ioctl/
H A Daudit_pipe_ioctl.c1 /*-
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
31 * limit information basically work. No attempt is made to validate the
48 int fd; in main() local
50 fd = open("/dev/auditpipe", O_RDONLY); in main()
51 if (fd < 0) in main()
52 err(-1, "/dev/auditpipe"); in main()
55 * First, test that we can read the queue length, queue limit, and in main()
58 len = (u_int)(-1); in main()
59 if (ioctl(fd, AUDITPIPE_GET_QLEN, &len) < 0) in main()
[all …]
/freebsd/contrib/openbsm/compat/
H A Dflopen.h1 /*-
2 * Copyright (c) 2007 Dag-Erling Smørgrav
18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
40 int fd, operation, serrno, trunc; in flopen() local
65 if ((fd = open(path, flags, mode)) == -1) in flopen()
66 /* non-existent or no access */ in flopen()
67 return (-1); in flopen()
68 if (flock(fd, operation) == -1) { in flopen()
71 (void)close(fd); in flopen()
73 return (-1); in flopen()
[all …]
/freebsd/contrib/elftoolchain/libelf/
H A Delf_begin.31 .\" Copyright (c) 2006,2008-2011 Joseph Koshy. All rights reserved.
15 .\" are disclaimed. in no event shall Joseph Koshy be liable
24 .\" $Id: elf_begin.3 3639 2018-10-14 14:07:02Z jkoshy $
37 .Fn elf_begin "int fd" "Elf_Cmd cmd" "Elf *elf"
55 .Ar fd
62 .Ar fd
72 .Bl -tag -width "ELF_C_WRITE"
78 .Ar fd
81 are ignored, and no additional error is signalled.
85 .Ar fd
[all …]

12345678910>>...41