Home
last modified time | relevance | path

Searched refs:service (Results 1 – 25 of 555) sorted by relevance

12345678910>>...23

/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c168 vchiq_set_service_state(VCHIQ_SERVICE_T *service, int newstate) in vchiq_set_service_state() argument
171 service->state->id, service->localport, in vchiq_set_service_state()
172 srvstate_names[service->srvstate], in vchiq_set_service_state()
174 service->srvstate = newstate; in vchiq_set_service_state()
180 VCHIQ_SERVICE_T *service; in find_service_by_handle() local
183 service = handle_to_service(handle); in find_service_by_handle()
184 if (service && (service->srvstate != VCHIQ_SRVSTATE_FREE) && in find_service_by_handle()
185 (service->handle == handle)) { in find_service_by_handle()
186 BUG_ON(service->ref_count == 0); in find_service_by_handle()
187 service->ref_count++; in find_service_by_handle()
[all …]
H A Dvchiq_shim.c102 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; in vchi_msg_peek() local
109 if (vchiu_queue_is_empty(&service->queue)) in vchi_msg_peek()
112 header = vchiu_queue_peek(&service->queue); in vchi_msg_peek()
134 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; in vchi_msg_remove() local
137 header = vchiu_queue_pop(&service->queue); in vchi_msg_remove()
139 vchiq_release_message(service->handle, header); in vchi_msg_remove()
165 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; in vchi_msg_queue() local
173 status = vchiq_queue_message(service->handle, &element, 1); in vchi_msg_queue()
181 status = vchiq_queue_message(service->handle, &element, 1); in vchi_msg_queue()
208 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; in vchi_bulk_queue_receive() local
[all …]
H A Dvchiq_if.h47 #define VCHIQ_GET_SERVICE_USERDATA(service) vchiq_get_service_userdata(service) argument
48 #define VCHIQ_GET_SERVICE_FOURCC(service) vchiq_get_service_fourcc(service) argument
138 extern VCHIQ_STATUS_T vchiq_close_service(VCHIQ_SERVICE_HANDLE_T service);
139 extern VCHIQ_STATUS_T vchiq_remove_service(VCHIQ_SERVICE_HANDLE_T service);
140 extern VCHIQ_STATUS_T vchiq_use_service(VCHIQ_SERVICE_HANDLE_T service);
142 VCHIQ_SERVICE_HANDLE_T service);
143 extern VCHIQ_STATUS_T vchiq_release_service(VCHIQ_SERVICE_HANDLE_T service);
145 extern VCHIQ_STATUS_T vchiq_queue_message(VCHIQ_SERVICE_HANDLE_T service,
147 extern void vchiq_release_message(VCHIQ_SERVICE_HANDLE_T service,
149 extern VCHIQ_STATUS_T vchiq_queue_bulk_transmit(VCHIQ_SERVICE_HANDLE_T service,
[all …]
H A Dvchiq_arm.c101 VCHIQ_SERVICE_T *service; member
240 completion->service_userdata = user_service->service; in add_completion()
246 lock_service(user_service->service); in add_completion()
281 VCHIQ_SERVICE_T *service; in service_callback() local
288 service = handle_to_service(handle); in service_callback()
289 BUG_ON(!service); in service_callback()
290 user_service = (USER_SERVICE_T *)service->base.userdata; in service_callback()
300 service->localport, user_service->userdata, in service_callback()
405 user_service->service->handle); in close_delivered()
409 unlock_service(user_service->service); in close_delivered()
[all …]
H A Dvchiq_kern_lib.c230 VCHIQ_SERVICE_T *service = NULL; in vchiq_add_service() local
242 service = vchiq_add_service_internal( in vchiq_add_service()
249 if (service) { in vchiq_add_service()
250 *phandle = service->handle; in vchiq_add_service()
275 VCHIQ_SERVICE_T *service = NULL; in vchiq_open_service() local
285 service = vchiq_add_service_internal(state, in vchiq_open_service()
291 if (service) { in vchiq_open_service()
292 *phandle = service->handle; in vchiq_open_service()
293 status = vchiq_open_service_internal(service, in vchiq_open_service()
296 vchiq_remove_service(service->handle); in vchiq_open_service()
[all …]
H A Dvchiq_core.h158 #define VCHIQ_SERVICE_STATS_INC(service, stat) (service->stats. stat++) argument
159 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) \ argument
160 (service->stats. stat += addend)
163 #define VCHIQ_SERVICE_STATS_INC(service, stat) ((void)0) argument
164 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) ((void)0) argument
555 vchiq_open_service_internal(VCHIQ_SERVICE_T *service, int client_id);
558 vchiq_close_service_internal(VCHIQ_SERVICE_T *service, int close_recvd);
561 vchiq_terminate_service_internal(VCHIQ_SERVICE_T *service);
564 vchiq_free_service_internal(VCHIQ_SERVICE_T *service);
587 vchiq_dump_service_state(void *dump_context, VCHIQ_SERVICE_T *service);
[all …]
/freebsd/lib/libcasper/libcasper/
H A Dservice.c78 struct service { struct
87 struct service * argument
91 struct service *service; in service_alloc() local
93 service = malloc(sizeof(*service)); in service_alloc()
94 if (service == NULL) in service_alloc()
96 service->s_name = strdup(name); in service_alloc()
97 if (service->s_name == NULL) { in service_alloc()
98 free(service); in service_alloc()
101 service->s_limit = limitfunc; in service_alloc()
102 service->s_command = commandfunc; in service_alloc()
[all …]
H A Dlibcasper_impl.h41 struct service;
48 struct service *service_alloc(const char *name,
51 void service_free(struct service *service);
52 void service_message(struct service *service,
54 void service_start(struct service *service, int sock, int procfd);
55 const char *service_name(struct service *service);
56 int service_get_channel_flags(struct service *service);
59 struct service_connection *service_connection_add(struct service *service,
62 struct service *service,
65 struct service *service,
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DBIO_parse_hostserv.pod7 - utility routines to parse a standard host and service string
16 int BIO_parse_hostserv(const char *hostserv, char **host, char **service,
22 create strings with the hostname and service name and give those
23 back via B<host> and B<service>. Those will need to be freed after
25 be interpreted primarily as a hostname or a service name in ambiguous
30 host + ':' + service
33 ':' + service
34 '*' + ':' + service
36 service
41 The service part can be a service name or its port number. A service name
[all …]
/freebsd/sys/dev/qat/qat_common/
H A Dadf_init.c42 adf_service_add(struct service_hndl *service) in adf_service_add() argument
45 list_add(&service->list, &service_table); in adf_service_add()
50 adf_service_register(struct service_hndl *service) in adf_service_register() argument
52 memset(service->init_status, 0, sizeof(service->init_status)); in adf_service_register()
53 memset(service->start_status, 0, sizeof(service->start_status)); in adf_service_register()
54 adf_service_add(service); in adf_service_register()
59 adf_service_remove(struct service_hndl *service) in adf_service_remove() argument
62 list_del(&service->list); in adf_service_remove()
67 adf_service_unregister(struct service_hndl *service) in adf_service_unregister() argument
71 for (i = 0; i < ARRAY_SIZE(service->init_status); i++) { in adf_service_unregister()
[all …]
/freebsd/lib/libpam/pam.d/
H A Dconvert.pl45 my $service;
60 foreach $service (keys(%SERVICES)) {
62 if (sysopen(FILE, $service, O_RDONLY)) {
70 sysopen(FILE, $service, O_RDWR|O_CREAT|O_TRUNC)
71 or die("$service: $!\n");
75 print(FILE "# PAM configuration for the \"$service\" service\n");
78 next unless exists($SERVICES{$service}->{$type});
81 print(FILE join("\n", @{$SERVICES{$service}->{$type}}, ""));
84 warn("$service\n");
/freebsd/sys/contrib/openzfs/etc/systemd/system/
H A Dzfs-share.service.in4 Before=nfs-server.service nfs-kernel-server.service
5 After=smb.service
6 Before=rpc-statd-notify.service
7 Wants=zfs-mount.service
8 After=zfs-mount.service
9 PartOf=nfs-server.service nfs-kernel-server.service
10 PartOf=smb.service
H A D50-zfs.preset2 enable zfs-import-cache.service
3 disable zfs-import-scan.service
5 enable zfs-mount.service
6 enable zfs-share.service
7 enable zfs-zed.service
8 enable zfs-volume-wait.service
/freebsd/sys/dev/qat/qat_api/common/include/
H A Dlac_sal.h52 CpaStatus SalCtrl_ServiceCreate(sal_service_type_t service,
183 CpaStatus SalCtrl_CryptoInit(icp_accel_dev_t *device, sal_service_t *service);
209 CpaStatus SalCtrl_CryptoStart(icp_accel_dev_t *device, sal_service_t *service);
234 CpaStatus SalCtrl_CryptoStop(icp_accel_dev_t *device, sal_service_t *service);
260 sal_service_t *service);
312 sal_service_t *service);
337 sal_service_t *service);
364 sal_service_t *service);
391 sal_service_t *service);
443 sal_service_type_t service);
[all …]
/freebsd/contrib/pam-krb5/portable/
H A Dpam_vsyslog.c45 const char *service = NULL; in pam_vsyslog() local
48 retval = pam_get_item(pamh, PAM_SERVICE, (PAM_CONST void **) &service); in pam_vsyslog()
50 service = NULL; in pam_vsyslog()
58 (service == NULL) ? "" : "(", in pam_vsyslog()
59 (service == NULL) ? "" : service, in pam_vsyslog()
60 (service == NULL) ? "" : ")", msg); in pam_vsyslog()
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_addr.c217 * addr_strings - helper function to get host and service names
223 * @service: a pointer to a pointer to a memory area to store the
224 * service name or numeric representation. Unused if NULL.
230 char **hostname, char **service) in addr_strings() argument
274 if (service != NULL) in addr_strings()
275 *service = OPENSSL_strdup(serv); in addr_strings()
280 if (service != NULL) { in addr_strings()
283 *service = OPENSSL_strdup(serv); in addr_strings()
288 || (service != NULL && *service in addr_strings()
314 char *service = NULL; BIO_ADDR_service_string() local
505 BIO_parse_hostserv(const char * hostserv,char ** host,char ** service,enum BIO_hostserv_priorities hostserv_prio) BIO_parse_hostserv() argument
648 BIO_lookup(const char * host,const char * service,enum BIO_lookup_type lookup_type,int family,int socktype,BIO_ADDRINFO ** res) BIO_lookup() argument
677 BIO_lookup_ex(const char * host,const char * service,int lookup_type,int family,int socktype,int protocol,BIO_ADDRINFO ** res) BIO_lookup_ex() argument
[all...]
/freebsd/contrib/openpam/lib/libpam/
H A Dopenpam_configure.c153 const char *service, in openpam_parse_chain() argument
184 strcmp(wordv[i++], service) != 0) { in openpam_parse_chain()
377 const char *service, in openpam_load_file() argument
407 ret = openpam_parse_chain(pamh, service, facility, in openpam_load_file()
422 const char *service, in openpam_load_chain() argument
434 if (strchr(service, '/') != NULL) { in openpam_load_chain()
435 if ((p = strrchr(service, '.')) != NULL && strcmp(p, ".conf") == 0) in openpam_load_chain()
439 ret = openpam_load_file(pamh, service, facility, in openpam_load_chain()
440 service, style); in openpam_load_chain()
453 len = strlcat(filename, service, sizeof filename); in openpam_load_chain()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/soc/qcom/
H A Dqcom,apr.txt26 Each subnode of the APR node represents service tied to this apr. The name
28 by the individual bindings for the specific service
51 Definition: Must list the protection domain service name and path
52 that the particular apr service has a dependency on.
68 apr-service@3 {
73 apr-service@4 {
85 apr-service@7 {
91 apr-service@8 {
109 apr-service@3 {
114 q6afe: apr-service@4 {
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dverify_user.c42 const char *service, in verify_common() argument
50 ret = krb5_sname_to_principal (context, NULL, service, KRB5_NT_SRV_HST, in verify_common()
96 opt->service = "host"; in krb5_verify_opt_init()
137 krb5_verify_opt_set_service(krb5_verify_opt *opt, const char *service) in krb5_verify_opt_set_service() argument
139 opt->service = service; in krb5_verify_opt_set_service()
180 OPT(service, "host"), cred); in verify_user_opt_int()
224 const char *service) in krb5_verify_user() argument
232 krb5_verify_opt_set_service(&opt, service); in krb5_verify_user()
248 const char *service) in krb5_verify_user_lrealm() argument
256 krb5_verify_opt_set_service(&opt, service); in krb5_verify_user_lrealm()
/freebsd/usr.sbin/unbound/setup/
H A Dlocal-unbound-setup.sh50 service=""
91 : ${service:=local_unbound}
201 echo "unbound_service=\"${service}\""
203 echo "unbound_restart=\"service ${service} reload\""
384 service="$OPTARG"
474 elif ! service "${service}" enabled ; then
475 echo "Please enable $service in rc.conf(5) and try again."
477 elif ! service "${service}" restart ; then
478 echo "Failed to start $service."
/freebsd/sys/dev/qat/qat_api/common/ctrl/
H A Dsal_ctrl_services.c171 SalCtrl_IsServiceEnabled(Cpa32U enabled_services, sal_service_type_t service) in SalCtrl_IsServiceEnabled() argument
173 return (CpaBoolean)((enabled_services & (Cpa32U)(service)) != 0); in SalCtrl_IsServiceEnabled()
447 sal_service_t *service = NULL; in SalCtrl_ServiceShutdown() local
450 service = in SalCtrl_ServiceShutdown()
452 service->state = SAL_SERVICE_STATE_RESTARTING; in SalCtrl_ServiceShutdown()
569 sal_service_t *service = NULL; in SalCtrl_ServiceInit() local
571 service = in SalCtrl_ServiceInit()
573 service->debug_parent_dir = debug_dir; in SalCtrl_ServiceInit()
575 if (CPA_TRUE == service->isInstanceStarted) { in SalCtrl_ServiceInit()
655 sal_service_t *service = NULL; in SalCtrl_ServiceStart() local
[all …]
/freebsd/contrib/pam-krb5/module/
H A Dauth.c149 int service) in set_credential_options() argument
155 if (!service) { in set_credential_options()
331 krb5_get_init_creds_opt *opts, const char *service, in password_auth() argument
345 if (service == NULL) in password_auth()
350 principal, service); in password_auth()
358 args, 0, (char *) service, opts); in password_auth()
400 krb5_get_init_creds_opt *opts, const char *service, in k5login_password_auth() argument
429 args, 0, (char *) service, opts); in k5login_password_auth()
478 if (service == NULL) in k5login_password_auth()
482 service); in k5login_password_auth()
[all …]
/freebsd/sys/contrib/openzfs/etc/
H A DMakefile.am55 %D%/systemd/system/zfs-import-cache.service \
56 %D%/systemd/system/zfs-import-scan.service \
58 %D%/systemd/system/zfs-mount.service \
59 %D%/systemd/system/zfs-mount@.service \
62 %D%/systemd/system/zfs-scrub@.service \
65 %D%/systemd/system/zfs-trim@.service \
66 %D%/systemd/system/zfs-share.service \
67 %D%/systemd/system/zfs-volume-wait.service \
69 %D%/systemd/system/zfs-zed.service \
/freebsd/crypto/krb5/src/lib/gssapi/krb5/
H A Dimport_name.c92 char *service, *host = NULL; in parse_hostbased() local
99 service = xmalloc(servicelen + 1); in parse_hostbased()
100 if (service == NULL) in parse_hostbased()
102 memcpy(service, str, servicelen); in parse_hostbased()
103 service[servicelen] = '\0'; in parse_hostbased()
110 free(service); in parse_hostbased()
117 *service_out = service; in parse_hostbased()
131 char *tmp = NULL, *tmp2 = NULL, *service = NULL, *host = NULL, *stringrep; in import_name() local
154 input_name_buffer->length, &service, &host); in import_name()
163 code = krb5_sname_to_principal(context, host, service, KRB5_NT_SRV_HST, in import_name()
[all …]
/freebsd/crypto/krb5/src/lib/krb5/os/
H A Ddnssrv.c51 make_lookup_name(const krb5_data *realm, const char *service, in make_lookup_name() argument
60 k5_buf_add_fmt(&buf, "%s.", service); in make_lookup_name()
113 const char *service, const char *sitename, in k5_make_uri_query() argument
124 const char *service, const char *protocol, in krb5int_make_srv_query_realm() argument
135 name = make_lookup_name(realm, service, protocol, sitename); in krb5int_make_srv_query_realm()
146 return krb5int_make_srv_query_realm(context, realm, service, protocol, in krb5int_make_srv_query_realm()
189 const char *service, const char *sitename, in k5_make_uri_query() argument
202 name = make_lookup_name(realm, service, NULL, sitename); in k5_make_uri_query()
212 return k5_make_uri_query(context, realm, service, NULL, answers); in k5_make_uri_query()
260 const char *service, const char *protocol, in krb5int_make_srv_query_realm() argument
[all …]

12345678910>>...23