Home
last modified time | relevance | path

Searched +full:break +full:- +full:control (Results 1 – 25 of 1042) sorted by relevance

12345678910>>...42

/src/sys/cam/ctl/
H A Dctl_util.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
32 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_util.c#2 $
99 ctl_scsi_tur(union ctl_io *io, ctl_tag_type tag_type, uint8_t control) in ctl_scsi_tur() argument
106 io->io_hdr.io_type = CTL_IO_SCSI; in ctl_scsi_tur()
107 ctsio = &io->scsiio; in ctl_scsi_tur()
108 cdb = (struct scsi_test_unit_ready *)ctsio->cdb; in ctl_scsi_tur()
110 cdb->opcode = TEST_UNIT_READY; in ctl_scsi_tur()
111 cdb->control = control; in ctl_scsi_tur()
112 io->io_hdr.flags = CTL_FLAG_DATA_NONE; in ctl_scsi_tur()
[all …]
/src/sys/contrib/dev/acpica/components/dispatcher/
H A Ddscontrol.c3 * Module Name: dscontrol - Support for execution control opcodes -
12 * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp.
29 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
105 * re-exports any such software from a foreign destination, Licensee shall
106 * ensure that the distribution and export/re-export of the software is in
109 * any of its subsidiaries will export/re-export any technical data, process,
131 * 3. Neither the names of the above-listed copyright holders nor the names
168 * PARAMETERS: WalkList - The list that owns the walk stack
169 * Op - The control Op
173 * DESCRIPTION: Handles all control ops encountered during control method
[all …]
/src/usr.sbin/bluetooth/sdpd/
H A Dserver.c1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
67 server_init(server_p srv, char const *control) in server_init() argument
76 assert(control != NULL); in server_init()
80 /* Open control socket */ in server_init()
81 if (unlink(control) < 0 && errno != ENOENT) { in server_init()
83 control, strerror(errno), errno); in server_init()
84 return (-1); in server_init()
89 log_crit("Could not create control socket. %s (%d)", in server_init()
91 return (-1); in server_init()
[all …]
/src/sys/netinet/
H A Dsctputil.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved.
5 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
6 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
78 sctp_clog.x.sb.stcb_sbcc = stcb->asoc.sb_cc; in sctp_sblog()
82 SCTP_CTR6(KTR_SCTP, "SCTP:%d[%d]:%x-%x-%x-%x", in sctp_sblog()
99 sctp_clog.x.close.sctp_flags = inp->sctp_flags; in sctp_log_closing()
102 sctp_clog.x.close.state = (uint16_t)stcb->asoc.state; in sctp_log_closing()
108 SCTP_CTR6(KTR_SCTP, "SCTP:%d[%d]:%x-%x-%x-%x", in sctp_log_closing()
[all …]
/src/contrib/tcpdump/
H A Dprint-atalk.c26 #include "netdissect-stdinc.h"
79 ndo->ndo_protocol = "ltalk"; in ltalk_if_print()
80 hdrlen = llap_print(ndo, p, h->len); in ltalk_if_print()
83 ndo->ndo_ll_hdr_len += h->caplen; in ltalk_if_print()
86 ndo->ndo_ll_hdr_len += hdrlen; in ltalk_if_print()
102 ndo->ndo_protocol = "llap"; in llap_print()
113 length -= sizeof(*lp); in llap_print()
115 switch (GET_U_1(lp->type)) { in llap_print()
128 ataddr_string(ndo, 0, GET_U_1(lp->src)), in llap_print()
129 ddpskt_string(ndo, GET_U_1(sdp->srcSkt))); in llap_print()
[all …]
H A Dprint-fddi.c26 #include "netdissect-stdinc.h"
39 nd_uint8_t fddi_fc; /* frame control */
52 /* Useful values for fddi_fc (frame control) field */
55 * FDDI Frame Control bits
60 #define FDDIFC_Z 0x0f /* Control bits */
63 * FDDI Frame Control values. (48-bit addressing only).
80 #define FDDIFC_ZZZZ 0x0F /* Control bits */
83 * Some FDDI interfaces use bit-swapped addresses.
105 * save per-packet, then the real 21-byte FDDI header.
114 * over ethernet) we really need to re-think the rather simple
[all …]
/src/sbin/hastd/
H A Dcontrol.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2010 The FreeBSD Foundation
52 #include "control.h"
58 proto_close(res->hr_ctrl); in child_cleanup()
59 res->hr_ctrl = NULL; in child_cleanup()
60 if (res->hr_event != NULL) { in child_cleanup()
61 proto_close(res->hr_event); in child_cleanup()
62 res->hr_event = NULL; in child_cleanup()
64 if (res->hr_conn != NULL) { in child_cleanup()
[all …]
/src/sys/dev/e1000/
H A De1000_mac.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
42 * e1000_init_mac_ops_generic - Initialize MAC function pointers
45 * Setups up the function pointers to no-op functions
49 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic()
53 mac->ops.init_params = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
54 mac->ops.init_hw = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
55 mac->ops.reset_hw = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
56 mac->ops.setup_physical_interface = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
57 mac->ops.get_bus_info = e1000_null_ops_generic; in e1000_init_mac_ops_generic()
[all …]
H A De1000_82542.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
55 * e1000_init_phy_params_82542 - Init PHY func ptrs.
60 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_params_82542()
65 phy->type = e1000_phy_none; in e1000_init_phy_params_82542()
71 * e1000_init_nvm_params_82542 - Init NVM func ptrs.
76 struct e1000_nvm_info *nvm = &hw->nvm; in e1000_init_nvm_params_82542()
80 nvm->address_bits = 6; in e1000_init_nvm_params_82542()
81 nvm->delay_usec = 50; in e1000_init_nvm_params_82542()
82 nvm->opcode_bits = 3; in e1000_init_nvm_params_82542()
[all …]
/src/contrib/xz/src/liblzma/lzma/
H A Dlzma2_decoder.c1 // SPDX-License-Identifier: 0BSD
65 while (*in_pos < in_size || coder->sequence == SEQ_LZMA) in lzma2_decode()
66 switch (coder->sequence) { in lzma2_decode()
68 const uint32_t control = in[*in_pos]; in lzma2_decode() local
72 if (control == 0x00) in lzma2_decode()
75 if (control >= 0xE0 || control == 1) { in lzma2_decode()
78 coder->need_properties = true; in lzma2_decode()
79 coder->need_dictionary_reset = true; in lzma2_decode()
80 } else if (coder->need_dictionary_reset) { in lzma2_decode()
84 if (control >= 0x80) { in lzma2_decode()
[all …]
/src/contrib/sendmail/src/
H A Dcontrol.c2 * Copyright (c) 1998-2004, 2006 Proofpoint, Inc. and its suppliers.
13 SM_RCSID("@(#)$Id: control.c,v 8.130 2013-11-22 20:51:55 ca Exp $")
45 int ControlSocket = -1;
48 ** OPENCONTROLSOCKET -- create/open the daemon control named socket
50 ** Creates and opens a named socket for external control over
57 ** 0 if successful, -1 otherwise
75 return -1; in opencontrolsocket()
85 return -1; in opencontrolsocket()
90 return -1; in opencontrolsocket()
95 return -1; in opencontrolsocket()
[all …]
/src/usr.sbin/bluetooth/sdpcontrol/
H A Dsdpcontrol.c1 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2001-2003 Maksim Yevmenkin <m_evmenkin@yahoo.com>
57 char const *control = SDP_LOCAL_PATH; in main() local
65 while ((n = getopt(argc, argv, "a:c:lh")) != -1) { in main()
74 memcpy(&bdaddr, he->h_addr, sizeof(bdaddr)); in main()
76 break; in main()
78 case 'c': /* control socket */ in main()
79 control = optarg; in main()
80 break; in main()
[all …]
/src/sys/dev/acpi_support/
H A Dacpi_fujitsu.c1 /*-
3 * 2003-2008 Anish Mistry <amistry@am-productions.biz>
93 * Holds a control method name and its associated integer value.
94 * Only used for no-argument control methods which return a value.
109 /* Control methods */
243 sc->dev = dev; in acpi_fujitsu_attach()
244 sc->handle = acpi_get_handle(dev); in acpi_fujitsu_attach()
247 AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY, in acpi_fujitsu_attach()
279 * The pointer needs to be re-enabled for in acpi_fujitsu_resume()
284 if(sc->gmou.exists) { in acpi_fujitsu_resume()
[all …]
H A Dacpi_asus_wmi.c1 /*-
55 ACPI_MODULE_NAME("ASUS-WMI")
57 #define ACPI_ASUS_WMI_MGMT_GUID "97845ED0-4E6D-11DE-8A39-0800200C9A66"
58 #define ACPI_ASUS_WMI_EVENT_GUID "0B3CBB35-E3C2-45ED-91C2-4C5A6D195D1C"
59 #define ACPI_EEEPC_WMI_EVENT_GUID "ABBC0F72-8EA1-11D1-00A0-C90629100000"
155 .description = "Wireless LED control",
165 .description = "WLAN power control",
170 .description = "Bluetooth power control",
175 .description = "GPS power control",
180 .description = "WiMAX power control",
[all …]
/src/sys/netinet6/
H A Dsctp6_usrreq.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
5 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
6 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
93 m->m_pkthdr.len, in sctp6_input_with_port()
94 if_name(m->m_pkthdr.rcvif), in sctp6_input_with_port()
95 (int)m->m_pkthdr.csum_flags, CSUM_BITS); in sctp6_input_with_port()
96 mflowid = m->m_pkthdr.flowid; in sctp6_input_with_port()
103 if (m->m_len < offset) { in sctp6_input_with_port()
[all …]
/src/crypto/krb5/src/lib/
H A Dwin_glue.c1 #include "k5-int.h"
18 * #defines for MIT-specific time-based timebombs and/or version
23 #define TIMEBOMB 865141200 /* 1-Jun-97 */
31 #define TIMEBOMB 865141200 /* 1-Jun-97 */
42 #define APP_TITLE "KRB5-SAP"
159 strncpy( locAppIni, KERBEROS_INI, sizeof(locAppIni) - 1 ); in GetCallingAppVerInfo()
160 locAppIni[ sizeof(locAppIni) - 1 ] = '\0'; in GetCallingAppVerInfo()
163 AppTitle[APPVERINFO_SIZE - 1] = '\0'; in GetCallingAppVerInfo()
165 AppVer[APPVERINFO_SIZE - 1] = '\0'; in GetCallingAppVerInfo()
167 AppIni[APPVERINFO_SIZE - 1] = '\0'; in GetCallingAppVerInfo()
[all …]
/src/contrib/less/
H A Dlesskey_parse.c2 * Copyright (C) 1984-2026 Mark Nudelman
18 #define CONTROL(c) ((c)&037) macro
19 #define ESC CONTROL('[')
34 { "back-bracket", A_B_BRACKET },
35 { "back-line", A_B_LINE },
36 { "back-line-force", A_BF_LINE },
37 { "back-newline", A_B_NEWLINE },
38 { "back-screen", A_B_SCREEN },
39 { "back-screen-force", A_BF_SCREEN },
40 { "back-scroll", A_B_SCROLL },
[all …]
/src/sys/contrib/device-tree/Bindings/net/nfc/
H A Dmarvell,nci.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 - marvell,nfc-i2c
16 - marvell,nfc-spi
17 - marvell,nfc-uart
19 hci-muxed:
30 reset-n-io:
31 $ref: /schemas/types.yaml#/definitions/phandle-array
[all …]
/src/share/man/man4/
H A Dtermios.461 .Ss Job Control in a Nutshell
67 .\" .Gw "job control" ;
68 .Em "job control" ;
70 ability from the keyboard (or from program control) to simultaneously
79 the job control related signals and system calls to within processes
88 A job control shell
135 signals and job control signals resulting from reads or writes to the
174 .Ss Terminal Access Control
190 returns -1 with
224 returns -1 with
[all …]
/src/usr.sbin/lpr/common_source/
H A Dctlinfo.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * ------+---------+---------+---------+---------+---------+---------+---------*
5 * Copyright (c) 2001,2011 - Garance Alistair Drosehn <gad@FreeBSD.org>.
33 * ------+---------+---------+---------+---------+---------+---------+---------*
36 #include "lp.cdefs.h" /* A cross-platform version of <sys/cdefs.h> */
38 * ctlinfo - This collection of routines will know everything there is to
39 * know about the information inside a control file ('cf*') which is used
41 * will be the ONLY source file to know what's inside these control-files.
47 * a per-spool-directory basis.
[all …]
/src/sys/dev/igc/
H A Digc_mac.c1 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
13 * igc_init_mac_ops_generic - Initialize MAC function pointers
16 * Setups up the function pointers to no-op functions
20 struct igc_mac_info *mac = &hw->mac; in igc_init_mac_ops_generic()
24 mac->ops.init_params = igc_null_ops_generic; in igc_init_mac_ops_generic()
25 mac->ops.config_collision_dist = igc_config_collision_dist_generic; in igc_init_mac_ops_generic()
26 mac->ops.rar_set = igc_rar_set_generic; in igc_init_mac_ops_generic()
30 * igc_null_ops_generic - No-op function, returns 0
40 * igc_null_mac_generic - No-op function, return void
[all …]
H A Digc_phy.c1 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
13 * igc_init_phy_ops_generic - Initialize PHY function pointers
16 * Setups up the function pointers to no-op functions
20 struct igc_phy_info *phy = &hw->phy; in igc_init_phy_ops_generic()
24 phy->ops.init_params = igc_null_ops_generic; in igc_init_phy_ops_generic()
25 phy->ops.acquire = igc_null_ops_generic; in igc_init_phy_ops_generic()
26 phy->ops.check_reset_block = igc_null_ops_generic; in igc_init_phy_ops_generic()
27 phy->ops.force_speed_duplex = igc_null_ops_generic; in igc_init_phy_ops_generic()
28 phy->ops.get_info = igc_null_ops_generic; in igc_init_phy_ops_generic()
[all …]
/src/sys/dev/virtio/console/
H A Dvirtio_console.c1 /*-
93 #define VTCON_PORT_LOCK(_port) mtx_lock(&(_port)->vtcport_mtx)
94 #define VTCON_PORT_UNLOCK(_port) mtx_unlock(&(_port)->vtcport_mtx)
126 #define VTCON_LOCK(_sc) mtx_lock(&(_sc)->vtcon_mtx)
127 #define VTCON_UNLOCK(_sc) mtx_unlock(&(_sc)->vtcon_mtx)
129 mtx_assert(&(_sc)->vtcon_mtx, MA_OWNED)
131 mtx_assert(&(_sc)->vtcon_mtx, MA_NOTOWNED)
133 #define VTCON_CTRL_TX_LOCK(_sc) mtx_lock(&(_sc)->vtcon_ctrl_tx_mtx)
134 #define VTCON_CTRL_TX_UNLOCK(_sc) mtx_unlock(&(_sc)->vtcon_ctrl_tx_mtx)
137 KASSERT((_id) >= 0 && (_id) < (_sc)->vtcon_max_ports, \
[all …]
/src/sys/netinet/libalias/
H A Dalias_pptp.c22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
82 if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL) in fingerprint()
83 return (-1); in fingerprint()
84 if (ntohs(*ah->dport) == PPTP_CONTROL_PORT_NUMBER in fingerprint()
85 || ntohs(*ah->sport) == PPTP_CONTROL_PORT_NUMBER) in fingerprint()
87 return (-1); in fingerprint()
99 AliasHandlePptpIn(la, pip, ah->lnk); in protohandlerin()
106 AliasHandlePptpOut(la, pip, ah->lnk); in protohandlerout()
113 if (la->packetAliasMode & PKT_ALIAS_PROXY_ONLY || in protohandlergrein()
116 return (-1); in protohandlergrein()
[all …]
/src/sys/ddb/
H A Ddb_input.c1 /*-
2 * SPDX-License-Identifier: MIT-CMU
23 * Pittsburgh PA 15213-3890
47 * since input always ends with a new-line. We just
56 * Raw input buffer, processed only for certain control characters.
90 while (--count >= 0) in db_putstring()
97 while (--count >= 0) in db_putnchars()
112 db_lc -= n; in db_delete()
115 for (p = db_lc; p < db_le-n; p++) { in db_delete()
120 db_putnchars(BACKUP, db_le - db_lc); in db_delete()
[all …]

12345678910>>...42