Home
last modified time | relevance | path

Searched refs:classes (Results 1 – 25 of 111) sorted by relevance

12345

/linux/net/sched/
H A Dsch_ets.c55 struct ets_class classes[TCQ_ETS_MAX_BANDS]; member
101 return &q->classes[arg - 1]; in ets_class_from_arg()
107 int band = cl - q->classes; in ets_class_id()
137 q_sum += q->classes[i].quantum; in ets_offload_change()
140 quantum = q->classes[i].quantum; in ets_offload_change()
203 unsigned int band = cl - q->classes; in ets_class_is_strict()
411 return &q->classes[q->prio2band[band & TC_PRIO_MAX]]; in ets_classify()
417 return &q->classes[q->prio2band[0]]; in ets_classify()
418 return &q->classes[band]; in ets_classify()
475 cl = &q->classes[band]; in ets_qdisc_dequeue()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/
H A Dgr.c50 const u32 classes[] = { in nvkm_rm_gr_new() local
59 func = kzalloc_flex(*func, sclass, ARRAY_SIZE(classes) + 1); in nvkm_rm_gr_new()
70 for (int i = 0; i < ARRAY_SIZE(classes); i++) { in nvkm_rm_gr_new()
71 func->sclass[i].oclass = classes[i]; in nvkm_rm_gr_new()
/linux/drivers/ata/
H A Dlibata-eh.c2801 unsigned int *classes, unsigned long deadline, in ata_do_reset() argument
2808 classes[dev->devno] = ATA_DEV_UNKNOWN; in ata_do_reset()
2810 return reset(link, classes, deadline); in ata_do_reset()
2835 unsigned int *classes = ehc->classes; in ata_eh_reset() local
2937 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2952 classes[dev->devno] = ATA_DEV_NONE; in ata_eh_reset()
2978 trace_ata_link_hardreset_begin(link, classes, deadline); in ata_eh_reset()
2981 trace_ata_link_softreset_begin(link, classes, deadline); in ata_eh_reset()
2984 rc = ata_do_reset(link, reset, classes, deadline, true); in ata_eh_reset()
2986 trace_ata_link_hardreset_end(link, classes, rc); in ata_eh_reset()
[all …]
H A Dpata_icside.c307 static void pata_icside_postreset(struct ata_link *link, unsigned int *classes) in pata_icside_postreset() argument
312 if (classes[0] != ATA_DEV_NONE || classes[1] != ATA_DEV_NONE) in pata_icside_postreset()
313 return ata_sff_postreset(link, classes); in pata_icside_postreset()
H A Dlibata-sff.c1909 int ata_sff_softreset(struct ata_link *link, unsigned int *classes, in ata_sff_softreset() argument
1936 classes[0] = ata_sff_dev_classify(&link->device[0], in ata_sff_softreset()
1939 classes[1] = ata_sff_dev_classify(&link->device[1], in ata_sff_softreset()
1990 void ata_sff_postreset(struct ata_link *link, unsigned int *classes) in ata_sff_postreset() argument
1994 ata_std_postreset(link, classes); in ata_sff_postreset()
1997 if (classes[0] != ATA_DEV_NONE) in ata_sff_postreset()
1999 if (classes[1] != ATA_DEV_NONE) in ata_sff_postreset()
2003 if (classes[0] == ATA_DEV_NONE && classes[1] == ATA_DEV_NONE) in ata_sff_postreset()
/linux/drivers/parport/
H A Dprobe.c19 } classes[] = { variable
46 pr_cont(": %s", classes[info->class].descr); in pretty_print()
90 for (i = 0; classes[i].token; i++) { in parse_data()
91 if (!strcmp(classes[i].token, sep)) { in parse_data()
/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec-vp9.c62 u8 classes[2][10]; member
119 u32 classes[2][11 + 1]; member
295 memcpy(rkprobs->mv.classes, probs->mv.classes, in init_inter_probs()
296 sizeof(rkprobs->mv.classes)); in init_inter_probs()
873 u32 classes[2][11]; in rkvdec_vp9_done() local
877 for (i = 0; i < ARRAY_SIZE(classes); ++i) in rkvdec_vp9_done()
878 memcpy(classes[i], inter_cnts->classes[i], sizeof(classes[0])); in rkvdec_vp9_done()
879 counts->classes = &classes; in rkvdec_vp9_done()
/linux/tools/usb/usbip/libsrc/
H A Dnames.c79 static struct class *classes[HASHSZ] = { NULL, }; variable
109 c = classes[hashnum(classid)]; in names_class()
233 c = classes[h]; in new_class()
242 c->next = classes[h]; in new_class()
243 classes[h] = c; in new_class()
/linux/Documentation/sphinx/
H A Dkernel_include.py291 classes=self.options.get("class", []))
303 for classes, value in tokens:
304 if classes:
306 classes=classes)
/linux/drivers/media/platform/verisilicon/
H A Dhantro_vp9.h15 u8 classes[2][10]; member
70 u32 classes[2][11]; member
H A Dhantro_vp9.c143 vp9_ctx->cnts.classes = &cnts->mv_counts.classes; in init_v4l2_vp9_count_tbl()
/linux/include/media/
H A Dv4l2-vp9.h33 u8 classes[2][10]; member
135 u32 (*classes)[2][11]; member
/linux/drivers/platform/x86/amd/hfi/
H A Dhfi.c220 struct amd_hfi_classes *classes; in amd_hfi_alloc_class_data() local
223 classes = devm_kcalloc(dev, in amd_hfi_alloc_class_data()
227 if (!classes) in amd_hfi_alloc_class_data()
233 hfi_cpuinfo->amd_hfi_classes = classes; in amd_hfi_alloc_class_data()
/linux/Documentation/locking/
H A Dlockdep-design.rst19 The validator tracks the 'usage state' of lock-classes, and it tracks
20 the dependencies between different lock-classes. Lock usage indicates
157 between any two lock-classes::
324 is O(N^2), so even with just a few hundred lock-classes we'd have to do
339 The validator tracks a maximum of MAX_LOCKDEP_KEYS number of lock classes.
345 desktop systems have less than 1,000 lock classes, so this warning
351 load of the module will create a new set of lock classes for
353 classes (see below discussion of reuse of lock classes for why).
355 the number of lock classes will eventually reach the maximum.
360 spinlock_t will consume 8192 lock classes -unless- each spinlock
[all …]
/linux/Documentation/scsi/
H A Dmegaraid.rst10 Different classes of controllers from LSI Logic accept and respond to the
12 commands. Furthermore, the applications also can treat different classes of
77 as new controller classes get added, this will be tuned appropriately.
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp9_req_lat_if.c54 u8 classes[10]; member
126 u32 classes[12]; member
158 u32 classes[2][11]; member
1266 for (i = 0; i < ARRAY_SIZE(counts_map->classes); i++) in vdec_vp9_slice_counts_map_helper()
1267 memcpy(counts_map->classes[i], counts->mvcomp[i].classes, in vdec_vp9_slice_counts_map_helper()
1268 sizeof(counts_map->classes[0])); in vdec_vp9_slice_counts_map_helper()
1269 counts_helper->classes = &counts_map->classes; in vdec_vp9_slice_counts_map_helper()
1413 for (i = 0; i < ARRAY_SIZE(mv->classes); i++) in vdec_vp9_slice_framectx_map_helper()
1414 memcpy(mv->classes[i], frame_ctx->sign_classes[i].classes, in vdec_vp9_slice_framectx_map_helper()
1415 sizeof(mv->classes[i])); in vdec_vp9_slice_framectx_map_helper()
[all …]
/linux/kernel/
H A Dauditfilter.c166 static __u32 *classes[AUDIT_SYSCALL_CLASSES]; variable
181 if (class >= AUDIT_SYSCALL_CLASSES || classes[class]) { in audit_register_class()
185 classes[class] = p; in audit_register_class()
193 if (unlikely(class >= AUDIT_SYSCALL_CLASSES || !classes[class])) in audit_match_class()
195 return classes[class][AUDIT_WORD(syscall)] & AUDIT_BIT(syscall); in audit_match_class()
203 if (classes[class]) { in audit_match_class_bits()
205 if (mask[i] & classes[class][i]) in audit_match_class_bits()
292 class = classes[i]; in audit_to_entry_common()
/linux/drivers/media/v4l2-core/
H A Dv4l2-vp9.c1078 .classes = {
1374 p = probs->mv.classes[i]; in update_mv_probs()
1375 d = deltas->mv.classes[i]; in update_mv_probs()
1376 for (j = 0; j < ARRAY_SIZE(probs->mv.classes[0]); j++) in update_mv_probs()
1812 adapt_probs_variant_g(probs->mv.classes[i], (*counts->classes)[i]); in v4l2_vp9_adapt_noncoef_probs()
/linux/Documentation/ABI/testing/
H A Dsysfs-class6 subdirectories describing individual classes of devices
/linux/Documentation/translations/zh_CN/mm/
H A Dzsmalloc.rst38 # cat /sys/kernel/debug/zsmalloc/zram0/classes
/linux/Documentation/arch/x86/
H A Damd-hfi.rst20 Heterogeneous systems can also extend to more than two architectural classes
47 Threads are classified during runtime into enumerated classes. The classes
/linux/Documentation/networking/device_drivers/ethernet/freescale/
H A Ddpaa.rst162 The driver has support for multiple prioritized Tx traffic classes. Priorities
166 are used. Higher priority traffic classes can be enabled with the mqprio
167 qdisc. For example, all four traffic classes are enabled on an interface with
169 classes as follows:
/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-vp9.h238 __entry->p.classes,
239 sizeof(__entry->p.classes),
/linux/net/dcb/
H A DKconfig18 framework for assigning bandwidth guarantees to traffic classes.
/linux/Documentation/userspace-api/media/v4l/
H A Dextended-controls.rst33 Extended Control API, nowadays there are also other classes of Extended
35 Extended Controls API as well as all Extended Controls classes are
55 controls in that array and a control class. Control classes are used to

12345