/freebsd/usr.sbin/bhyve/ |
H A D | net_backends.c | 71 #define NET_BE_SIZE(be) (sizeof(*be) + (be)->priv_size) argument 74 tap_cleanup(struct net_backend *be) in tap_cleanup() argument 76 struct tap_priv *priv = NET_BE_PRIV(be); in tap_cleanup() 81 if (be->fd != -1) { in tap_cleanup() 82 close(be->fd); in tap_cleanup() 83 be->fd = -1; in tap_cleanup() 88 tap_init(struct net_backend *be, const char *devname, in tap_init() argument 91 struct tap_priv *priv = NET_BE_PRIV(be); in tap_init() 107 be->fd = open(tbuf, O_RDWR); in tap_init() 108 if (be->fd == -1) { in tap_init() [all …]
|
H A D | net_backends_priv.h | 47 int (*init)(struct net_backend *be, const char *devname, 49 void (*cleanup)(struct net_backend *be); 56 ssize_t (*send)(struct net_backend *be, const struct iovec *iov, 64 ssize_t (*peek_recvlen)(struct net_backend *be); 73 ssize_t (*recv)(struct net_backend *be, const struct iovec *iov, 84 void (*recv_enable)(struct net_backend *be); 85 void (*recv_disable)(struct net_backend *be); 92 uint64_t (*get_cap)(struct net_backend *be); 98 int (*set_cap)(struct net_backend *be, uint64_t features, 118 #define NET_BE_PRIV(be) ((void *)((be) + 1)) argument [all …]
|
H A D | net_backend_netmap.c | 69 netmap_set_vnet_hdr_len(struct net_backend *be, int vnet_hdr_len) in netmap_set_vnet_hdr_len() argument 73 struct netmap_priv *priv = NET_BE_PRIV(be); in netmap_set_vnet_hdr_len() 78 err = ioctl(be->fd, NIOCREGIF, &req); in netmap_set_vnet_hdr_len() 84 be->be_vnet_hdr_len = vnet_hdr_len; in netmap_set_vnet_hdr_len() 90 netmap_has_vnet_hdr_len(struct net_backend *be, unsigned vnet_hdr_len) in netmap_has_vnet_hdr_len() argument 92 unsigned prev_hdr_len = be->be_vnet_hdr_len; in netmap_has_vnet_hdr_len() 99 ret = netmap_set_vnet_hdr_len(be, vnet_hdr_len); in netmap_has_vnet_hdr_len() 104 netmap_set_vnet_hdr_len(be, prev_hdr_len); in netmap_has_vnet_hdr_len() 110 netmap_get_cap(struct net_backend *be) in netmap_get_cap() argument 113 return (netmap_has_vnet_hdr_len(be, VNET_HDR_LEN) ? in netmap_get_cap() [all …]
|
H A D | net_backends.h | 42 int netbe_init(net_backend_t **be, nvlist_t *nvl, net_be_rxeof_t cb, 45 void netbe_cleanup(net_backend_t *be); 46 uint64_t netbe_get_cap(net_backend_t *be); 47 int netbe_set_cap(net_backend_t *be, uint64_t cap, 49 size_t netbe_get_vnet_hdr_len(net_backend_t *be); 50 ssize_t netbe_send(net_backend_t *be, const struct iovec *iov, int iovcnt); 51 ssize_t netbe_peek_recvlen(net_backend_t *be); 52 ssize_t netbe_recv(net_backend_t *be, const struct iovec *iov, int iovcnt); 53 ssize_t netbe_rx_discard(net_backend_t *be); 54 void netbe_rx_disable(net_backend_t *be); [all …]
|
H A D | block_if.c | 138 struct blockif_elem *be, *tbe; in blockif_enqueue() local 142 be = TAILQ_FIRST(&bc->bc_freeq); in blockif_enqueue() 143 assert(be != NULL); in blockif_enqueue() 144 assert(be->be_status == BST_FREE); in blockif_enqueue() 145 TAILQ_REMOVE(&bc->bc_freeq, be, be_link); in blockif_enqueue() 146 be->be_req = breq; in blockif_enqueue() 147 be->be_op = op; in blockif_enqueue() 159 be->be_block = off; in blockif_enqueue() 171 be->be_status = BST_PEND; in blockif_enqueue() 173 be->be_status = BST_BLOCK; in blockif_enqueue() [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.int-expr | 12 printf("%s ~ /%s/ -> should be %d, is %d\n", $1, pattern, $2, check) 82 ac ~ /ab{0}c/ -> should be 1, is 1 83 abc ~ /ab{0}c/ -> should be 0, is 0 84 ac ~ /a(b{0})c/ -> should be 1, is 1 85 abc ~ /a(b{0})c/ -> should be 0, is 0 86 ac ~ /ab{0}*c/ -> should be 1, is 1 87 abc ~ /ab{0}*c/ -> should be 0, is 0 88 ac ~ /a(b{0})*c/ -> should be 1, is 1 89 abc ~ /a(b{0})*c/ -> should be 0, is 0 90 ac ~ /ab{0,}c/ -> should be 1, is 1 [all …]
|
/freebsd/contrib/lib9p/ |
H A D | request.c | 613 struct l9p_backend *be; in l9p_dispatch_tattach() local 636 be = conn->lc_server->ls_backend; in l9p_dispatch_tattach() 643 error = be->attach(be->softc, req); in l9p_dispatch_tattach() 662 struct l9p_backend *be; in l9p_dispatch_tclunk() local 672 be = conn->lc_server->ls_backend; in l9p_dispatch_tclunk() 685 error = be->xattrclunk(be->softc, fid); in l9p_dispatch_tclunk() 687 error = be->clunk(be->softc, fid); in l9p_dispatch_tclunk() 698 struct l9p_backend *be; in l9p_dispatch_tcreate() local 708 be = conn->lc_server->ls_backend; in l9p_dispatch_tcreate() 721 error = be->create(be->softc, req); in l9p_dispatch_tcreate() [all …]
|
/freebsd/crypto/openssl/demos/cms/ |
H A D | comp.txt | 3 Some Text To be Compressed 4 Some Text To be Compressed 5 Some Text To be Compressed 6 Some Text To be Compressed 7 Some Text To be Compressed 8 Some Text To be Compressed 9 Some Text To be Compressed 10 Some Text To be Compressed 11 Some Text To be Compressed 12 Some Text To be Compressed [all …]
|
/freebsd/contrib/libxo/doc/ |
H A D | xolint-errors.rst | 4 The message "A percent sign appearing in text is a literal" can be caused by code like: 10 This code should be replaced with code like: 16 This can be a bit surprising and could be a field that was not 23 The message "Unknown long name for role/modifier" can be caused by code like: 29 This code should be replaced with code like: 42 The message "Last character before field definition is a field type" can be caused by code like: 49 This code should be replaced with code like: 61 The message "Encoding format uses different number of arguments" can be caused by code like: 67 This code should be replaced with code like: 76 'Only one field role can be used' [all …]
|
/freebsd/contrib/arm-optimized-routines/math/ |
H A D | README.contributors | 5 sub-directory is expected to be upstreamed into glibc so the GNU 6 Coding Standard and glibc specific conventions should be followed 9 2. ABI and symbols: the code should be written so it is suitable for inclusion 11 should be hidden and in the implementation reserved namespace according to 13 library archives should be usable to override libc symbols at link time (or 15 (other than symbol versioning), this cannot be done reliably for static 18 3. API: include headers should be suitable for benchmarking and testing code 28 - Worst-case ULP error should be small in the entire input domain (for most 31 variant should not have > 5 ULP error if the goal is to be a drop in 32 replacement for a standard math function), this should be tested [all …]
|
/freebsd/sys/cam/ctl/ |
H A D | ctl_backend.c | 63 ctl_backend_register(struct ctl_backend_driver *be) in ctl_backend_register() argument 72 if (strcmp(be_tmp->name, be->name) == 0) { in ctl_backend_register() 79 be->config_move_done = ctl_config_move_done; in ctl_backend_register() 83 if (be->init != NULL) { in ctl_backend_register() 84 if ((error = be->init()) != 0) { in ctl_backend_register() 86 be->name, error); in ctl_backend_register() 92 STAILQ_INSERT_TAIL(&softc->be_list, be, links); in ctl_backend_register() 99 ctl_backend_deregister(struct ctl_backend_driver *be) in ctl_backend_deregister() argument 105 if (be->shutdown != NULL) { in ctl_backend_deregister() 106 if ((error = be->shutdown()) != 0) { in ctl_backend_deregister() [all …]
|
/freebsd/crypto/heimdal/doc/ |
H A D | init-creds | 27 /* XXX the next three should not be used, as they may be 83 specified can be determined correctly from system configuration or 86 of the structure should be used. In most cases, a NULL pointer can be 92 and will not be doing any other kerberos functions, then a NULL 93 pointer may be specified, and the credential will be destroyed. 95 If the client name is non-NULL, the initial ticket requested will be 96 for that principal. Otherwise, the principal will be the username 102 Otherwise, the prompter function will be used to prompt the user for 105 If a prompter function is non-NULL, it will be used if additional user 107 needs to be changed, or if input preauthentication is necessary. If [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/edac/ |
H A D | socfpga-eccmgr.txt | 8 - compatible : Should be "altr,socfpga-ecc-manager" 9 - #address-cells: must be 1 10 - #size-cells: must be 1 17 - compatible : Should be "altr,socfpga-l2-ecc" 19 - interrupts : Should be single bit error interrupt, then double bit error 24 - compatible : Should be "altr,socfpga-ocram-ecc" 27 - interrupts : Should be single bit error interrupt, then double bit error 58 - compatible : Should be "altr,socfpga-a10-ecc-manager" 61 - #address-cells: must be 1 62 - #size-cells: must be 1 [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | in.h | 39 #define ipv4_is_zeronet(be) IN_ZERONET(ntohl(be)) argument 40 #define ipv4_is_loopback(be) IN_LOOPBACK(ntohl(be)) argument 41 #define ipv4_is_multicast(be) IN_MULTICAST(ntohl(be)) argument 42 #define ipv4_is_lbcast(be) ((be) == INADDR_BROADCAST) argument
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ti/davinci/ |
H A D | da8xx-cfgchip.txt | 7 All of the clock nodes described below must be child nodes of a CFGCHIP node 13 - compatible: shall be "ti,da830-usb-phy-clocks". 14 - #clock-cells: from common clock binding; shall be set to 1. 16 - clock-names: shall be "fck", "usb_refclkin", "auxclk" 24 - compatible: shall be "ti,da830-tbclksync". 25 - #clock-cells: from common clock binding; shall be set to 0. 27 - clock-names: shall be "fck" 32 - compatible: shall be "ti,da830-div4p5ena". 33 - #clock-cells: from common clock binding; shall be set to 0. 35 - clock-names: shall be "pll0_pllout" [all …]
|
/freebsd/sbin/bectl/ |
H A D | bectl.c | 58 libbe_handle_t *be; variable 172 if ((err = be_deactivate(be, NULL, reset)) == 0) in bectl_cmd_activate() 180 if ((err = be_activate(be, argv[0], temp)) != 0) in bectl_cmd_activate() 240 err = be_snapshot(be, bootenv, atpos, recursive, NULL); in bectl_cmd_create() 244 err = be_snapshot(be, be_active_path(be), NULL, in bectl_cmd_create() 251 err = be_snapshot(be, snapname, NULL, recursive, in bectl_cmd_create() 255 err = be_create_depth(be, bootenv, snapshot, in bectl_cmd_create() 306 be_export(be, bootenv, STDOUT_FILENO); in bectl_cmd_export() 335 err = be_import(be, bootenv, STDIN_FILENO); in bectl_cmd_import() 353 be_add_child(be, argv[i], true); in bectl_cmd_add() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_kdb.c | 322 * Note that this function may be called from almost anywhere, with interrupts 486 struct kdb_dbbe *be, **iter; in kdb_dbbe_select() local 494 be = *iter; in kdb_dbbe_select() 495 if (be->dbbe_active == 0 && strcmp(be->dbbe_name, name) == 0) { in kdb_dbbe_select() 496 kdb_dbbe = be; in kdb_dbbe_select() 504 kdb_backend_permitted(struct kdb_dbbe *be, struct thread *td) in kdb_backend_permitted() argument 524 error = mac_kdb_check_backend(be); in kdb_backend_permitted() 527 be->dbbe_name); in kdb_backend_permitted() 530 } else if (mac_kdb_grant_backend(be) in kdb_backend_permitted() 566 struct kdb_dbbe *be, **iter; kdb_init() local 745 struct kdb_dbbe *be; kdb_trap() local [all...] |
/freebsd/contrib/netbsd-tests/include/ |
H A D | d_bitstring_67.out | 74 be: 0 -1 0000000000000000000000000000000000000000000000000000000000000000000 78 be: 1 0 1001001001001001001001001001001001001001001001001001001001001001001 82 be: 0 3 0001000001000001000001000001000001000001000001000001000001000001000 156 be: 0 -1 0000000000000000000000000000000000000000000000000000000000000000000 160 be: 0 1 0111111111111111111111111111111111111111111111111111111111111111110 162 be: 0 1 0100000000000000000000000000000000000000000000000000000000000000010 164 be: 0 -1 0000000000000000000000000000000000000000000000000000000000000000000 166 be: 66 0 1111111111111111111111111111111111111111111111111111111111111111110 168 be: 0 -1 0000000000000000000000000000000000000000000000000000000000000000000
|
H A D | d_bitstring_27.out | 34 be: 0 -1 000000000000000000000000000 38 be: 1 0 100100100100100100100100100 42 be: 0 3 000100000100000100000100000 76 be: 0 -1 000000000000000000000000000 80 be: 0 1 011111111111111111111111110 82 be: 0 1 010000000000000000000000010 84 be: 0 -1 000000000000000000000000000 86 be: 26 0 111111111111111111111111110 88 be: 0 -1 000000000000000000000000000
|
H A D | d_bitstring_32.out | 39 be: 0 -1 00000000000000000000000000000000 43 be: 1 0 10010010010010010010010010010010 47 be: 0 3 00010000010000010000010000010000 86 be: 0 -1 00000000000000000000000000000000 90 be: 0 1 01111111111111111111111111111110 92 be: 0 1 01000000000000000000000000000010 94 be: 0 -1 00000000000000000000000000000000 96 be: 31 0 11111111111111111111111111111110 98 be: 0 -1 00000000000000000000000000000000
|
H A D | d_bitstring_49.out | 56 be: 0 -1 0000000000000000000000000000000000000000000000000 60 be: 1 0 1001001001001001001001001001001001001001001001001 64 be: 0 3 0001000001000001000001000001000001000001000001000 120 be: 0 -1 0000000000000000000000000000000000000000000000000 124 be: 0 1 0111111111111111111111111111111111111111111111110 126 be: 0 1 0100000000000000000000000000000000000000000000010 128 be: 0 -1 0000000000000000000000000000000000000000000000000 130 be: 48 0 1111111111111111111111111111111111111111111111110 132 be: 0 -1 0000000000000000000000000000000000000000000000000
|
H A D | d_bitstring_64.out | 71 be: 0 -1 0000000000000000000000000000000000000000000000000000000000000000 75 be: 1 0 1001001001001001001001001001001001001001001001001001001001001001 79 be: 0 3 0001000001000001000001000001000001000001000001000001000001000001 150 be: 0 -1 0000000000000000000000000000000000000000000000000000000000000000 154 be: 0 1 0111111111111111111111111111111111111111111111111111111111111110 156 be: 0 1 0100000000000000000000000000000000000000000000000000000000000010 158 be: 0 -1 0000000000000000000000000000000000000000000000000000000000000000 160 be: 63 0 1111111111111111111111111111111111111111111111111111111111111110 162 be: 0 -1 0000000000000000000000000000000000000000000000000000000000000000
|
H A D | d_bitstring_8.out | 15 be: 0 -1 00000000 19 be: 1 0 10010010 23 be: 0 3 00010000 38 be: 0 -1 00000000 42 be: 0 1 01111110 44 be: 0 1 01000010 46 be: 0 -1 00000000 48 be: 7 0 11111110 50 be: 0 -1 00000000
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | README-Windows.txt | 37 cross-compiling from Linux to MinGW/Windows. It should also be 46 wpa_supplicant can be built with Microsoft Visual C++ compiler. This 49 can also be used by creating a project that includes the files and 51 files are included in vs2005 subdirectory. This can be used as a 55 WinPcap development package is needed for the build and this can be 57 default nmake.mak expects this to be unpacked into C:\dev\WpdPack so 58 that Include and Lib directories are in this directory. The files can be 61 used, these Include and Lib directories need to be added to project 64 OpenSSL source package can be downloaded from 67 support will be included in the wpa_supplicant, OpenSSL needs to be [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/omap/ |
H A D | l4.txt | 6 - compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus 7 Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus 8 Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus 9 Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus 10 Should be "ti,omap4-l4-per" for OMAP4 family l4 per bus 11 Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus 12 Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus 13 Should be "ti,omap5-l4-wkup" for OMAP5 family l4 wkup bus 14 Should be "ti,dra7-l4-cfg" for DRA7 family l4 cfg bus 15 Should be "ti,dra7-l4-wkup" for DRA7 family l4 wkup bus [all …]
|