| /NextBSD/contrib/ntp/ntpd/ |
| HD | 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 …]
|
| HD | refclock_jupiter.c | 104 struct instance { struct 133 static void jupiter_canmsg (struct instance *, u_int); argument 135 static int jupiter_config (struct instance *); 139 static const char * jupiter_parse_t (struct instance *, u_short *); 140 static const char * jupiter_parse_gpos (struct instance *, u_short *); 141 static void jupiter_platform (struct instance *, u_int); 146 static int jupiter_ppsapi (struct instance *); 147 static int jupiter_pps (struct instance *); 149 static int jupiter_recv (struct instance *); 151 static void jupiter_reqmsg (struct instance *, u_int, u_int); [all …]
|
| /NextBSD/sys/contrib/vchiq/interface/vchiq_arm/ |
| HD | vchiq_kern_lib.c | 73 VCHIQ_INSTANCE_T instance = NULL; in vchiq_initialise() local 95 instance = kzalloc(sizeof(*instance), GFP_KERNEL); in vchiq_initialise() 96 if (!instance) { in vchiq_initialise() 102 instance->connected = 0; in vchiq_initialise() 103 instance->state = state; in vchiq_initialise() 104 lmutex_init(&instance->bulk_waiter_list_mutex); in vchiq_initialise() 105 INIT_LIST_HEAD(&instance->bulk_waiter_list); in vchiq_initialise() 107 *instanceOut = instance; in vchiq_initialise() 113 "%s(%p): returning %d", __func__, instance, status); in vchiq_initialise() 125 VCHIQ_STATUS_T vchiq_shutdown(VCHIQ_INSTANCE_T instance) in vchiq_shutdown() argument [all …]
|
| HD | vchiq_arm.c | 95 static int vchiq_proc_add_instance(VCHIQ_INSTANCE_T instance); 96 static void vchiq_proc_remove_instance(VCHIQ_INSTANCE_T instance); 103 VCHIQ_INSTANCE_T instance; member 206 add_completion(VCHIQ_INSTANCE_T instance, VCHIQ_REASON_T reason, in add_completion() argument 213 while (instance->completion_insert == in add_completion() 214 (instance->completion_remove + MAX_COMPLETIONS)) { in add_completion() 220 if (down_interruptible(&instance->remove_event) != 0) { in add_completion() 224 } else if (instance->closing) { in add_completion() 233 &instance->completions[instance->completion_insert & in add_completion() 246 if (instance->use_close_delivered) in add_completion() [all …]
|
| HD | vchiq_debugfs.c | 194 VCHIQ_INSTANCE_T instance = f->private; in debugfs_usecount_show() local 197 use_count = vchiq_instance_get_use_count(instance); in debugfs_usecount_show() 218 VCHIQ_INSTANCE_T instance = f->private; in debugfs_trace_show() local 221 trace = vchiq_instance_get_trace(instance); in debugfs_trace_show() 237 VCHIQ_INSTANCE_T instance = f->private; in debugfs_trace_write() local 247 vchiq_instance_set_trace(instance, 1); in debugfs_trace_write() 252 vchiq_instance_set_trace(instance, 0); in debugfs_trace_write() 273 int vchiq_debugfs_add_instance(VCHIQ_INSTANCE_T instance) in vchiq_debugfs_add_instance() argument 280 vchiq_instance_get_pid(instance)); in vchiq_debugfs_add_instance() 288 instance, in vchiq_debugfs_add_instance() [all …]
|
| HD | vchiq_shim.c | 469 VCHIQ_INSTANCE_T instance; in vchi_initialise() local 472 status = vchiq_initialise(&instance); in vchi_initialise() 474 *instance_handle = (VCHI_INSTANCE_T)instance; in vchi_initialise() 497 VCHIQ_INSTANCE_T instance = (VCHIQ_INSTANCE_T)instance_handle; in vchi_connect() local 502 return vchiq_connect(instance); in vchi_connect() 520 VCHIQ_INSTANCE_T instance = (VCHIQ_INSTANCE_T)instance_handle; in vchi_disconnect() local 521 return vchiq_status_to_vchi(vchiq_shutdown(instance)); in vchi_disconnect() 601 static SHIM_SERVICE_T *service_alloc(VCHIQ_INSTANCE_T instance, in service_alloc() argument 606 (void)instance; in service_alloc() 633 VCHIQ_INSTANCE_T instance = (VCHIQ_INSTANCE_T)instance_handle; in vchi_service_open() local [all …]
|
| HD | vchiq_if.h | 130 extern VCHIQ_STATUS_T vchiq_shutdown(VCHIQ_INSTANCE_T instance); 131 extern VCHIQ_STATUS_T vchiq_connect(VCHIQ_INSTANCE_T instance); 132 extern VCHIQ_STATUS_T vchiq_add_service(VCHIQ_INSTANCE_T instance, 135 extern VCHIQ_STATUS_T vchiq_open_service(VCHIQ_INSTANCE_T instance, 174 extern VCHIQ_STATUS_T vchiq_get_config(VCHIQ_INSTANCE_T instance, 179 extern VCHIQ_STATUS_T vchiq_remote_use(VCHIQ_INSTANCE_T instance, 181 extern VCHIQ_STATUS_T vchiq_remote_release(VCHIQ_INSTANCE_T instance);
|
| HD | vchiq_arm.h | 189 vchiq_instance_get_debugfs_node(VCHIQ_INSTANCE_T instance); 193 vchiq_instance_get_use_count(VCHIQ_INSTANCE_T instance); 196 vchiq_instance_get_pid(VCHIQ_INSTANCE_T instance); 199 vchiq_instance_get_trace(VCHIQ_INSTANCE_T instance); 202 vchiq_instance_set_trace(VCHIQ_INSTANCE_T instance, int trace);
|
| HD | vchiq_core.h | 305 VCHIQ_INSTANCE_T instance; member 420 VCHIQ_INSTANCE_T *instance; member 538 vchiq_connect_internal(VCHIQ_STATE_T *state, VCHIQ_INSTANCE_T instance); 543 VCHIQ_INSTANCE_T instance, VCHIQ_USERDATA_TERM_T userdata_term); 558 vchiq_shutdown_internal(VCHIQ_STATE_T *state, VCHIQ_INSTANCE_T instance); 607 find_service_for_instance(VCHIQ_INSTANCE_T instance, 611 find_closed_service_for_instance(VCHIQ_INSTANCE_T instance, 615 next_service_by_instance(VCHIQ_STATE_T *state, VCHIQ_INSTANCE_T instance,
|
| /NextBSD/sys/boot/ofw/libofw/ |
| HD | 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 …]
|
| /NextBSD/sys/dev/ofw/ |
| HD | 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 …]
|
| HD | openfirm.h | 150 void OF_close(ihandle_t instance); 151 ssize_t OF_read(ihandle_t instance, void *buf, size_t len); 152 ssize_t OF_write(ihandle_t instance, const void *buf, size_t len); 153 int OF_seek(ihandle_t instance, uint64_t where); 155 phandle_t OF_instance_to_package(ihandle_t instance); 156 ssize_t OF_instance_to_path(ihandle_t instance, char *buf, size_t len); 157 int OF_call_method(const char *method, ihandle_t instance,
|
| HD | openfirm.c | 349 OF_instance_to_package(ihandle_t instance) in OF_instance_to_package() argument 355 return (OFW_INSTANCE_TO_PACKAGE(ofw_obj, instance)); in OF_instance_to_package() 523 OF_instance_to_path(ihandle_t instance, char *buf, size_t len) in OF_instance_to_path() argument 529 return (OFW_INSTANCE_TO_PATH(ofw_obj, instance, buf, len)); in OF_instance_to_path() 659 OF_call_method(const char *method, ihandle_t instance, int nargs, int nreturns, in OF_call_method() argument 672 status = OFW_CALL_METHOD(ofw_obj, instance, method, nargs, nreturns, in OF_call_method() 700 OF_close(ihandle_t instance) in OF_close() argument 706 OFW_CLOSE(ofw_obj, instance); in OF_close() 711 OF_read(ihandle_t instance, void *addr, size_t len) in OF_read() argument 717 return (OFW_READ(ofw_obj, instance, addr, len)); in OF_read() [all …]
|
| /NextBSD/sys/boot/ficl/softwords/ |
| HD | 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 …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Core/ |
| HD | PluginManager.cpp | 275 ABIInstance instance; in RegisterPlugin() local 277 instance.name = name; in RegisterPlugin() 279 instance.description = description; in RegisterPlugin() 280 instance.create_callback = create_callback; in RegisterPlugin() 282 GetABIInstances ().push_back (instance); in RegisterPlugin() 381 DisassemblerInstance instance; in RegisterPlugin() local 383 instance.name = name; in RegisterPlugin() 385 instance.description = description; in RegisterPlugin() 386 instance.create_callback = create_callback; in RegisterPlugin() 388 GetDisassemblerInstances ().push_back (instance); in RegisterPlugin() [all …]
|
| /NextBSD/contrib/openbsm/bsm/ |
| HD | audit_filter.h | 46 typedef int (*audit_filter_attach_t)(void *instance, int argc, char *argv[]); 47 typedef int (*audit_filter_reinit_t)(void *instance, int argc, char *argv[]); 48 typedef void (*audit_filter_record_t)(void *instance, struct timespec *ts, 50 typedef void (*audit_filter_rawrecord_t)(void *instance, struct timespec *ts, 52 typedef void (*audit_filter_detach_t)(void *instance); 57 void audit_filter_getcookie(void *instance, void **cookie); 58 void audit_filter_setcookie(void *instance, void *cookie);
|
| /NextBSD/sys/powerpc/ofw/ |
| HD | 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); 435 ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance) in ofw_real_instance_to_package() argument 442 cell_t instance; in ofw_real_instance_to_package() member 450 args.instance = instance; in ofw_real_instance_to_package() [all …]
|
| /NextBSD/sys/kern/ |
| HD | subr_witness.c | 365 static void witness_list_lock(struct lock_instance *instance, 1442 struct lock_instance *instance; in witness_lock() local 1459 instance = find_instance(*lock_list, lock); in witness_lock() 1460 if (instance != NULL) { in witness_lock() 1461 instance->li_flags++; in witness_lock() 1464 instance->li_flags & LI_RECURSEMASK); in witness_lock() 1465 instance->li_file = file; in witness_lock() 1466 instance->li_line = line; in witness_lock() 1485 instance = &lle->ll_children[lle->ll_count++]; in witness_lock() 1486 instance->li_lock = lock; in witness_lock() [all …]
|
| /NextBSD/contrib/telnet/libtelnet/ |
| HD | 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()
|
| /NextBSD/contrib/openbsm/modules/auditfilter_noop/ |
| HD | auditfilter_noop.c | 44 AUDIT_FILTER_ATTACH(void *instance __unused, int argc __unused, in AUDIT_FILTER_ATTACH() 52 AUDIT_FILTER_REINIT(void *instance __unused, int argc __unused, in AUDIT_FILTER_REINIT() 60 AUDIT_FILTER_RECORD(void *instance __unused, struct timespec *ts __unused, in AUDIT_FILTER_RECORD() 67 AUDIT_FILTER_RAWRECORD(void *instance __unused, struct timespec *ts __unused, in AUDIT_FILTER_RAWRECORD() 74 AUDIT_FILTER_DETACH(void *instance __unused) in AUDIT_FILTER_DETACH()
|
| /NextBSD/contrib/compiler-rt/lib/asan/ |
| HD | asan_allocator.cc | 649 static Allocator instance(LINKER_INITIALIZED); 652 return instance.allocator; in get_allocator() 680 instance.Initialize(options); in InitializeAllocator() 684 instance.ReInitialize(options); in ReInitializeAllocator() 688 instance.GetOptions(options); in GetAllocatorOptions() 692 return instance.FindHeapChunkByAddress(addr); in FindHeapChunkByAddress() 696 instance.CommitBack(this); in CommitBack() 700 instance.PrintStats(); in PrintInternalAllocatorStats() 705 return instance.Allocate(size, alignment, stack, alloc_type, true); in asan_memalign() 709 instance.Deallocate(ptr, 0, stack, alloc_type); in asan_free() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Expression/ |
| HD | ClangModulesDeclVendor.cpp | 697 std::unique_ptr<clang::CompilerInstance> instance(new clang::CompilerInstance); in Create() local 699 instance->setDiagnostics(diagnostics_engine.get()); in Create() 700 instance->setInvocation(invocation.get()); in Create() 704 …instance->setTarget(clang::TargetInfo::CreateTargetInfo(*diagnostics_engine, instance->getInvocati… in Create() 706 if (!instance->hasTarget()) in Create() 709 instance->getTarget().adjust(instance->getLangOpts()); in Create() 711 if (!action->BeginSourceFile(*instance, instance->getFrontendOpts().Inputs[0])) in Create() 714 instance->getPreprocessor().enableIncrementalProcessing(); in Create() 716 instance->createModuleManager(); in Create() 718 instance->createSema(action->getTranslationUnitKind(), nullptr); in Create() [all …]
|
| /NextBSD/sys/dev/acpi_support/ |
| HD | 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;
|
| /NextBSD/contrib/subversion/subversion/libsvn_delta/ |
| HD | path_driver.c | 113 const char *instance = path; in count_components() local 120 instance++; in count_components() 121 instance = strchr(instance, '/'); in count_components() 122 if (instance) in count_components() 125 while (instance); in count_components()
|
| /NextBSD/contrib/unbound/smallapp/ |
| HD | worker_cb.c | 221 int instance; member 230 if(o1->instance < o2->instance) return -1; in order_lock_cmp() 231 if(o1->instance > o2->instance) return 1; in order_lock_cmp()
|