| /freebsd-9-stable/contrib/ntp/ntpd/ |
| D | refclock_oncore.c | 267 struct instance { struct 358 #define rcvbuf instance->Rcvbuf argument 359 #define rcvptr instance->Rcvptr 364 static void oncore_consume (struct instance *); 365 static void oncore_read_config (struct instance *); 367 static int oncore_ppsapi (struct instance *); 368 static void oncore_get_timestamp (struct instance *, long, long); 369 static void oncore_init_shmem (struct instance *); 371 static void oncore_antenna_report (struct instance *, enum antenna_state); 372 static void oncore_chan_test (struct instance *); [all …]
|
| D | refclock_jupiter.c | 109 struct instance { struct 138 static void jupiter_canmsg (struct instance *, u_int); argument 140 static int jupiter_config (struct instance *); 144 static const char * jupiter_parse_t (struct instance *, u_short *); 145 static const char * jupiter_parse_gpos (struct instance *, u_short *); 146 static void jupiter_platform (struct instance *, u_int); 151 static int jupiter_ppsapi (struct instance *); 152 static int jupiter_pps (struct instance *); 154 static int jupiter_recv (struct instance *); 156 static void jupiter_reqmsg (struct instance *, u_int, u_int); [all …]
|
| /freebsd-9-stable/sys/boot/ofw/libofw/ |
| D | openfirm.c | 223 OF_instance_to_package(ihandle_t instance) in OF_instance_to_package() argument 229 cell_t instance; in OF_instance_to_package() member 237 args.instance = instance; in OF_instance_to_package() 400 OF_instance_to_path(ihandle_t instance, char *buf, int len) in OF_instance_to_path() argument 406 cell_t instance; in OF_instance_to_path() member 416 args.instance = instance; in OF_instance_to_path() 452 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...) in OF_call_method() argument 460 cell_t instance; in OF_call_method() member 475 args.instance = instance; in OF_call_method() 503 cell_t instance; in OF_open() member [all …]
|
| /freebsd-9-stable/sys/dev/ofw/ |
| D | ofw_standard.c | 80 static phandle_t ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance); 92 static ssize_t ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance, 96 static int ofw_std_call_method(ofw_t ofw, ihandle_t instance, 99 static void ofw_std_close(ofw_t ofw, ihandle_t instance); 100 static ssize_t ofw_std_read(ofw_t ofw, ihandle_t instance, void *addr, 102 static ssize_t ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr, 104 static int ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos); 283 ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance) in ofw_std_instance_to_package() argument 289 cell_t instance; in ofw_std_instance_to_package() member 297 args.instance = instance; in ofw_std_instance_to_package() [all …]
|
| D | openfirm.c | 244 OF_instance_to_package(ihandle_t instance) in OF_instance_to_package() argument 250 return (OFW_INSTANCE_TO_PACKAGE(ofw_obj, instance)); in OF_instance_to_package() 361 OF_instance_to_path(ihandle_t instance, char *buf, size_t len) in OF_instance_to_path() argument 367 return (OFW_INSTANCE_TO_PATH(ofw_obj, instance, buf, len)); in OF_instance_to_path() 383 OF_call_method(const char *method, ihandle_t instance, int nargs, int nreturns, in OF_call_method() argument 396 status = OFW_CALL_METHOD(ofw_obj, instance, method, nargs, nreturns, in OF_call_method() 424 OF_close(ihandle_t instance) in OF_close() argument 430 OFW_CLOSE(ofw_obj, instance); in OF_close() 435 OF_read(ihandle_t instance, void *addr, size_t len) in OF_read() argument 441 return (OFW_READ(ofw_obj, instance, addr, len)); in OF_read() [all …]
|
| D | openfirm.h | 122 void OF_close(ihandle_t instance); 123 ssize_t OF_read(ihandle_t instance, void *buf, size_t len); 124 ssize_t OF_write(ihandle_t instance, const void *buf, size_t len); 125 int OF_seek(ihandle_t instance, uint64_t where); 127 phandle_t OF_instance_to_package(ihandle_t instance); 128 ssize_t OF_instance_to_path(ihandle_t instance, char *buf, size_t len); 129 int OF_call_method(const char *method, ihandle_t instance,
|
| D | ofw_if.m | 82 * @brief Return package corresponding to instance. 84 * @param _handle Selected instance 176 * @brief Return path for node instance. 216 * @brief Call method belonging to an instance handle. 253 * @brief Open node, returning instance handle. 263 * @brief Close node instance. 275 * @param _instance Device instance 289 * @param _instance Device instance 303 * @param _instance Device instance
|
| /freebsd-9-stable/sys/boot/ficl/softwords/ |
| D | oo.fr | 30 \ A ficl object binds instance storage (payload) to a class. 31 \ object ( -- instance class ) 38 \ The NEW method creates and initializes an instance of a class. 42 \ cell 2: size of instance's payload 44 \ Methods expect an object couple ( instance class ) 124 : catch-method ( instance class c-addr u -- <method-signature> exc-flag ) 128 : exec-method ( instance class c-addr u -- <method-signature> ) 132 \ Method lookup operator takes a class-addr and instance-addr 136 : --> ( instance class -- ??? ) 145 : c-> ( instance class -- ?? exc-flag ) [all …]
|
| /freebsd-9-stable/contrib/openbsm/bsm/ |
| D | audit_filter.h | 48 typedef int (*audit_filter_attach_t)(void *instance, int argc, char *argv[]); 49 typedef int (*audit_filter_reinit_t)(void *instance, int argc, char *argv[]); 50 typedef void (*audit_filter_record_t)(void *instance, struct timespec *ts, 52 typedef void (*audit_filter_rawrecord_t)(void *instance, struct timespec *ts, 54 typedef void (*audit_filter_detach_t)(void *instance); 59 void audit_filter_getcookie(void *instance, void **cookie); 60 void audit_filter_setcookie(void *instance, void *cookie);
|
| /freebsd-9-stable/sys/kern/ |
| D | subr_witness.c | 362 static void witness_list_lock(struct lock_instance *instance, 1365 struct lock_instance *instance; in witness_lock() local 1382 instance = find_instance(*lock_list, lock); in witness_lock() 1383 if (instance != NULL) { in witness_lock() 1384 instance->li_flags++; in witness_lock() 1387 instance->li_flags & LI_RECURSEMASK); in witness_lock() 1388 instance->li_file = file; in witness_lock() 1389 instance->li_line = line; in witness_lock() 1408 instance = &lle->ll_children[lle->ll_count++]; in witness_lock() 1409 instance->li_lock = lock; in witness_lock() [all …]
|
| /freebsd-9-stable/sys/powerpc/ofw/ |
| D | ofw_real.c | 86 static phandle_t ofw_real_instance_to_package(ofw_t, ihandle_t instance); 97 static ssize_t ofw_real_instance_to_path(ofw_t, ihandle_t instance, char *buf, 101 static int ofw_real_call_method(ofw_t, ihandle_t instance, const char *method, 106 static void ofw_real_close(ofw_t, ihandle_t instance); 107 static ssize_t ofw_real_read(ofw_t, ihandle_t instance, void *addr, size_t len); 108 static ssize_t ofw_real_write(ofw_t, ihandle_t instance, const void *addr, 110 static int ofw_real_seek(ofw_t, ihandle_t instance, u_int64_t pos); 436 ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance) in ofw_real_instance_to_package() argument 443 cell_t instance; in ofw_real_instance_to_package() member 451 args.instance = instance; in ofw_real_instance_to_package() [all …]
|
| /freebsd-9-stable/contrib/telnet/libtelnet/ |
| D | kerberos.c | 155 char instance[INST_SZ]; in kerberos4_send() local 168 memset(instance, 0, sizeof(instance)); in kerberos4_send() 171 strncpy(instance, realm, sizeof(instance)); in kerberos4_send() 173 instance[sizeof(instance)-1] = '\0'; in kerberos4_send() 181 if ((r = krb_mk_req(&lauth, krb_service_name, instance, realm, 0L))) { in kerberos4_send() 185 if ((r = krb_get_cred(krb_service_name, instance, realm, &cred))) { in kerberos4_send() 245 char instance[INST_SZ]; in kerberos4_is() local 266 instance[0] = '*'; instance[1] = 0; in kerberos4_is() 268 instance, 0, &adat, empty))) { in kerberos4_is()
|
| /freebsd-9-stable/contrib/openbsm/modules/auditfilter_noop/ |
| D | auditfilter_noop.c | 46 AUDIT_FILTER_ATTACH(void *instance __unused, int argc __unused, in AUDIT_FILTER_ATTACH() 54 AUDIT_FILTER_REINIT(void *instance __unused, int argc __unused, in AUDIT_FILTER_REINIT() 62 AUDIT_FILTER_RECORD(void *instance __unused, struct timespec *ts __unused, in AUDIT_FILTER_RECORD() 69 AUDIT_FILTER_RAWRECORD(void *instance __unused, struct timespec *ts __unused, in AUDIT_FILTER_RAWRECORD() 76 AUDIT_FILTER_DETACH(void *instance __unused) in AUDIT_FILTER_DETACH()
|
| /freebsd-9-stable/crypto/heimdal/kdc/ |
| D | kaserver.c | 286 char *name, char *instance, char *realm, in create_reply_ticket() argument 314 instance, in create_reply_ticket() 338 krb5_store_stringz (sp, instance); in create_reply_ticket() 395 char **instance, in unparse_auth_args() argument 413 *instance = malloc(data.length + 1); in unparse_auth_args() 414 if (*instance == NULL) { in unparse_auth_args() 418 memcpy (*instance, data.data, data.length); in unparse_auth_args() 419 (*instance)[data.length] = '\0'; in unparse_auth_args() 443 char *instance = NULL; in do_authenticate() local 461 ret = unparse_auth_args (sp, &name, &instance, &start_time, &end_time, in do_authenticate() [all …]
|
| D | v4_dump.c | 107 pr.name, pr.instance, in v4_prop_dump() 119 lineno, pr.name, pr.instance); in v4_prop_dump() 132 if (pr.instance[0] == '*') in v4_prop_dump() 133 pr.instance[0] = '\0'; in v4_prop_dump()
|
| /freebsd-9-stable/crypto/heimdal/appl/telnet/libtelnet/ |
| D | kerberos.c | 167 char instance[INST_SZ]; in kerberos4_send() local 179 memset(instance, 0, sizeof(instance)); in kerberos4_send() 181 strlcpy (instance, in kerberos4_send() 192 KRB_SERVICE_NAME, instance, realm); in kerberos4_send() 193 r = krb_mk_req(&auth, KRB_SERVICE_NAME, instance, realm, 0L); in kerberos4_send() 198 r = krb_get_cred(KRB_SERVICE_NAME, instance, realm, &cred); in kerberos4_send() 276 char instance[INST_SZ]; in kerberos4_is() local 298 k_getsockinst(0, instance, sizeof(instance)); in kerberos4_is() 316 instance, addr.sin_addr.s_addr, &adat, ""); in kerberos4_is() 420 strncmp(cred.instance, cred.realm, sizeof(cred.instance)) || in kerberos4_is() [all …]
|
| D | krb4encpwd.c | 280 char randchal[REALM_SZ], instance[ANAME_SZ], *cp; local 310 strlcpy(instance, RemoteHostName, sizeof(instance)); 311 if ((cp = strchr(instance, '.')) != 0) *cp = '\0'; 313 …if (r = krb_mk_encpwd_req(&krb_token, KRB_SERVICE_NAME, instance, realm, Challenge, UserNameReques…
|
| /freebsd-9-stable/sys/dev/acpi_support/ |
| D | acpi_wmi_if.m | 64 # UINT8 instance: instance id 72 UINT8 instance; 83 # UINT8 instance: instance id 89 UINT8 instance; 97 # UINT8 instance: instance id 103 UINT8 instance;
|
| D | acpi_hp.c | 114 UINT8 instance; /* object instance on guid */ member 293 UINT8 instance, char* outbuf, size_t outsize, 886 acpi_hp_get_cmi_block(device_t wmi_dev, const char* guid, UINT8 instance, in acpi_hp_get_cmi_block() argument 901 if (ACPI_FAILURE(ACPI_WMI_GET_BLOCK(wmi_dev, guid, instance, &out))) { in acpi_hp_get_cmi_block() 1128 UINT8 instance; in acpi_hp_hpcmi_read() local 1153 for (instance = 0; instance < maxInstance; in acpi_hp_hpcmi_read() 1154 ++instance) { in acpi_hp_hpcmi_read() 1156 ACPI_HP_WMI_CMI_GUID, instance, in acpi_hp_hpcmi_read() 1159 instance = maxInstance; in acpi_hp_hpcmi_read() 1176 sc->cmi_order[i].instance = in acpi_hp_hpcmi_read() [all …]
|
| /freebsd-9-stable/crypto/heimdal/lib/krb5/ |
| D | principal.c | 792 const char *instance, in krb5_425_conv_principal_ext2() argument 814 if(instance == NULL) in krb5_425_conv_principal_ext2() 816 if(instance[0] == 0){ in krb5_425_conv_principal_ext2() 817 instance = NULL; in krb5_425_conv_principal_ext2() 825 "v4_instance_convert", instance, NULL); in krb5_425_conv_principal_ext2() 827 instance = p; in krb5_425_conv_principal_ext2() 828 ret = krb5_make_principal(context, &pr, realm, name, instance, NULL); in krb5_425_conv_principal_ext2() 844 r = dns_lookup(instance, "aaaa"); in krb5_425_conv_principal_ext2() 852 r = dns_lookup(instance, "a"); in krb5_425_conv_principal_ext2() 866 ret = getaddrinfo(instance, NULL, &hints, &ai); in krb5_425_conv_principal_ext2() [all …]
|
| D | keytab_krb4.c | 167 char *service, *instance, *realm; in read_v4_entry() local 173 ret = krb5_ret_stringz(c->sp, &instance); in read_v4_entry() 181 free (instance); in read_v4_entry() 184 ret = krb5_425_conv_principal (context, service, instance, realm, in read_v4_entry() 187 free (instance); in read_v4_entry() 271 char instance[INST_SZ]; in krb4_store_keytab_entry() local 274 service, instance, realm); in krb4_store_keytab_entry() 280 ret = krb5_store_stringz(sp, instance); in krb4_store_keytab_entry()
|
| /freebsd-9-stable/crypto/heimdal/lib/45/ |
| D | mk_req.c | 68 const char *service, const char *instance, const char *realm, in krb_mk_req() argument 73 char *service, char *instance, char *realm, in krb_mk_req() 86 code = krb_get_cred(service, instance, realm, &cr); in krb_mk_req() 89 (char *)instance, (char *)realm, lifetime); in krb_mk_req() 91 code = krb_get_cred(service, instance, realm, &cr); in krb_mk_req()
|
| /freebsd-9-stable/contrib/bind9/bin/named/ |
| D | main.c | 815 char *instance = NULL; in setup() local 834 result = ns_smf_get_instance(&instance, 0, ns_g_mctx); in setup() 840 if (instance != NULL) in setup() 841 isc_mem_free(ns_g_mctx, instance); in setup() 1094 char *instance; in ns_smf_get_instance() local 1124 if ((instance = isc_mem_allocate(mctx, namelen + 1)) == NULL) { in ns_smf_get_instance() 1133 if (scf_myname(h, instance, namelen + 1) == -1) { in ns_smf_get_instance() 1139 isc_mem_free(mctx, instance); in ns_smf_get_instance() 1144 *ins_name = instance; in ns_smf_get_instance() 1155 char *instance = NULL; in main() local [all …]
|
| /freebsd-9-stable/crypto/heimdal/appl/ftp/ftpd/ |
| D | kauth.c | 55 const char *instance, in save_tkt() argument 99 strlcpy(sp.instance, ptr, sizeof(sp.instance)); in store_ticket() 162 tf_put_pinst(pr.instance) != KSUCCESS) { in store_ticket() 168 kerror = tf_save_cred(sp.name, sp.instance, sp.realm, session, in store_ticket() 214 pr.instance, in kauth()
|
| /freebsd-9-stable/sys/cddl/compat/opensolaris/kern/ |
| D | opensolaris_kstat.c | 42 kstat_create(char *module, int instance, char *name, char *class, uchar_t type, in kstat_create() argument 48 KASSERT(instance == 0, ("instance=%d", instance)); in kstat_create()
|