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

12

/freebsd-9.3-release/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
233 kobj_class_free(kobj_class_t cls) argument
264 kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mflags) argument
282 kobj_init_common(kobj_t obj, kobj_class_t cls) argument
290 kobj_init(kobj_t obj, kobj_class_t cls) argument
316 kobj_init_static(kobj_t obj, kobj_class_t cls) argument
328 kobj_class_t cls = obj->ops->cls; local
[all...]
H A Dlink_elf.c138 static int link_elf_link_preload(linker_class_t cls,
639 link_elf_link_preload(linker_class_t cls, argument
724 link_elf_load_file(linker_class_t cls, const char* filename, argument
H A Dlink_elf_obj.c124 static int link_elf_link_preload(linker_class_t cls,
196 link_elf_link_preload(linker_class_t cls, const char *filename, argument
431 link_elf_load_file(linker_class_t cls, const char *filename, argument
/freebsd-9.3-release/tools/regression/lib/libc/locale/
H A Dtest-iswctype.c51 } cls[] = { local
71 for (i = 0; i < sizeof(cls) / sizeof(*cls); i++) {
72 t = wctype(cls[i].name);
75 assert(cls[i].func(j) == iswctype(j, t));
86 for (i = 0; i < sizeof(cls) / sizeof(*cls); i++) {
87 t = wctype(cls[i].name);
90 assert(cls[i].func(j) == iswctype(j, t));
/freebsd-9.3-release/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);
231 _ce = kobj_lookup_method(OPS->cls, \
242 _ce = kobj_lookup_method(OPS->cls, \
248 kobj_method_t* kobj_lookup_method(kobj_class_t cls,
[all...]
/freebsd-9.3-release/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.h30 struct snd_mixer *mixer_create(device_t dev, kobj_class_t cls, void *devinfo,
33 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);
H A Dsound.c484 pcm_chn_create(struct snddev_info *d, struct pcm_channel *parent, kobj_class_t cls, int dir, int num, void *devinfo) argument
573 ch->methods = kobj_create(cls, M_DEVBUF, M_WAITOK | M_ZERO);
694 pcm_addchan(device_t dev, int dir, kobj_class_t cls, void *devinfo) argument
703 ch = pcm_chn_create(d, NULL, cls, dir, -1, devinfo);
706 cls->name, dir, devinfo);
H A Dsound.h333 struct pcm_channel *pcm_chn_create(struct snddev_info *d, struct pcm_channel *parent, kobj_class_t cls, int dir, int num, void *devinfo);
338 int pcm_addchan(device_t dev, int dir, kobj_class_t cls, void *devinfo);
H A Dac97.c826 ac97_create(device_t dev, void *devinfo, kobj_class_t cls) argument
835 codec->methods = kobj_create(cls, M_AC97, M_WAITOK | M_ZERO);
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/
H A Dkstat.h63 kstat_t *kstat_create(char *module, int instance, char *name, char *cls,
/freebsd-9.3-release/sys/kgssapi/
H A Dgssapi_impl.h62 struct kobj_class *cls);
H A Dgss_impl.c146 kgss_install_mech(gss_OID mech_type, const char *name, struct kobj_class *cls) argument
153 km->km_class = cls;
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dddt.h171 enum ddt_class cls, char *name);
173 enum ddt_class cls, uint64_t *walk, ddt_entry_t *dde);
175 enum ddt_class cls, uint64_t *count);
177 enum ddt_class cls, dmu_object_info_t *);
179 enum ddt_class cls);
237 enum ddt_class cls, ddt_entry_t *dde, dmu_tx_t *tx);
/freebsd-9.3-release/contrib/gperf/src/
H A Dsearch.cc1030 for (EquivalenceClass *cls = partition; cls; cls = cls->_next)
1031 delete[] cls->_undetermined_chars;
1061 for (EquivalenceClass *cls = partition; cls; cls = cls->_next)
1066 for (KeywordExt_List *temp = cls
[all...]
/freebsd-9.3-release/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-9.3-release/usr.bin/limits/
H A Dlimits.c262 char *p, *cls = NULL; local
298 cls = optarg;
348 if (cls != NULL) {
374 else if (cls != NULL && *cls != '\0') {
375 lc = login_getclassbyname(cls, NULL);
376 if (lc == NULL || strcmp(cls, lc->lc_class) != 0)
378 cls, lc?lc->lc_class:"current settings");
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-uart.c124 lcrval.s.cls = CVMX_UART_BITS8;
/freebsd-9.3-release/sbin/newfs_msdos/
H A Dnewfs_msdos.c261 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; local
581 cls = (bpb.bpbHugeSectors - x1) / bpb.bpbSecPerClust;
584 if (cls > x)
585 cls = x;
588 cls);
589 if (cls < mincls(fat))
590 errx(1, "%u clusters too few clusters for FAT%u, need %u", cls, fat,
592 if (cls > maxcls(fat)) {
593 cls = maxcls(fat);
594 bpb.bpbHugeSectors = x1 + (cls
[all...]
/freebsd-9.3-release/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-9.3-release/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp95 void GenObjCClass(StringRef cls) { argument
96 generateUSRForObjCClass(cls, Out);
99 void GenObjCCategory(StringRef cls, StringRef cat) { argument
100 generateUSRForObjCCategory(cls, cat, Out);
/freebsd-9.3-release/contrib/libcxxrt/
H A Dexception.cc258 static bool isCXXException(uint64_t cls) argument
260 return (cls == exception_class) || (cls == dependent_exception_class);
263 static bool isDependentException(uint64_t cls) argument
265 return cls == dependent_exception_class;
/freebsd-9.3-release/gnu/lib/libregex/
H A Dregcomp.c1330 bin_tree_t *op, *cls, *tree1, *tree;
1345 cls = create_tree (dfa, NULL, NULL, OP_CLOSE_SUBEXP);
1346 tree1 = body ? create_tree (dfa, body, cls, CONCAT) : cls;
1348 if (BE (tree == NULL || tree1 == NULL || op == NULL || cls == NULL, 0))
1354 op->token.opr.idx = cls->token.opr.idx = node->token.opr.idx;
1355 op->token.opt_subexp = cls->token.opt_subexp = node->token.opt_subexp;
1323 bin_tree_t *op, *cls, *tree1, *tree; local
/freebsd-9.3-release/contrib/gcc/
H A Dreload1.c1376 int cls = (int) NO_REGS;
1386 IOR_HARD_REG_SET (allowed, reg_class_contents[cls]);
1387 cls = NO_REGS;
1409 cls = (int) reg_class_subunion[cls]
1415 cls = (int) reg_class_subunion[cls][(int) GENERAL_REGS];
1420 cls = (int) reg_class_subunion[cls]
1423 cls
1371 int cls = (int) NO_REGS; local
[all...]

Completed in 201 milliseconds

12