Home
last modified time | relevance | path

Searched refs:max_slots (Results 1 – 29 of 29) sorted by relevance

/linux-4.4.14/fs/f2fs/
Ddir.c82 int *max_slots, in find_in_block() argument
92 de = find_target_dentry(fname, namehash, max_slots, &d); in find_in_block()
107 f2fs_hash_t namehash, int *max_slots, in find_target_dentry() argument
116 if (max_slots) in find_target_dentry()
117 *max_slots = 0; in find_target_dentry()
140 if (max_slots && max_len > *max_slots) in find_target_dentry()
141 *max_slots = max_len; in find_target_dentry()
153 if (max_slots && max_len > *max_slots) in find_target_dentry()
154 *max_slots = max_len; in find_target_dentry()
170 int max_slots; in find_in_level() local
[all …]
/linux-4.4.14/arch/arm64/kernel/
Dhw_breakpoint.c195 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument
202 for (i = 0; i < max_slots; ++i) { in hw_breakpoint_slot_setup()
235 int i, max_slots, ctrl_reg, val_reg, reg_enable; in hw_breakpoint_control() local
244 max_slots = core_num_brps; in hw_breakpoint_control()
251 max_slots = core_num_wrps; in hw_breakpoint_control()
255 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control()
545 int i, max_slots, privilege; in toggle_bp_registers() local
552 max_slots = core_num_brps; in toggle_bp_registers()
556 max_slots = core_num_wrps; in toggle_bp_registers()
562 for (i = 0; i < max_slots; ++i) { in toggle_bp_registers()
/linux-4.4.14/arch/arm/kernel/
Dhw_breakpoint.c337 int i, max_slots, ctrl_base, val_base; in arch_install_hw_breakpoint() local
348 max_slots = core_num_brps; in arch_install_hw_breakpoint()
354 max_slots = core_num_wrps; in arch_install_hw_breakpoint()
357 for (i = 0; i < max_slots; ++i) { in arch_install_hw_breakpoint()
366 if (i == max_slots) { in arch_install_hw_breakpoint()
394 int i, max_slots, base; in arch_uninstall_hw_breakpoint() local
400 max_slots = core_num_brps; in arch_uninstall_hw_breakpoint()
405 max_slots = core_num_wrps; in arch_uninstall_hw_breakpoint()
409 for (i = 0; i < max_slots; ++i) { in arch_uninstall_hw_breakpoint()
418 if (i == max_slots) { in arch_uninstall_hw_breakpoint()
/linux-4.4.14/fs/nfs/
Dnfs4session.c40 if (newsize >= tbl->max_slots) in nfs4_shrink_slot_table()
51 tbl->max_slots--; in nfs4_shrink_slot_table()
124 *p = nfs4_new_slot(tbl, tbl->max_slots, in nfs4_find_or_create_slot()
128 tbl->max_slots++; in nfs4_find_or_create_slot()
177 if (max_reqs <= tbl->max_slots) in nfs4_grow_slot_table()
214 max_reqs, tbl->max_slots); in nfs4_realloc_slot_table()
228 tbl, tbl->slots, tbl->max_slots); in nfs4_realloc_slot_table()
Dnfs4session.h39 u32 max_slots; /* # slots in table */ member
/linux-4.4.14/fs/ocfs2/
Dslot_map.c233 bytes_needed = osb->max_slots * in ocfs2_slot_map_physical_size()
236 bytes_needed = osb->max_slots * sizeof(__le16); in ocfs2_slot_map_physical_size()
309 BUG_ON(slot_num >= osb->max_slots); in ocfs2_slot_to_node_num_locked()
381 BUG_ON((osb->max_slots / si->si_slots_per_block) > blocks); in ocfs2_map_slot_buffers()
425 (sizeof(struct ocfs2_slot) * osb->max_slots), in ocfs2_init_slot_info()
434 si->si_num_slots = osb->max_slots; in ocfs2_init_slot_info()
Djournal.c133 (osb->max_slots * sizeof(char)), GFP_KERNEL); in ocfs2_compute_replay_slots()
142 replay_map->rm_slots = osb->max_slots; in ocfs2_compute_replay_slots()
197 osb->max_slots * sizeof(unsigned int), in ocfs2_recovery_init()
275 BUG_ON(rm->rm_used >= osb->max_slots); in ocfs2_recovery_map_set()
1386 rm_quota = kzalloc(osb->max_slots * sizeof(int), GFP_NOFS); in __ocfs2_recovery_thread()
1529 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode()
1818 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes()
1944 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan()
2340 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
Dsysfile.c74 osb->max_slots, in get_local_system_inode()
Dsuper.c348 for (i = 0; i < osb->max_slots; ++i) { in ocfs2_osb_dump()
554 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { in ocfs2_release_system_inodes()
2123 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2124 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super()
2126 osb->max_slots); in ocfs2_initialize_super()
2169 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super()
2178 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
Dioctl.c191 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
350 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
Docfs2.h347 unsigned int max_slots; member
Dsuballoc.c939 for (i = 0; i < osb->max_slots; i++, slot++) { in ocfs2_steal_resource()
940 if (slot == osb->max_slots) in ocfs2_steal_resource()
2761 (u32)le16_to_cpu(inode_fe->i_suballoc_slot) > osb->max_slots - 1) { in ocfs2_get_suballoc_slot_bit()
Dlocalalloc.c180 megs_per_slot = osb->osb_clusters_at_boot / osb->max_slots; in ocfs2_la_default_mb()
/linux-4.4.14/drivers/staging/unisys/include/
Dchannel.h210 u32 max_slots; /* Max # of slots in queue, 1 slot is member
243 chan->QHDRFLD.max_slots = \
245 chan->QHDRFLD.max_signals = chan->QHDRFLD.max_slots - 1;\
/linux-4.4.14/drivers/net/fddi/skfp/h/
Dtargethw.h75 short max_slots ; /* maximum number of slots */ member
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvisorchannel.c401 sig_hdr.tail = (sig_hdr.tail + 1) % sig_hdr.max_slots; in signalremove_inner()
464 sig_hdr.head = ((sig_hdr.head + 1) % sig_hdr.max_slots); in signalinsert_inner()
523 head = head + sig_hdr.max_slots; in visorchannel_signalqueue_slots_avail()
551 (ulong)q->max_slots); in sigqueue_debug()
/linux-4.4.14/sound/soc/intel/skylake/
Dskl.c300 int c, max_slots; in skl_codec_create() local
302 max_slots = HDA_MAX_CODECS; in skl_codec_create()
305 for (c = 0; c < max_slots; c++) { in skl_codec_create()
/linux-4.4.14/fs/dlm/
Dmember.c172 int array_size, max_slots, i; in dlm_slots_assign() local
276 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - in dlm_slots_assign()
279 if (num > max_slots) { in dlm_slots_assign()
281 num, max_slots); in dlm_slots_assign()
/linux-4.4.14/sound/pci/hda/
Dhda_controller.c1081 int azx_probe_codecs(struct azx *chip, unsigned int max_slots) in azx_probe_codecs() argument
1087 if (!max_slots) in azx_probe_codecs()
1088 max_slots = AZX_DEFAULT_CODECS; in azx_probe_codecs()
1091 for (c = 0; c < max_slots; c++) { in azx_probe_codecs()
1114 for (c = 0; c < max_slots; c++) { in azx_probe_codecs()
Dhda_controller.h220 int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
/linux-4.4.14/lib/
Dswiotlb.c436 unsigned long max_slots; in swiotlb_tbl_map_single() local
450 max_slots = mask + 1 in swiotlb_tbl_map_single()
478 max_slots)) { in swiotlb_tbl_map_single()
/linux-4.4.14/fs/ocfs2/cluster/
Dheartbeat.c394 unsigned int max_slots) in o2hb_setup_one_bio() argument
422 while(cs < max_slots) { in o2hb_setup_one_bio()
427 (max_slots-cs) * (PAGE_CACHE_SIZE/spp) ); in o2hb_setup_one_bio()
445 unsigned int max_slots) in o2hb_read_slots() argument
454 while(current_slot < max_slots) { in o2hb_read_slots()
455 bio = o2hb_setup_one_bio(reg, &wc, &current_slot, max_slots); in o2hb_read_slots()
/linux-4.4.14/drivers/pci/hotplug/
Dibmphp_core.c60 static int max_slots; variable
572 if ((number > max_slots) || (number < 0)) in validate()
1351 max_slots = get_max_slots(); in ibmphp_init()
/linux-4.4.14/include/linux/sunrpc/
Dxprt.h244 max_slots; /* max rpc_slots used */ member
/linux-4.4.14/drivers/input/
Devdev.c955 int max_slots; in evdev_handle_mt_request() local
963 max_slots = (size - sizeof(__u32)) / sizeof(__s32); in evdev_handle_mt_request()
964 for (i = 0; i < mt->num_slots && i < max_slots; i++) { in evdev_handle_mt_request()
/linux-4.4.14/drivers/input/touchscreen/
Dcyttsp4_core.c720 int max_slots) in cyttsp4_report_slot_liftoff() argument
727 for (t = 0; t < max_slots; t++) { in cyttsp4_report_slot_liftoff()
822 static void cyttsp4_final_sync(struct input_dev *input, int max_slots, int *ids) in cyttsp4_final_sync() argument
826 for (t = 0; t < max_slots; t++) { in cyttsp4_final_sync()
/linux-4.4.14/net/sunrpc/
Dxprt.c984 if (numreqs > xprt->stat.max_slots) in xprt_transmit()
985 xprt->stat.max_slots = numreqs; in xprt_transmit()
Dxprtsock.c2430 xprt->stat.max_slots, in xs_local_print_stats()
2454 xprt->stat.max_slots, in xs_udp_print_stats()
2485 xprt->stat.max_slots, in xs_tcp_print_stats()
/linux-4.4.14/drivers/usb/host/
Dxhci.h1529 u8 max_slots; member