Home
last modified time | relevance | path

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

/linux-3.4.99/arch/arm/kernel/
Dhw_breakpoint.c331 int i, max_slots, ctrl_base, val_base, ret = 0; in arch_install_hw_breakpoint() local
347 max_slots = core_num_brps; in arch_install_hw_breakpoint()
353 max_slots = core_num_wrps; in arch_install_hw_breakpoint()
356 for (i = 0; i < max_slots; ++i) { in arch_install_hw_breakpoint()
365 if (WARN_ONCE(i == max_slots, "Can't find any breakpoint slot\n")) { in arch_install_hw_breakpoint()
395 int i, max_slots, base; in arch_uninstall_hw_breakpoint() local
401 max_slots = core_num_brps; in arch_uninstall_hw_breakpoint()
406 max_slots = core_num_wrps; in arch_uninstall_hw_breakpoint()
410 for (i = 0; i < max_slots; ++i) { in arch_uninstall_hw_breakpoint()
419 if (WARN_ONCE(i == max_slots, "Can't find any breakpoint slot\n")) in arch_uninstall_hw_breakpoint()
/linux-3.4.99/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.c128 (osb->max_slots * sizeof(char)), GFP_KERNEL); in ocfs2_compute_replay_slots()
137 replay_map->rm_slots = osb->max_slots; in ocfs2_compute_replay_slots()
190 osb->max_slots * sizeof(unsigned int), in ocfs2_recovery_init()
268 BUG_ON(rm->rm_used >= osb->max_slots); in ocfs2_recovery_map_set()
1307 rm_quota = kzalloc(osb->max_slots * sizeof(int), GFP_NOFS); in __ocfs2_recovery_thread()
1451 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode()
1740 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes()
1866 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan()
2185 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
Dsysfile.c74 osb->max_slots, in get_local_system_inode()
Dsuper.c339 for (i = 0; i < osb->max_slots; ++i) { in ocfs2_osb_dump()
545 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { in ocfs2_release_system_inodes()
2133 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2134 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super()
2136 osb->max_slots); in ocfs2_initialize_super()
2180 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super()
2189 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
Dioctl.c204 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
389 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
Docfs2.h334 unsigned int max_slots; member
Dsuballoc.c960 for (i = 0; i < osb->max_slots; i++, slot++) { in ocfs2_steal_resource()
961 if (slot == osb->max_slots) in ocfs2_steal_resource()
2767 (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-3.4.99/drivers/net/fddi/skfp/h/
Dtargethw.h75 short max_slots ; /* maximum number of slots */ member
/linux-3.4.99/fs/dlm/
Dmember.c175 int array_size, max_slots, i; in dlm_slots_assign() local
279 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - in dlm_slots_assign()
282 if (num > max_slots) { in dlm_slots_assign()
284 num, max_slots); in dlm_slots_assign()
/linux-3.4.99/include/linux/
Dnfs_fs_sb.h211 u32 max_slots; /* # slots in table */ member
/linux-3.4.99/lib/
Dswiotlb.c384 unsigned long max_slots; in swiotlb_tbl_map_single() local
395 max_slots = mask + 1 in swiotlb_tbl_map_single()
423 max_slots)) { in swiotlb_tbl_map_single()
/linux-3.4.99/fs/nfs/
Dnfs4state.c201 int max_slots; in nfs4_end_drain_session() local
208 max_slots = tbl->max_slots; in nfs4_end_drain_session()
209 while (max_slots--) { in nfs4_end_drain_session()
1705 fc_tbl->max_slots = fc_tbl->target_max_slots; in nfs4_recall_slot()
1707 fc_attrs->max_reqs = fc_tbl->max_slots; in nfs4_recall_slot()
Dcallback_proc.c555 if (args->crsa_target_max_slots > fc_tbl->max_slots || in nfs4_callback_recallslot()
560 if (args->crsa_target_max_slots == fc_tbl->max_slots) in nfs4_callback_recallslot()
Dnfs4proc.c391 slotid = find_last_bit(tbl->used_slots, tbl->max_slots); in nfs4_free_slot()
392 if (slotid < tbl->max_slots) in nfs4_free_slot()
538 tbl->max_slots); in nfs4_find_slot()
539 slotid = find_first_zero_bit(tbl->used_slots, tbl->max_slots); in nfs4_find_slot()
540 if (slotid >= tbl->max_slots) in nfs4_find_slot()
5289 static struct nfs4_slot *nfs4_alloc_slots(u32 max_slots, gfp_t gfp_flags) in nfs4_alloc_slots() argument
5291 return kcalloc(max_slots, sizeof(struct nfs4_slot), gfp_flags); in nfs4_alloc_slots()
5296 u32 max_slots, in nfs4_add_and_init_slots() argument
5306 tbl->max_slots = max_slots; in nfs4_add_and_init_slots()
5309 for (i = 0; i < tbl->max_slots; i++) in nfs4_add_and_init_slots()
[all …]
/linux-3.4.99/drivers/input/
Devdev.c641 int max_slots; in evdev_handle_mt_request() local
649 max_slots = (size - sizeof(__u32)) / sizeof(__s32); in evdev_handle_mt_request()
650 for (i = 0; i < dev->mtsize && i < max_slots; i++) in evdev_handle_mt_request()
/linux-3.4.99/fs/ocfs2/cluster/
Dheartbeat.c402 unsigned int max_slots) in o2hb_setup_one_bio() argument
430 while(cs < max_slots) { in o2hb_setup_one_bio()
435 (max_slots-cs) * (PAGE_CACHE_SIZE/spp) ); in o2hb_setup_one_bio()
453 unsigned int max_slots) in o2hb_read_slots() argument
462 while(current_slot < max_slots) { in o2hb_read_slots()
463 bio = o2hb_setup_one_bio(reg, &wc, &current_slot, max_slots); in o2hb_read_slots()
/linux-3.4.99/drivers/pci/hotplug/
Dibmphp_core.c59 static int max_slots; variable
574 if ((number > max_slots) || (number < 0)) in validate()
1341 max_slots = get_max_slots(); in ibmphp_init()
/linux-3.4.99/include/linux/sunrpc/
Dxprt.h224 max_slots; /* max rpc_slots used */ member
/linux-3.4.99/sound/pci/hda/
Dhda_intel.c1534 int max_slots; in azx_codec_create() local
1559 max_slots = azx_max_codecs[chip->driver_type]; in azx_codec_create()
1560 if (!max_slots) in azx_codec_create()
1561 max_slots = AZX_DEFAULT_CODECS; in azx_codec_create()
1564 for (c = 0; c < max_slots; c++) { in azx_codec_create()
1598 for (c = 0; c < max_slots; c++) { in azx_codec_create()
/linux-3.4.99/net/sunrpc/
Dxprt.c931 if (numreqs > xprt->stat.max_slots) in xprt_transmit()
932 xprt->stat.max_slots = numreqs; in xprt_transmit()
Dxprtsock.c2258 xprt->stat.max_slots, in xs_local_print_stats()
2282 xprt->stat.max_slots, in xs_udp_print_stats()
2313 xprt->stat.max_slots, in xs_tcp_print_stats()
/linux-3.4.99/drivers/usb/host/
Dxhci.h1418 u8 max_slots; member