Searched refs:max_slots (Results 1 - 25 of 35) sorted by relevance

12

/linux-master/tools/testing/radix-tree/
H A Dregression2.c80 int max_slots = RADIX_TREE_MAP_SIZE; local
86 for (i = 0; i <= max_slots - 1; i++) {
90 radix_tree_tag_set(&mt_tree, max_slots - 1, PAGECACHE_TAG_DIRTY);
94 end = max_slots - 2;
100 radix_tree_insert(&mt_tree, max_slots, p);
103 radix_tree_tag_clear(&mt_tree, max_slots - 1, PAGECACHE_TAG_DIRTY);
106 for (i = max_slots - 1; i >= 0; i--)
113 end = max_slots - 2;
118 free(radix_tree_delete(&mt_tree, max_slots));
/linux-master/arch/loongarch/kernel/
H A Dhw_breakpoint.c105 * @max_slots: max number of slots
115 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, argument
121 for (i = 0; i < max_slots; ++i) {
178 int i, max_slots, enable; local
185 max_slots = boot_cpu_data.watch_ireg_count;
189 max_slots = boot_cpu_data.watch_dreg_count;
192 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops);
411 int i, max_slots; local
418 max_slots = boot_cpu_data.watch_ireg_count;
422 max_slots
[all...]
/linux-master/fs/f2fs/
H A Ddir.c168 int *max_slots)
176 return f2fs_find_target_dentry(&d, fname, max_slots);
253 const struct f2fs_filename *fname, int *max_slots)
260 if (max_slots)
261 *max_slots = 0;
286 if (max_slots && max_len > *max_slots)
287 *max_slots = max_len;
295 if (max_slots && max_len > *max_slots)
165 find_in_block(struct inode *dir, struct page *dentry_page, const struct f2fs_filename *fname, int *max_slots) argument
252 f2fs_find_target_dentry(const struct f2fs_dentry_ptr *d, const struct f2fs_filename *fname, int *max_slots) argument
312 int max_slots; local
622 f2fs_room_for_filename(const void *bitmap, int slots, int max_slots) argument
[all...]
/linux-master/drivers/net/fddi/skfp/h/
H A Dtargethw.h71 short max_slots ; /* maximum number of slots */ member in struct:s_smt_hw
/linux-master/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c168 int max_slots, slot, opt, fd;
182 max_slots = kvm_check_cap(KVM_CAP_NR_MEMSLOTS);
183 TEST_ASSERT(max_slots > first_slot, "KVM is broken");
230 for (slot = first_slot; slot < max_slots; slot++) {
171 int max_slots, slot, opt, fd; local
/linux-master/arch/arm64/kernel/
H A Dhw_breakpoint.c180 * @max_slots: max number of slots
189 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, argument
196 for (i = 0; i < max_slots; ++i) {
229 int i, max_slots, ctrl_reg, val_reg, reg_enable; local
238 max_slots = core_num_brps;
245 max_slots = core_num_wrps;
249 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops);
583 int i, max_slots, privilege; local
590 max_slots = core_num_brps;
594 max_slots
[all...]
/linux-master/fs/ocfs2/
H A Dslot_map.c215 bytes_needed = osb->max_slots *
218 bytes_needed = osb->max_slots * sizeof(__le16);
291 BUG_ON(slot_num >= osb->max_slots);
362 BUG_ON((osb->max_slots / si->si_slots_per_block) > blocks);
405 si = kzalloc(struct_size(si, si_slots, osb->max_slots), GFP_KERNEL);
413 si->si_num_slots = osb->max_slots;
H A Dsysfile.c59 osb->max_slots),
H A Djournal.c118 osb->max_slots),
127 replay_map->rm_slots = osb->max_slots;
181 rm = kzalloc(struct_size(rm, rm_entries, osb->max_slots),
258 BUG_ON(rm->rm_used >= osb->max_slots);
1428 rm_quota = kcalloc(osb->max_slots, sizeof(int), GFP_NOFS);
1578 BUG_ON(slot_num >= osb->max_slots);
1862 for (i = 0; i < osb->max_slots; i++) {
1988 for (i = 0; i < osb->max_slots; i++)
2384 for(slot = 0; slot < osb->max_slots; slot++) {
H A Dsuper.c328 for (i = 0; i < osb->max_slots; ++i) {
533 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) {
2068 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots);
2069 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) {
2071 osb->max_slots);
2110 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations),
2119 osb->osb_orphan_wipes = kcalloc(osb->max_slots,
H A Dioctl.c189 oim.im_max_slots = osb->max_slots;
348 oifi->ifi_slotnum = osb->max_slots;
H A Docfs2.h335 unsigned int max_slots; member in struct:ocfs2_super
/linux-master/fs/nfs/
H A Dnfs4session.c42 if (newsize >= tbl->max_slots)
53 tbl->max_slots--;
128 *p = nfs4_new_slot(tbl, tbl->max_slots,
132 tbl->max_slots++;
247 dprintk("--> %s used_slots=%04lx highest_used=%u max_slots=%u\n",
265 if (max_reqs <= tbl->max_slots)
302 dprintk("--> %s: max_reqs=%u, tbl->max_slots %u\n", __func__,
303 max_reqs, tbl->max_slots);
316 dprintk("%s: tbl=%p slots=%p max_slots=%u\n", __func__,
317 tbl, tbl->slots, tbl->max_slots);
[all...]
H A Dnfs4session.h46 u32 max_slots; /* # slots in table */ member in struct:nfs4_slot_table
/linux-master/arch/arm/kernel/
H A Dhw_breakpoint.c329 int i, max_slots, ctrl_base, val_base; local
340 max_slots = core_num_brps;
346 max_slots = core_num_wrps;
349 for (i = 0; i < max_slots; ++i) {
358 if (i == max_slots) {
386 int i, max_slots, base; local
392 max_slots = core_num_brps;
397 max_slots = core_num_wrps;
401 for (i = 0; i < max_slots; ++i) {
410 if (i == max_slots) {
[all...]
/linux-master/sound/pci/hda/
H A Dhda_controller.h209 int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
H A Dhda_controller.c1199 int azx_probe_codecs(struct azx *chip, unsigned int max_slots) argument
1205 if (!max_slots)
1206 max_slots = AZX_DEFAULT_CODECS;
1209 for (c = 0; c < max_slots; c++) {
1235 for (c = 0; c < max_slots; c++) {
/linux-master/fs/dlm/
H A Dmember.c166 int array_size, max_slots, i; local
269 max_slots = (DLM_MAX_APP_BUFSIZE - sizeof(struct dlm_rcom) -
272 if (num > max_slots) {
273 log_error(ls, "num_slots %d exceeds max_slots %d",
274 num, max_slots);
/linux-master/tools/testing/selftests/hid/tests/
H A Dtest_multitouch.py289 def __init__(self, max_slots):
290 self.max_slots = max_slots
334 {rdesc_finger_str * self.max_slots}
347 Logical Maximum ({self.max_slots})
353 super().__init__(f"uhid test parallel {self.max_slots}", rdesc_str)
358 self.max_slots = 10
409 Logical Maximum ({self.max_slots})
419 def __init__(self, max_slots):
420 self.max_slots
[all...]
/linux-master/fs/ocfs2/cluster/
H A Dheartbeat.c511 unsigned int max_slots, blk_opf_t opf)
538 while(cs < max_slots) {
543 (max_slots-cs) * (PAGE_SIZE/spp) );
562 unsigned int max_slots)
571 while(current_slot < max_slots) {
572 bio = o2hb_setup_one_bio(reg, &wc, &current_slot, max_slots,
508 o2hb_setup_one_bio(struct o2hb_region *reg, struct o2hb_bio_wait_ctxt *wc, unsigned int *current_slot, unsigned int max_slots, blk_opf_t opf) argument
560 o2hb_read_slots(struct o2hb_region *reg, unsigned int begin_slot, unsigned int max_slots) argument
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.h289 int max_slots; member in struct:vchiq_slot_zero
/linux-master/drivers/pci/hotplug/
H A Dibmphp_core.c46 static int max_slots; variable
466 if ((number > max_slots) || (number < 0))
1219 max_slots = get_max_slots();
/linux-master/sound/soc/intel/skylake/
H A Dskl.c757 int c, max_slots; local
759 max_slots = HDA_MAX_CODECS;
762 for (c = 0; c < max_slots; c++) {
/linux-master/drivers/input/
H A Devdev.c925 int max_slots; local
933 max_slots = (size - sizeof(__u32)) / sizeof(__s32);
934 for (i = 0; i < mt->num_slots && i < max_slots; i++) {
/linux-master/include/linux/sunrpc/
H A Dxprt.h290 max_slots; /* max rpc_slots used */ member in struct:rpc_xprt::__anon879

Completed in 707 milliseconds

12