Searched refs:cls (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-11-stable/sys/kern/
H A Dsubr_kobj.c98 kobj_class_compile_common(kobj_class_t cls, kobj_ops_t ops) argument
106 if (cls->ops)
112 for (i = 0, m = cls->methods; m->desc; i++, m++) {
122 ops->cls = cls;
123 cls->ops = ops;
127 kobj_class_compile(kobj_class_t cls) argument
147 if (cls->ops) {
153 kobj_class_compile_common(cls, ops);
158 kobj_class_compile_static(kobj_class_t cls, kobj_ops_ argument
172 kobj_lookup_method_class(kobj_class_t cls, kobjop_desc_t desc) argument
187 kobj_lookup_method_mi(kobj_class_t cls, kobjop_desc_t desc) argument
210 kobj_lookup_method(kobj_class_t cls, kobj_method_t **cep, kobjop_desc_t desc) argument
225 kobj_class_free(kobj_class_t cls) argument
256 kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mflags) argument
274 kobj_init_common(kobj_t obj, kobj_class_t cls) argument
282 kobj_init(kobj_t obj, kobj_class_t cls) argument
308 kobj_init_static(kobj_t obj, kobj_class_t cls) argument
320 kobj_class_t cls = obj->ops->cls; local
[all...]
/freebsd-11-stable/sys/dev/bhnd/
H A Dbhnd_types.h86 /** Evaluates to true if @p cls is a device class that can be configured
88 #define BHND_DEVCLASS_SUPPORTS_HOSTB(cls) \
89 ((cls) == BHND_DEVCLASS_PCI || (cls) == BHND_DEVCLASS_PCIE || \
90 (cls) == BHND_DEVCLASS_PCCARD)
/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBFile.i44 def Create(cls, file, borrow=False, force_io_methods=False):
56 return cls.MakeBorrowedForcingIOMethods(file)
58 return cls.MakeBorrowed(file)
61 return cls.MakeForcingIOMethods(file)
63 return cls(file)
/freebsd-11-stable/lib/libc/tests/locale/
H A Diswctype_test.c65 } cls[] = { variable in typeref:struct:__anon6749
85 for (i = 0; i < nitems(cls); i++) {
86 t = wctype(cls[i].name);
89 ATF_REQUIRE(cls[i].func(j) == iswctype(j, t));
103 for (i = 0; i < nitems(cls); i++) {
104 t = wctype(cls[i].name);
107 ATF_REQUIRE(cls[i].func(j) == iswctype(j, t));
/freebsd-11-stable/sys/geom/label/
H A Dg_label_disk_ident.c49 struct g_class *cls; local
56 cls = cp->provider->geom->class;
67 if (strcmp(classes_pass[i], cls->name) == 0) {
77 (void)snprintf(label, size, "%s-%s", cls->name, ident);
/freebsd-11-stable/sys/sys/
H A Dkobj.h84 kobj_class_t cls; member in struct:kobj_ops
180 void kobj_class_compile(kobj_class_t cls);
186 void kobj_class_compile_static(kobj_class_t cls, kobj_ops_t ops);
191 void kobj_class_free(kobj_class_t cls);
196 kobj_t kobj_create(kobj_class_t cls,
203 void kobj_init(kobj_t obj, kobj_class_t cls);
204 void kobj_init_static(kobj_t obj, kobj_class_t cls);
230 _ce = kobj_lookup_method(OPS->cls, \
244 _ce = kobj_lookup_method(OPS->cls, \
250 kobj_method_t* kobj_lookup_method(kobj_class_t cls,
[all...]
/freebsd-11-stable/sys/dev/fdt/
H A Dfdt_arm_platform.c44 ((fdt_platform_def_t *)(plat)->cls->baseclasses[0])
56 if (plat->cls == NULL || FDT_PLATFORM(plat) == NULL)
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dac97.h87 #define AC97_CREATE(dev, devinfo, cls) ac97_create(dev, devinfo, &cls ## _class)
95 struct ac97_info *ac97_create(device_t dev, void *devinfo, kobj_class_t cls);
H A Dmixer.h33 struct snd_mixer *mixer_create(device_t dev, kobj_class_t cls, void *devinfo,
36 int mixer_init(device_t dev, kobj_class_t cls, void *devinfo);
H A Dmixer.c612 mixer_obj_create(device_t dev, kobj_class_t cls, void *devinfo, argument
618 KASSERT(dev != NULL && cls != NULL && devinfo != NULL,
619 ("%s(): NULL data dev=%p cls=%p devinfo=%p",
620 __func__, dev, cls, devinfo));
624 m = (struct snd_mixer *)kobj_create(cls, M_MIXER, M_WAITOK | M_ZERO);
673 mixer_create(device_t dev, kobj_class_t cls, void *devinfo, const char *desc) argument
677 m = mixer_obj_create(dev, cls, devinfo, MIXER_TYPE_SECONDARY, desc);
686 mixer_init(device_t dev, kobj_class_t cls, void *devinfo) argument
708 m = mixer_obj_create(dev, cls, devinfo, MIXER_TYPE_PRIMARY, NULL);
/freebsd-11-stable/contrib/libucl/python/tests/
H A Dtest_validation.py38 def setupValidationTests(cls):
47 setattr(cls, 'test_%s' % testname, test_gen(jsonfile))
/freebsd-11-stable/sys/kgssapi/
H A Dgssapi_impl.h62 struct kobj_class *cls);
H A Dgss_impl.c160 kgss_install_mech(gss_OID mech_type, const char *name, struct kobj_class *cls) argument
167 km->km_class = cls;
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dkstat.h68 kstat_t *kstat_create(char *module, int instance, char *name, char *cls,
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dddt.h174 enum ddt_class cls, char *name);
176 enum ddt_class cls, uint64_t *walk, ddt_entry_t *dde);
178 enum ddt_class cls, uint64_t *count);
180 enum ddt_class cls, dmu_object_info_t *);
182 enum ddt_class cls);
240 enum ddt_class cls, ddt_entry_t *dde, dmu_tx_t *tx);
/freebsd-11-stable/contrib/gperf/src/
H A Dsearch.cc1033 for (EquivalenceClass *cls = partition; cls; cls = cls->_next)
1034 delete[] cls->_undetermined_chars;
1064 for (EquivalenceClass *cls = partition; cls; cls = cls->_next)
1069 for (KeywordExt_List *temp = cls
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Dplatform.c111 plat_obj->cls = platp;
212 for (counts = plat_obj->cls->delay_count; counts > 0; counts--)
/freebsd-11-stable/lib/libutil/
H A Dlogin_cap.c303 login_getclass(const char *cls) argument
305 return login_getclassbyname(cls, NULL);
324 const char *cls = NULL; local
327 cls = pwd->pw_class;
328 if (cls == NULL || *cls == '\0')
329 cls = (pwd->pw_uid == 0) ? LOGIN_DEFROOTCLASS : LOGIN_DEFCLASS;
332 * XXX: pwd should be unused by login_getclassbyname() unless cls is `me',
335 return login_getclassbyname(cls, pwd);
/freebsd-11-stable/sys/arm/include/
H A Dplatformvar.h70 struct platform_class *cls; member in struct:platform_kobj
/freebsd-11-stable/tests/sys/opencrypto/
H A Ddpkt.py26 def __new__(cls, clsname, clsbases, clsdict):
36 return type.__new__(cls, clsname, clsbases, clsdict)
/freebsd-11-stable/usr.bin/limits/
H A Dlimits.c273 char *p, *cls = NULL; local
310 cls = optarg;
360 if (cls != NULL) {
386 else if (cls != NULL && *cls != '\0') {
387 lc = login_getclassbyname(cls, NULL);
388 if (lc == NULL || strcmp(cls, lc->lc_class) != 0)
390 cls, lc?lc->lc_class:"current settings");
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-uart.c123 lcrval.s.cls = CVMX_UART_BITS8;
/freebsd-11-stable/sbin/newfs_msdos/
H A Dmkfs_msdos.c249 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; local
570 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust;
573 if (cls > x)
574 cls = x;
577 cls);
578 if (cls < mincls(fat)) {
579 warnx("%u clusters too few clusters for FAT%u, need %u", cls, fat,
583 if (cls > maxcls(fat)) {
584 cls = maxcls(fat);
585 bpb.bpbHugeSectors = x1 + (cls
[all...]
/freebsd-11-stable/sys/dev/sound/midi/
H A Dmpu401.c175 mpu401_init(kobj_class_t cls, void *cookie, driver_intr_t softintr, argument
186 kobj_init((kobj_t)m, cls);
/freebsd-11-stable/tools/tools/shlib-compat/
H A Dshlib-compat.py73 def init(cls):
74 cls.version_filter = StrFilter()
75 cls.symbol_filter = StrFilter()
324 def __new__(cls, *args, **kwargs):
325 if not cls._instance:
326 cls._instance = super(Void, cls).__new__(
327 cls, *args, **kwargs)
328 return cls._instance

Completed in 383 milliseconds

123