Searched refs:instance (Results 1 - 25 of 102) sorted by relevance

12345

/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_debugfs.h48 int vchiq_debugfs_add_instance(VCHIQ_INSTANCE_T instance);
50 void vchiq_debugfs_remove_instance(VCHIQ_INSTANCE_T instance);
H A Dvchiq_kern_lib.c73 VCHIQ_INSTANCE_T instance = NULL; local
95 instance = kzalloc(sizeof(*instance), GFP_KERNEL);
96 if (!instance) {
98 "%s: error allocating vchiq instance\n", __func__);
102 instance->connected = 0;
103 instance->state = state;
104 lmutex_init(&instance->bulk_waiter_list_mutex);
105 INIT_LIST_HEAD(&instance->bulk_waiter_list);
107 *instanceOut = instance;
125 vchiq_shutdown(VCHIQ_INSTANCE_T instance) argument
177 vchiq_is_connected(VCHIQ_INSTANCE_T instance) argument
188 vchiq_connect(VCHIQ_INSTANCE_T instance) argument
223 vchiq_add_service( VCHIQ_INSTANCE_T instance, const VCHIQ_SERVICE_PARAMS_T *params, VCHIQ_SERVICE_HANDLE_T *phandle) argument
268 vchiq_open_service( VCHIQ_INSTANCE_T instance, const VCHIQ_SERVICE_PARAMS_T *params, VCHIQ_SERVICE_HANDLE_T *phandle) argument
383 VCHIQ_INSTANCE_T instance; local
[all...]
H A Dvchiq_debugfs.c194 VCHIQ_INSTANCE_T instance = f->private; local
197 use_count = vchiq_instance_get_use_count(instance);
218 VCHIQ_INSTANCE_T instance = f->private; local
221 trace = vchiq_instance_get_trace(instance);
237 VCHIQ_INSTANCE_T instance = f->private; local
247 vchiq_instance_set_trace(instance, 1);
252 vchiq_instance_set_trace(instance, 0);
272 /* add an instance (process) to the debugfs entries */
273 int vchiq_debugfs_add_instance(VCHIQ_INSTANCE_T instance) argument
280 vchiq_instance_get_pid(instance));
312 vchiq_debugfs_remove_instance(VCHIQ_INSTANCE_T instance) argument
374 vchiq_debugfs_add_instance(VCHIQ_INSTANCE_T instance) argument
379 vchiq_debugfs_remove_instance(VCHIQ_INSTANCE_T instance) argument
[all...]
H A Dvchiq_arm.c48 /* Some per-instance constants */
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 in struct:user_service_struct
206 add_completion(VCHIQ_INSTANCE_T instance, VCHIQ_REASON_T reason, argument
214 insert = instance->completion_insert;
215 while ((insert - instance->completion_remove) >= MAX_COMPLETIONS) {
222 if (down_interruptible(&instance->remove_event) != 0) {
228 if (instance->closing) {
236 completion = &instance
283 VCHIQ_INSTANCE_T instance; local
429 VCHIQ_INSTANCE_T instance; local
1179 VCHIQ_INSTANCE_T instance; local
1232 VCHIQ_INSTANCE_T instance; local
1422 VCHIQ_INSTANCE_T instance; local
1433 VCHIQ_INSTANCE_T instance; local
1653 VCHIQ_INSTANCE_T instance; local
2845 vchiq_instance_get_use_count(VCHIQ_INSTANCE_T instance) argument
2863 VCHIQ_INSTANCE_T instance = data; local
2873 vchiq_proc_add_instance(VCHIQ_INSTANCE_T instance) argument
2902 vchiq_proc_remove_instance(VCHIQ_INSTANCE_T instance) argument
[all...]
H A Dvchiq_arm.h189 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);
H A Dvchiq_if.h130 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);
H A Dvchiq_shim.c469 VCHIQ_INSTANCE_T instance; local
472 status = vchiq_initialise(&instance);
474 *instance_handle = (VCHI_INSTANCE_T)instance;
497 VCHIQ_INSTANCE_T instance = (VCHIQ_INSTANCE_T)instance_handle; local
502 return vchiq_connect(instance);
520 VCHIQ_INSTANCE_T instance = (VCHIQ_INSTANCE_T)instance_handle; local
521 return vchiq_status_to_vchi(vchiq_shutdown(instance));
601 static SHIM_SERVICE_T *service_alloc(VCHIQ_INSTANCE_T instance, argument
606 (void)instance;
633 VCHIQ_INSTANCE_T instance local
666 VCHIQ_INSTANCE_T instance = (VCHIQ_INSTANCE_T)instance_handle; local
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_oncore.c88 * instance->pp->leap indicator but only run this test in December and June for
268 struct instance { struct
359 #define rcvbuf instance->Rcvbuf
360 #define rcvptr instance->Rcvptr
365 static void oncore_consume (struct instance *);
366 static void oncore_read_config (struct instance *);
368 static int oncore_ppsapi (struct instance *);
369 static void oncore_get_timestamp (struct instance *, long, long);
370 static void oncore_init_shmem (struct instance *);
372 static void oncore_antenna_report (struct instance *, enu
597 register struct instance *instance; local
781 register struct instance *instance; local
817 struct instance *instance; local
1435 struct instance *instance; local
1577 oncore_get_timestamp( struct instance *instance, long dt1, long dt2 ) argument
1908 oncore_msg_any( struct instance *instance, u_char *buf, size_t len, int idx ) argument
1975 oncore_msg_Adef( struct instance *instance, u_char *buf, size_t len ) argument
1988 oncore_msg_Ag( struct instance *instance, u_char *buf, size_t len ) argument
2013 oncore_msg_As( struct instance *instance, u_char *buf, size_t len ) argument
2035 oncore_msg_At( struct instance *instance, u_char *buf, size_t len ) argument
2061 oncore_msg_Ay( struct instance *instance, u_char *buf, size_t len ) argument
2085 oncore_msg_Az( struct instance *instance, u_char *buf, size_t len ) argument
2107 oncore_msg_BaEaHa( struct instance *instance, u_char *buf, size_t len ) argument
2450 oncore_msg_Bd( struct instance *instance, u_char *buf, size_t len ) argument
2476 oncore_msg_Bj( struct instance *instance, u_char *buf, size_t len ) argument
2507 oncore_msg_Bl( struct instance *instance, u_char *buf, size_t len ) argument
2630 oncore_msg_BnEnHn( struct instance *instance, u_char *buf, size_t len ) argument
2696 oncore_msg_CaFaIa( struct instance *instance, u_char *buf, size_t len ) argument
2764 oncore_msg_Cb( struct instance *instance, u_char *buf, size_t len ) argument
2806 oncore_msg_Cf( struct instance *instance, u_char *buf, size_t len ) argument
2840 oncore_msg_Cj( struct instance *instance, u_char *buf, size_t len ) argument
2892 oncore_msg_Cj_id( struct instance *instance, u_char *buf, size_t len ) argument
3008 oncore_msg_Cj_init( struct instance *instance, u_char *buf, size_t len ) argument
3112 oncore_msg_Ga( struct instance *instance, u_char *buf, size_t len ) argument
3150 oncore_msg_Gb( struct instance *instance, u_char *buf, size_t len ) argument
3181 oncore_msg_Gc( struct instance *instance, u_char *buf, size_t len ) argument
3200 oncore_msg_Gj( struct instance *instance, u_char *buf, size_t len ) argument
3272 oncore_msg_Sz( struct instance *instance, u_char *buf, size_t len ) argument
3288 oncore_antenna_report( struct instance *instance, enum antenna_state new_state) argument
3644 oncore_print_Cb( struct instance *instance, u_char *cp ) argument
3755 oncore_sendmsg( struct instance *instance, u_char *ptr, size_t len ) argument
4093 oncore_log( struct instance *instance, int log_level, const char *msg ) argument
4106 oncore_log_f( struct instance * instance, int log_level, const char * fmt, ... ) argument
[all...]
H A Drefclock_jupiter.c110 struct instance { struct
134 static void jupiter_canmsg (struct instance * const, u_int);
136 static int jupiter_config (struct instance * const);
139 static const char * jupiter_parse_t (struct instance * const, u_short *, l_fp);
140 static const char * jupiter_parse_gpos(struct instance * const, u_short *);
141 static void jupiter_platform(struct instance * const, u_int);
145 static int jupiter_ppsapi (struct instance * const);
146 static int jupiter_pps (struct instance * const);
147 static int jupiter_recv (struct instance * const);
149 static void jupiter_reqmsg (struct instance * cons
[all...]
/freebsd-11-stable/contrib/openbsm/bsm/
H A Daudit_filter.h43 * There may be many instances of the same filter, identified by the instance
44 * void pointer maintained by the filter instance.
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);
/freebsd-11-stable/contrib/openbsm/modules/auditfilter_noop/
H A Dauditfilter_noop.c44 AUDIT_FILTER_ATTACH(void *instance __unused, int argc __unused,
52 AUDIT_FILTER_REINIT(void *instance __unused, int argc __unused,
60 AUDIT_FILTER_RECORD(void *instance __unused, struct timespec *ts __unused,
67 AUDIT_FILTER_RAWRECORD(void *instance __unused, struct timespec *ts __unused,
74 AUDIT_FILTER_DETACH(void *instance __unused)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCLabel.h24 // The instance number of this Directional Local Label.
30 MCLabel(unsigned instance) : Instance(instance) {} argument
36 /// Get the current instance of this Directional Local Label.
39 /// Increment the current instance of this Directional Local Label.
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DDebugCounter.h59 /// Returns a reference to the singleton instance.
60 static DebugCounter &instance();
71 return instance().addCounter(Name, Desc);
77 auto &Us = instance();
102 return instance().Counters[ID].IsSet;
107 auto &Us = instance();
115 auto &Us = instance();
149 static void enableAllCounters() { instance().Enabled = true; }
157 return instance().Enabled;
/freebsd-11-stable/stand/ofw/libofw/
H A Dopenfirm.c221 /* Return the package handle that corresponds to an instance handle. */
223 OF_instance_to_package(ihandle_t instance) argument
229 cell_t instance; member in struct:__anon5064
232 (cell_t)"instance-to-package",
237 args.instance = instance;
398 /* Return the fully qualified pathname corresponding to an instance. */
400 OF_instance_to_path(ihandle_t instance, char *buf, int len) argument
406 cell_t instance; member in struct:__anon5071
411 (cell_t)"instance
452 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...) argument
460 cell_t instance; member in struct:__anon5073
503 cell_t instance; member in struct:__anon5074
519 OF_close(ihandle_t instance) argument
525 cell_t instance; member in struct:__anon5075
537 OF_read(ihandle_t instance, void *addr, int len) argument
543 cell_t instance; member in struct:__anon5076
575 OF_write(ihandle_t instance, void *addr, int len) argument
581 cell_t instance; member in struct:__anon5077
601 OF_seek(ihandle_t instance, uint64_t pos) argument
607 cell_t instance; member in struct:__anon5078
627 OF_blocks(ihandle_t instance) argument
633 cell_t instance; member in struct:__anon5079
650 OF_block_size(ihandle_t instance) argument
656 cell_t instance; member in struct:__anon5080
[all...]
/freebsd-11-stable/sys/dev/ofw/
H A Dofw_standard.c80 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);
281 /* Return the package handle that corresponds to an instance handle. */
283 ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance) argument
289 cell_t instance; member in struct:__anon7735
463 ofw_std_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len) argument
469 cell_t instance; member in struct:__anon7742
515 ofw_std_call_method(ofw_t ofw, ihandle_t instance, const char *method, int nargs, int nreturns, cell_t *args_and_returns) argument
523 cell_t instance; member in struct:__anon7744
565 cell_t instance; member in struct:__anon7745
580 ofw_std_close(ofw_t ofw, ihandle_t instance) argument
586 cell_t instance; member in struct:__anon7746
599 ofw_std_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len) argument
605 cell_t instance; member in struct:__anon7747
626 ofw_std_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len) argument
632 cell_t instance; member in struct:__anon7748
652 ofw_std_seek(ofw_t ofw, ihandle_t instance, uint64_t pos) argument
658 cell_t instance; member in struct:__anon7749
[all...]
H A Dopenfirm.h141 * instance. These routines allow a driver that provides such an interface to
151 void OF_close(ihandle_t instance);
152 ssize_t OF_read(ihandle_t instance, void *buf, size_t len);
153 ssize_t OF_write(ihandle_t instance, const void *buf, size_t len);
154 int OF_seek(ihandle_t instance, uint64_t where);
156 phandle_t OF_instance_to_package(ihandle_t instance);
157 ssize_t OF_instance_to_path(ihandle_t instance, char *buf, size_t len);
158 int OF_call_method(const char *method, ihandle_t instance,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/
H A DPluginManager.cpp133 // instance to invalidate it.
226 ABIInstance instance; local
228 instance.name = name;
230 instance.description = description;
231 instance.create_callback = create_callback;
233 GetABIInstances().push_back(instance);
355 DisassemblerInstance instance; local
357 instance.name = name;
359 instance.description = description;
360 instance
440 DynamicLoaderInstance instance; local
525 JITLoaderInstance instance; local
605 EmulateInstructionInstance instance; local
689 OperatingSystemInstance instance; local
770 LanguageInstance instance; local
852 LanguageRuntimeInstance instance; local
952 SystemRuntimeInstance instance; local
1041 ObjectFileInstance instance; local
1178 ObjectContainerInstance instance; local
1275 PlatformInstance instance; local
1391 ProcessInstance instance; local
1586 StructuredDataPluginInstance instance; local
1688 SymbolFileInstance instance; local
1768 SymbolVendorInstance instance; local
1848 UnwindAssemblyInstance instance; local
1928 MemoryHistoryInstance instance; local
2012 InstrumentationRuntimeInstance instance; local
2111 TypeSystemInstance instance; local
2211 REPLInstance instance; local
[all...]
/freebsd-11-stable/crypto/heimdal/kdc/
H A Dhprop.h61 char instance[64]; member in struct:v4_principal
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_ddump.h49 extern void ocs_ddump_section(ocs_textbuf_t *textbuf, const char *name, uint32_t instance);
50 extern void ocs_ddump_endsection(ocs_textbuf_t *textbuf, const char *name, uint32_t instance);
53 extern void ocs_ddump_buffer(ocs_textbuf_t *textbuf, const char *name, uint32_t instance, void *buffer, uint32_t size);
/freebsd-11-stable/contrib/telnet/libtelnet/
H A Dkerberos.c151 char instance[INST_SZ]; local
164 memset(instance, 0, sizeof(instance));
167 strncpy(instance, realm, sizeof(instance));
169 instance[sizeof(instance)-1] = '\0';
177 if ((r = krb_mk_req(&lauth, krb_service_name, instance, realm, 0L))) {
181 if ((r = krb_get_cred(krb_service_name, instance, realm, &cred))) {
241 char instance[INST_S local
[all...]
/freebsd-11-stable/sys/powerpc/ofw/
H A Dofw_real.c85 static phandle_t ofw_real_instance_to_package(ofw_t, ihandle_t instance);
96 static ssize_t ofw_real_instance_to_path(ofw_t, ihandle_t instance, char *buf,
100 static int ofw_real_call_method(ofw_t, ihandle_t instance, const char *method,
105 static void ofw_real_close(ofw_t, ihandle_t instance);
106 static ssize_t ofw_real_read(ofw_t, ihandle_t instance, void *addr, size_t len);
107 static ssize_t ofw_real_write(ofw_t, ihandle_t instance, const void *addr,
109 static int ofw_real_seek(ofw_t, ihandle_t instance, u_int64_t pos);
432 /* Return the package handle that corresponds to an instance handle. */
434 ofw_real_instance_to_package(ofw_t ofw, ihandle_t instance) argument
441 cell_t instance; member in struct:__anon8403
679 ofw_real_instance_to_path(ofw_t ofw, ihandle_t instance, char *buf, size_t len) argument
686 cell_t instance; member in struct:__anon8410
753 ofw_real_call_method(ofw_t ofw, ihandle_t instance, const char *method, int nargs, int nreturns, cell_t *args_and_returns) argument
762 cell_t instance; member in struct:__anon8412
845 cell_t instance; member in struct:__anon8414
868 ofw_real_close(ofw_t ofw, ihandle_t instance) argument
875 cell_t instance; member in struct:__anon8415
890 ofw_real_read(ofw_t ofw, ihandle_t instance, void *addr, size_t len) argument
897 cell_t instance; member in struct:__anon8416
926 ofw_real_write(ofw_t ofw, ihandle_t instance, const void *addr, size_t len) argument
933 cell_t instance; member in struct:__anon8417
960 ofw_real_seek(ofw_t ofw, ihandle_t instance, u_int64_t pos) argument
967 cell_t instance; member in struct:__anon8418
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DDebugCounter.cpp33 const auto &CounterInstance = DebugCounter::instance();
49 cl::CommaSeparated, cl::ZeroOrMore, cl::location(DebugCounter::instance()));
63 DebugCounter &DebugCounter::instance() { return *DC; } function in class:DebugCounter
123 auto &Us = instance();
/freebsd-11-stable/sys/kern/
H A Dsubr_witness.c129 #define LI_RECURSEMASK 0x0000ffff /* Recursion depth of lock instance. */
130 #define LI_EXCLUSIVE 0x00010000 /* Exclusive lock instance. */
191 * Lock instances. A lock instance is the data associated with a lock while
192 * it is held by witness. For example, a lock instance will hold the
362 static void witness_list_lock(struct lock_instance *instance,
1421 struct lock_instance *instance; local
1438 instance = find_instance(*lock_list, lock);
1439 if (instance != NULL) {
1440 instance->li_flags++;
1443 instance
1479 struct lock_instance *instance; local
1525 struct lock_instance *instance; local
1571 struct lock_instance *instance; local
2159 struct lock_instance *instance; local
2172 witness_list_lock(struct lock_instance *instance, int (*prnt)(const char *fmt, ...)) argument
2268 struct lock_instance *instance; local
2283 struct lock_instance *instance; local
2318 struct lock_instance *instance; local
2356 struct lock_instance *instance; local
2428 struct lock_instance *instance; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp661 std::unique_ptr<clang::CompilerInstance> instance(
668 instance->setModuleDepCollector(
671 clang::DependencyOutputOptions &opts = instance->getDependencyOutputOpts();
677 instance->createFileManager(FileSystem::Instance().GetVirtualFileSystem());
678 instance->setDiagnostics(diagnostics_engine.get());
679 instance->setInvocation(invocation);
683 instance->setTarget(clang::TargetInfo::CreateTargetInfo(
684 *diagnostics_engine, instance->getInvocation().TargetOpts));
686 if (!instance->hasTarget())
689 instance
[all...]
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_kstat.c42 kstat_create(char *module, int instance, char *name, char *class, uchar_t type, argument
48 KASSERT(instance == 0, ("instance=%d", instance));

Completed in 152 milliseconds

12345