/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | papi_impl.h | 70 http_t *connection; member in struct:__anon4329
|
/illumos-gate/usr/src/cmd/policykit/ |
H A D | polkit-is-privileged.c | 44 " [-s <system-bus-connection-name>]", argv[0]); 49 " -s, --system-bus-unique-name Unique system bus connection name\n" 85 DBusConnection *connection = NULL; local 148 connection = dbus_bus_get (DBUS_BUS_SYSTEM, &error); 149 if (connection == NULL) { 155 ctx = libpolkit_new_context (connection);
|
/illumos-gate/usr/src/lib/policykit/libpolkit/common/ |
H A D | libpolkit-rbac.c | 65 libpolkit_new_context (DBusConnection *connection) argument
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_scsi.c | 53 static void scsi_open_send_reply(ndmp_connection_t *connection, int err); 54 static void common_open(ndmp_connection_t *connection, char *devname); 55 static void common_set_target(ndmp_connection_t *connection, char *device, 71 * connection (input) - connection handle. 78 ndmpd_scsi_open_v2(ndmp_connection_t *connection, void *body) argument 82 common_open(connection, request->device.name); 92 * connection (input) - connection handle. 100 ndmpd_scsi_close_v2(ndmp_connection_t *connection, voi argument 150 ndmpd_scsi_get_state_v2(ndmp_connection_t *connection, void *body) argument 194 ndmpd_scsi_set_target_v2(ndmp_connection_t *connection, void *body) argument 220 ndmpd_scsi_reset_device_v2(ndmp_connection_t *connection, void *body) argument 264 ndmpd_scsi_reset_bus_v2(ndmp_connection_t *connection, void *body) argument 289 ndmpd_scsi_execute_cdb_v2(ndmp_connection_t *connection, void *body) argument 329 ndmpd_scsi_open_v3(ndmp_connection_t *connection, void *body) argument 352 ndmpd_scsi_set_target_v3(ndmp_connection_t *connection, void *body) argument 390 scsi_open_send_reply(ndmp_connection_t *connection, int err) argument 412 common_open(ndmp_connection_t *connection, char *devname) argument 502 common_set_target(ndmp_connection_t *connection, char *device, ushort_t controller, ushort_t sid, ushort_t lun) argument [all...] |
H A D | ndmpd_tape.c | 52 static void tape_open_send_reply(ndmp_connection_t *connection, int err); 56 static void common_tape_open(ndmp_connection_t *connection, char *devname, 58 static void common_tape_close(ndmp_connection_t *connection); 102 * connection (input) - connection handle. 109 ndmpd_tape_open_v2(ndmp_connection_t *connection, void *body) argument 112 ndmpd_session_t *session = ndmp_get_client_data(connection); 157 tape_open_send_reply(connection, err); 161 switch (ndmp_open_list_add(connection, adptnm, sid, lun, devid)) { 175 tape_open_send_reply(connection, er 243 ndmpd_tape_close_v2(ndmp_connection_t *connection, void *body) argument 274 ndmpd_tape_get_state_v2(ndmp_connection_t *connection, void *body) argument 350 ndmpd_tape_mtio_v2(ndmp_connection_t *connection, void *body) argument 492 ndmpd_tape_read_v2(ndmp_connection_t *connection, void *body) argument 541 ndmpd_tape_execute_cdb_v2(ndmp_connection_t *connection, void *body) argument 583 ndmpd_tape_open_v3(ndmp_connection_t *connection, void *body) argument 606 ndmpd_tape_get_state_v3(ndmp_connection_t *connection, void *body) argument 759 ndmpd_tape_write_v3(ndmp_connection_t *connection, void *body) argument 845 ndmpd_tape_read_v3(ndmp_connection_t *connection, void *body) argument 962 ndmpd_tape_get_state_v4(ndmp_connection_t *connection, void *body) argument 1047 ndmpd_tape_close_v4(ndmp_connection_t *connection, void *body) argument 1095 tape_open_send_reply(ndmp_connection_t *connection, int err) argument 1202 common_tape_open(ndmp_connection_t *connection, char *devname, int ndmpmode) argument 1338 common_tape_close(ndmp_connection_t *connection) argument [all...] |
H A D | ndmpd_config.c | 97 * connection (input) - connection handle. 105 ndmpd_config_get_host_info_v2(ndmp_connection_t *connection, void *body) argument 141 ndmp_send_reply(connection, (void *) &reply, 153 * connection (input) - connection handle. 160 ndmpd_config_get_butype_attr_v2(ndmp_connection_t *connection, void *body) argument 180 ndmp_send_reply(connection, (void *) &reply, 192 * connection (input) - connection handl 200 ndmpd_config_get_mover_type_v2(ndmp_connection_t *connection, void *body) argument 232 ndmpd_config_get_auth_attr_v2(ndmp_connection_t *connection, void *body) argument 289 ndmpd_config_get_host_info_v3(ndmp_connection_t *connection, void *body) argument 342 ndmpd_config_get_connection_type_v3(ndmp_connection_t *connection, void *body) argument 377 ndmpd_config_get_auth_attr_v3(ndmp_connection_t *connection, void *body) argument 429 ndmpd_config_get_butype_info_v3(ndmp_connection_t *connection, void *body) argument 531 ndmpd_config_get_fs_info_v3(ndmp_connection_t *connection, void *body) argument 683 ndmpd_config_get_tape_info_v3(ndmp_connection_t *connection, void *body) argument 788 ndmpd_config_get_scsi_info_v3(ndmp_connection_t *connection, void *body) argument 875 ndmpd_config_get_server_info_v3(ndmp_connection_t *connection, void *body) argument 934 ndmpd_config_get_butype_info_v4(ndmp_connection_t *connection, void *body) argument 1047 ndmpd_config_get_ext_list_v4(ndmp_connection_t *connection, void *body) argument 1088 ndmpd_config_set_ext_list_v4(ndmp_connection_t *connection, void *body) argument [all...] |
H A D | ndmpd_connect.c | 65 static struct conn_list *ndmp_connect_list_find(ndmp_connection_t *connection); 70 /* routines for connection info */ 75 static void ndmp_connect_get_v2(ndmp_connection_t *connection, 85 static void ndmp_connect_get_v3(ndmp_connection_t *connection, 131 * This handler sets the protocol version to be used on the connection. 134 * connection (input) - connection handle. 142 ndmpd_connect_open_v2(ndmp_connection_t *connection, void *body) argument 150 if (!(session = (ndmpd_session_t *)ndmp_get_client_data(connection))) 159 ndmp_send_reply(connection, (voi 190 ndmpd_connect_client_auth_v2(ndmp_connection_t *connection, void *body) argument 353 ndmpd_connect_server_auth_v2(ndmp_connection_t *connection, void *body) argument 405 ndmpd_connect_close_v2(ndmp_connection_t *connection, void *body) argument 434 ndmpd_connect_client_auth_v3(ndmp_connection_t *connection, void *body) argument 543 ndmpd_connect_close_v3(ndmp_connection_t *connection, void *body) argument 648 ndmp_connect_list_find(ndmp_connection_t *connection) argument 678 ndmp_connect_list_add(ndmp_connection_t *connection, int *id) argument 714 ndmp_connect_list_del(ndmp_connection_t *connection) argument 922 ndmp_connect_get_v2(ndmp_connection_t *connection, ndmp_door_ctx_t *enc_ctx) argument 989 ndmp_connect_get_v3(ndmp_connection_t *connection, ndmp_door_ctx_t *enc_ctx) argument 1047 ndmpd_connect_kill(ndmp_connection_t *connection) argument [all...] |
H A D | ndmpd_data.c | 90 * connection (input) - connection handle. 98 ndmpd_data_get_state_v2(ndmp_connection_t *connection, void *body) argument 101 ndmpd_session_t *session = ndmp_get_client_data(connection); 121 ndmp_send_reply(connection, &reply, 132 * connection (input) - connection handle. 139 ndmpd_data_start_backup_v2(ndmp_connection_t *connection, void *body) argument 143 ndmpd_session_t *session = ndmp_get_client_data(connection); 161 ndmp_send_reply(connection, 180 ndmpd_data_start_recover_v2(ndmp_connection_t *connection, void *body) argument 222 ndmpd_data_get_env_v2(ndmp_connection_t *connection, void *body) argument 256 ndmpd_data_stop_v2(ndmp_connection_t *connection, void *body) argument 299 ndmpd_data_abort_v2(ndmp_connection_t *connection, void *body) argument 345 ndmpd_data_get_state_v3(ndmp_connection_t *connection, void *body) argument 393 ndmpd_data_start_backup_v3(ndmp_connection_t *connection, void *body) argument 483 ndmpd_data_start_recover_v3(ndmp_connection_t *connection, void *body) argument 567 ndmpd_data_abort_v3(ndmp_connection_t *connection, void *body) argument 623 ndmpd_data_stop_v3(ndmp_connection_t *connection, void *body) argument 663 ndmpd_data_listen_v3(ndmp_connection_t *connection, void *body) argument 744 ndmpd_data_connect_v3(ndmp_connection_t *connection, void *body) argument 828 ndmpd_data_get_env_v4(ndmp_connection_t *connection, void *body) argument 867 ndmpd_data_get_state_v4(ndmp_connection_t *connection, void *body) argument 917 ndmpd_data_connect_v4(ndmp_connection_t *connection, void *body) argument 992 ndmpd_data_listen_v4(ndmp_connection_t *connection, void *body) argument 1088 ndmpd_data_start_recover_filehist_v4(ndmp_connection_t *connection, void *body) argument [all...] |
H A D | ndmpd_comm.c | 63 * The ndmp connection version can be set through command line. If command line 99 static int ndmp_recv_msg(ndmp_connection_t *connection); 100 static int ndmp_process_messages(ndmp_connection_t *connection, 102 static ndmp_msg_handler_t *ndmp_get_handler(ndmp_connection_t *connection, 121 * Allocate and initialize a connection structure. 128 * connection pointer 131 * The returned connection should be destroyed using 137 ndmp_connection_t *connection; local 139 connection = ndmp_malloc(sizeof (ndmp_connection_t)); 140 if (connection 180 ndmp_connection_t *connection = (ndmp_connection_t *)connection_handle; local 206 ndmp_connection_t *connection = (ndmp_connection_t *)connection_handle; local 332 ndmp_connection_t *connection; local 380 ndmp_connection_t *connection = (ndmp_connection_t *)connection_handle; local 417 ndmp_connection_t *connection = (ndmp_connection_t *)connection_handle; local 527 ndmp_connection_t *connection = (ndmp_connection_t *)connection_handle; local 559 ndmp_connection_t *connection = (ndmp_connection_t *)connection_handle; local 611 ndmp_connection_t *connection = (ndmp_connection_t *)connection_handle; local 803 connection_handler(ndmp_connection_t *connection) argument 965 ndmp_connection_t *connection = (ndmp_connection_t *)connection_handle; local 993 ndmp_connection_t *connection = (ndmp_connection_t *)connection_handle; local 1023 ndmp_recv_msg(ndmp_connection_t *connection) argument 1164 ndmp_process_messages(ndmp_connection_t *connection, boolean_t reply_expected) argument 1342 ndmp_get_handler(ndmp_connection_t *connection, ndmp_message message) argument [all...] |
H A D | ndmpd_mover.c | 129 * connection (input) - connection handle. 137 ndmpd_mover_get_state_v2(ndmp_connection_t *connection, void *body) argument 140 ndmpd_session_t *session = ndmp_get_client_data(connection); 159 ndmp_send_reply(connection, (void *) &reply, 170 * connection (input) - connection handle. 177 ndmpd_mover_listen_v2(ndmp_connection_t *connection, void *body) argument 181 ndmpd_session_t *session = ndmp_get_client_data(connection); 191 ndmp_send_reply(connection, (voi 242 ndmpd_mover_continue_v2(ndmp_connection_t *connection, void *body) argument 276 ndmpd_mover_abort_v2(ndmp_connection_t *connection, void *body) argument 314 ndmpd_mover_stop_v2(ndmp_connection_t *connection, void *body) argument 354 ndmpd_mover_set_window_v2(ndmp_connection_t *connection, void *body) argument 415 ndmpd_mover_read_v2(ndmp_connection_t *connection, void *body) argument 477 ndmpd_mover_close_v2(ndmp_connection_t *connection, void *body) argument 512 ndmpd_mover_set_record_size_v2(ndmp_connection_t *connection, void *body) argument 551 ndmpd_mover_get_state_v3(ndmp_connection_t *connection, void *body) argument 599 ndmpd_mover_listen_v3(ndmp_connection_t *connection, void *body) argument 694 ndmpd_mover_continue_v3(ndmp_connection_t *connection, void *body) argument 791 ndmpd_mover_abort_v3(ndmp_connection_t *connection, void *body) argument 828 ndmpd_mover_set_window_v3(ndmp_connection_t *connection, void *body) argument 915 ndmpd_mover_read_v3(ndmp_connection_t *connection, void *body) argument 987 ndmpd_mover_set_record_size_v3(ndmp_connection_t *connection, void *body) argument 1035 ndmpd_mover_connect_v3(ndmp_connection_t *connection, void *body) argument 1132 ndmpd_mover_get_state_v4(ndmp_connection_t *connection, void *body) argument 1182 ndmpd_mover_listen_v4(ndmp_connection_t *connection, void *body) argument 1290 ndmpd_mover_connect_v4(ndmp_connection_t *connection, void *body) argument [all...] |
H A D | ndmpd_util.c | 246 * If the connection closed or not. 252 * 0 - connection is still valid 253 * 1 - connection is not valid anymore 281 * Checks the mover connection status and sends an appropriate 297 * the connection to the mover on the NDMP TAPE Server. THEN 302 /* If connection is closed by the peer */ 312 "ndmp mover: connection closed by peer"); 367 * to detect if the other end closed the connection or not. 368 * NDMP client(DMA) does not send any information about the connection 857 * connection (inpu 863 ndmp_send_reply(ndmp_connection_t *connection, void *reply, char *msg) argument [all...] |
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | osspec.c | 83 osspec_filter_function (DBusConnection *connection, DBusMessage *message, void *user_data) argument
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_impl.c | 64 changestate(const char *path, const char *connection, int state, uint_t flags, argument 72 dprintf("changestate(path=%s, connection=%s, state=0x%x, flags=0x%x)\n", 73 path, connection, state, flags); 82 if ((rv = getinfo(path, connection, 0, &root)) != 0) { 133 if (modctl(MODHPOPS, MODHPOPS_CHANGE_STATE, path, connection, state)) 165 private_options(const char *path, const char *connection, hp_cmd_t cmd, argument 173 dprintf("private_options(path=%s, connection=%s, options='%s')\n", 174 path, connection, options); 198 if (modctl(MODHPOPS, MODHPOPS_BUS_GET, path, connection, 203 if (modctl(MODHPOPS, MODHPOPS_BUS_SET, path, connection, [all...] |
H A D | hotplugd_info.c | 64 * Build a hotplug information snapshot. The path, connection, 68 getinfo(const char *path, const char *connection, uint_t flags, hp_node_t *retp) argument 78 dprintf("getinfo: path=%s, connection=%s, flags=0x%x\n", path, 79 (connection == NULL) ? "NULL" : connection, flags); 86 if ((rv = copy_devinfo(basepath, connection, flags, &root)) != 0) { 136 copy_devinfo(const char *path, const char *connection, uint_t flags, argument 154 * If a connection is specified, just copy immediate hotplug info. 157 if (connection != NULL) 158 rv = copy_hotplug(NULL, di_root, connection, flag 241 copy_hotplug(hp_node_t parent, di_node_t dev, const char *connection, uint_t flags, hp_node_t *retp) argument [all...] |
H A D | hotplugd_rcm.c | 61 char connection[MAXPATHLEN]; member in struct:__anon644 73 char connection[MAXPATHLEN]; member in struct:__anon645 396 if (hp_path(node, arg->path, arg->connection) != 0) { 462 if ((rv = hp_path(node, arg->path, arg->connection)) != 0) {
|
H A D | hotplugd_door.c | 295 char *connection; local 308 if (nvlist_lookup_string(args, HPD_CONNECTION, &connection) != 0) 309 connection = NULL; 314 if ((rv = getinfo(path, connection, flags, &root)) == 0) { 367 char *path, *connection; local 376 (nvlist_lookup_string(args, HPD_CONNECTION, &connection) != 0) || 393 audit_changestate(uc, HP_MODIFY_AUTH, path, connection, 400 status = changestate(path, connection, state, flags, &old_state, &root); 404 audit_changestate(uc, HP_MODIFY_AUTH, path, connection, state, 466 char *path, *connection, *option local 647 audit_changestate(ucred_t *ucred, char *auth, char *path, char *connection, int new_state, int old_state, int result) argument 690 audit_setprivate(ucred_t *ucred, char *auth, char *path, char *connection, char *options, int result) argument [all...] |
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | addon-network-discovery.c | 149 nds_filter_function(DBusConnection *connection, DBusMessage *message, argument 217 if (!dbus_connection_send(connection, reply, NULL)) { 220 dbus_connection_flush(connection); 229 DBusConnection *connection; local 249 if ((connection = libhal_ctx_get_dbus_connection(ctx)) == NULL) { 250 HAL_WARNING(("Could not get DBus connection")); 260 dbus_connection_setup_with_g_main(connection, NULL); 261 dbus_connection_add_filter(connection, nds_filter_function, ctx, NULL); 262 dbus_connection_set_exit_on_disconnect(connection, 0);
|
/illumos-gate/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.c | 61 hp_init(const char *path, const char *connection, uint_t flags) argument 68 i_hp_dprintf("hp_init: path=%p, connection=%p, flags=0x%x\n", 69 (void *)path, (void *)connection, flags); 79 if ((args = i_hp_set_args(HP_CMD_GETINFO, path, connection, flags, 307 * Return a type description (e.g. "PCI slot") for connection nodes. 338 * Return when the state of a connection was last changed. 436 * Return the path (and maybe connection name) of a node. 440 hp_path(hp_node_t node, char *path, char *connection) argument 448 i_hp_dprintf("hp_path: node=%p, path=%p, connection=%p\n", (void *)node, 449 (void *)path, (void *)connection); 514 char connection[MAXPATHLEN]; local 596 char connection[MAXPATHLEN]; local 656 char connection[MAXPATHLEN]; local 1279 i_hp_set_args(hp_cmd_t cmd, const char *path, const char *connection, uint_t flags, const char *options, int state) argument [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald_runner.c | 97 runner_server_message_handler (DBusConnection *connection, argument 134 runner_server_unregister_handler (DBusConnection *connection, void *user_data) argument 510 /* the connection was disconnected */
|
/illumos-gate/usr/src/cmd/hotplug/ |
H A D | hotplug.c | 103 { "list [-l] [-v] [<path> [<connection>]]", "list", cmd_list }, 115 { "changestate [-f] [-q] -s <state> <path> <connection>", 157 #define EXIT_ENOENT 2 /* path or connection doesn't exist */ 247 char *connection = NULL; local 267 parse_target(argc, argv, &path, &connection, usage_str); 274 if ((root = hp_init(path, connection, flags)) == NULL) { 299 char *connection = NULL; local 304 parse_target(argc, argv, &path, &connection, usage_str); 306 /* Path and connection are required */ 307 if ((path == NULL) || (connection 359 char *connection = NULL; local 416 char *connection = NULL; local 471 char *connection = NULL; local 537 char *connection = NULL; local 601 char *connection = NULL; local 657 char *connection = NULL; local 721 char *connection = NULL; local 788 char *connection = NULL; local 1075 char connection[MAXPATHLEN]; local 1117 static char connection[MAXPATHLEN]; local [all...] |
/illumos-gate/usr/src/cmd/lms/ |
H A D | LMEConnection.cpp | 500 LMEConnection *connection = (LMEConnection *)param; local 503 if (LMS_PROCOL_VERSION == connection->protocolVer) { 504 connection->_doRX(); 505 } else if (LMS_PROCOL_VERSION_COMPAT == connection->protocolVer) { 506 connection->_doRXCompat();
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 33 * httpClose() - Close an HTTP connection... 47 * httpFlush() - Flush data from a HTTP connection. 48 * httpRead() - Read data from a HTTP connection. 50 * httpWait() - Wait for data available on a connection. 51 * httpWrite() - Write data to a HTTP connection. 52 * httpGets() - Get a line of text from a HTTP connection. 53 * httpPrintf() - Print a formatted string to a HTTP connection. 66 * http_wait() - Wait for data available on a connection. 68 * http_setup_ssl() - Set up SSL/TLS on a connection. 69 * http_shutdown_ssl() - Shut down SSL/TLS on a connection 2522 CDSAReadFunc(SSLConnectionRef connection, void *data, size_t *dataLength) argument 2547 CDSAWriteFunc(SSLConnectionRef connection, const void *data, size_t *dataLength) argument [all...] |
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | network.c | 153 /* Per-connection info. */ struct 154 struct connection { 157 void (*service)(struct connection *, const char *, int); 169 /* connection */ 226 /* Set<struct connection *> connections; */ 227 static SET(struct connection *) connections; 287 static struct connection * 289 void (*service)(struct connection *, const char *, int)) 291 struct connection *newconn; 298 gettext("cannot allocate storage for connection inf [all...] |
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsmka_pathmanager.c | 2802 rsmka_connections_t *connection; local 2830 /* leave room for connection pointer area */ 2847 /* fill in user based connection pointer */ 2864 connection = (rsmka_connections_t *)bufp; 2865 (void) snprintf(connection->hdr.cntlr_name, 2869 connection->hdr.local_hwaddr = adapter->hwaddr; 2870 connection->hdr.remote_cntlr_count = 0; 2875 connection->hdr.remote_cntlr_count++;
|
/illumos-gate/usr/src/lib/hal/libhal/common/ |
H A D | libhal.c | 254 * Context for connection to the HAL daemon. Opaque, use the 258 DBusConnection *connection; /**< D-BUS connection */ member in struct:LibHalContext_s 262 dbus_bool_t is_direct; /**< Whether the connection to hald is direct */ 287 * @ctx: the context for the connection to hald 304 * @ctx: the context for the connection to hald 413 * @ctx: the context for the connection to hald 447 reply = dbus_connection_send_with_reply_and_block (ctx->connection, 947 filter_func (DBusConnection * connection, argument 961 /*fprintf (stderr, "*** libhal filer_func: connection [all...] |