Home
last modified time | relevance | path

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

1234567

/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/Documentation/mm/
H A Dzsmalloc.rst39 # cat /sys/kernel/debug/zsmalloc/zram0/classes
97 zsmalloc has 255 size classes, each of which can hold a number of zspages.
102 As an optimization, zsmalloc merges size classes that have similar
106 For instance, consider the following size classes:::
115 Size classes #95-99 are merged with size class #100. This means that when we
143 dewer class mergers, resulting in a more compact grouping of classes, which
146 Let's take a closer look at the bottom of `/sys/kernel/debug/zsmalloc/zramX/classes`:::
158 in huge classes do not share pages).
161 for the huge size class and fewer huge classes overall. This allows for more
206 pages per zspage number of size classes (clusters) huge size class watermark
[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()
/linux/Documentation/sphinx/
H A DrstFlatTable.py189 def buildTableRowNode(self, row_data, classes=None): argument
190 classes = [] if classes is None else classes
197 attributes = {"classes" : classes}
H A Dkernel_include.py291 classes=self.options.get("class", []))
303 for classes, value in tokens:
304 if classes:
306 classes=classes)
H A Dautomarkup.py142 lit_text = nodes.literal(classes=['xref', 'c', 'c-func'])
179 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]])
/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/Documentation/tools/
H A Dkdoc_parser.rst7 File handler classes
23 Parser classes and methods
H A Dkabi_helpers.rst4 Ancillary classes
H A Dkdoc_ancillary.rst4 Ancillary classes
/linux/drivers/gpu/drm/nouveau/nvif/
H A DKbuild17 # Channel classes
23 # Usermode classes
/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/drivers/media/platform/verisilicon/
H A Dhantro_vp9.h15 u8 classes[2][10]; member
70 u32 classes[2][11]; member
/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/Documentation/networking/device_drivers/ethernet/ti/
H A Dcpsw.rst27 - Traffic classes are used starting from 0, that has highest priority
35 - Any l2/socket prio (0 - 7) for classes can be used, but for
37 - only 2 classes tested: A and B, but checked and can work with more,
54 | Only 2 classes: |Mb +---| +-------------------------------+
210 // Check classes settings
437 // Check classes settings
496 // Check classes settings
/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

1234567