/linux-4.1.27/fs/f2fs/ |
H A D | dir.c | 92 struct qstr *name, int *max_slots, find_in_block() 102 de = find_target_dentry(name, max_slots, &d); find_in_block() 117 struct f2fs_dir_entry *find_target_dentry(struct qstr *name, int *max_slots, find_target_dentry() argument 125 if (max_slots) find_target_dentry() 126 *max_slots = 0; find_target_dentry() 139 if (max_slots && max_len > *max_slots) find_target_dentry() 140 *max_slots = max_len; find_target_dentry() 152 if (max_slots && max_len > *max_slots) find_target_dentry() 153 *max_slots = max_len; find_target_dentry() 167 int max_slots; find_in_level() local 186 de = find_in_block(dentry_page, name, &max_slots, res_page); find_in_level() 190 if (max_slots >= s) find_in_level() 453 int room_for_filename(const void *bitmap, int slots, int max_slots) room_for_filename() argument 458 zero_start = find_next_zero_bit_le(bitmap, max_slots, bit_start); room_for_filename() 459 if (zero_start >= max_slots) room_for_filename() 460 return max_slots; room_for_filename() 462 zero_end = find_next_bit_le(bitmap, max_slots, zero_start); room_for_filename() 468 if (zero_end + 1 >= max_slots) room_for_filename() 469 return max_slots; room_for_filename() 91 find_in_block(struct page *dentry_page, struct qstr *name, int *max_slots, struct page **res_page) find_in_block() argument
|
/linux-4.1.27/fs/nfs/ |
H A D | nfs4session.c | 40 if (newsize >= tbl->max_slots) nfs4_shrink_slot_table() 51 tbl->max_slots--; nfs4_shrink_slot_table() 124 *p = nfs4_new_slot(tbl, tbl->max_slots, nfs4_find_or_create_slot() 128 tbl->max_slots++; nfs4_find_or_create_slot() 152 dprintk("--> %s used_slots=%04lx highest_used=%u max_slots=%u\n", nfs4_alloc_slot() 177 if (max_reqs <= tbl->max_slots) nfs4_grow_slot_table() 213 dprintk("--> %s: max_reqs=%u, tbl->max_slots %u\n", __func__, nfs4_realloc_slot_table() 214 max_reqs, tbl->max_slots); nfs4_realloc_slot_table() 227 dprintk("%s: tbl=%p slots=%p max_slots=%u\n", __func__, nfs4_realloc_slot_table() 228 tbl, tbl->slots, tbl->max_slots); nfs4_realloc_slot_table()
|
H A D | nfs4session.h | 39 u32 max_slots; /* # slots in table */ member in struct:nfs4_slot_table
|
H A D | callback_proc.c | 529 /* Reduce the fore channel's max_slots to the target value */ nfs4_callback_recallslot()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | slot_map.c | 233 bytes_needed = osb->max_slots * ocfs2_slot_map_physical_size() 236 bytes_needed = osb->max_slots * sizeof(__le16); ocfs2_slot_map_physical_size() 309 BUG_ON(slot_num >= osb->max_slots); ocfs2_slot_to_node_num_locked() 381 BUG_ON((osb->max_slots / si->si_slots_per_block) > blocks); ocfs2_map_slot_buffers() 425 (sizeof(struct ocfs2_slot) * osb->max_slots), ocfs2_init_slot_info() 434 si->si_num_slots = osb->max_slots; ocfs2_init_slot_info()
|
H A D | sysfile.c | 74 osb->max_slots, get_local_system_inode()
|
H A D | journal.c | 133 (osb->max_slots * sizeof(char)), GFP_KERNEL); ocfs2_compute_replay_slots() 142 replay_map->rm_slots = osb->max_slots; ocfs2_compute_replay_slots() 197 osb->max_slots * sizeof(unsigned int), ocfs2_recovery_init() 275 BUG_ON(rm->rm_used >= osb->max_slots); ocfs2_recovery_map_set() 1359 rm_quota = kzalloc(osb->max_slots * sizeof(int), GFP_NOFS); __ocfs2_recovery_thread() 1502 BUG_ON(slot_num >= osb->max_slots); ocfs2_read_journal_inode() 1791 for (i = 0; i < osb->max_slots; i++) { ocfs2_mark_dead_nodes() 1917 for (i = 0; i < osb->max_slots; i++) ocfs2_queue_orphan_scan() 2299 for(slot = 0; slot < osb->max_slots; slot++) { ocfs2_check_journals_nolocks()
|
H A D | super.c | 346 for (i = 0; i < osb->max_slots; ++i) { ocfs2_osb_dump() 552 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { ocfs2_release_system_inodes() 2112 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); ocfs2_initialize_super() 2113 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { ocfs2_initialize_super() 2115 osb->max_slots); ocfs2_initialize_super() 2158 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), ocfs2_initialize_super() 2167 osb->osb_orphan_wipes = kcalloc(osb->max_slots, ocfs2_initialize_super()
|
H A D | ioctl.c | 191 oim.im_max_slots = osb->max_slots; ocfs2_info_handle_maxslots() 350 oifi->ifi_slotnum = osb->max_slots; ocfs2_info_handle_freeinode()
|
H A D | ocfs2.h | 345 unsigned int max_slots; member in struct:ocfs2_super
|
H A D | suballoc.c | 955 for (i = 0; i < osb->max_slots; i++, slot++) { ocfs2_steal_resource() 956 if (slot == osb->max_slots) ocfs2_steal_resource() 2778 (u32)le16_to_cpu(inode_fe->i_suballoc_slot) > osb->max_slots - 1) { ocfs2_get_suballoc_slot_bit()
|
H A D | localalloc.c | 180 megs_per_slot = osb->osb_clusters_at_boot / osb->max_slots; ocfs2_la_default_mb()
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | hw_breakpoint.c | 184 * @max_slots: max number of slots 193 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, hw_breakpoint_slot_setup() argument 200 for (i = 0; i < max_slots; ++i) { hw_breakpoint_slot_setup() 233 int i, max_slots, ctrl_reg, val_reg, reg_enable; hw_breakpoint_control() local 242 max_slots = core_num_brps; hw_breakpoint_control() 249 max_slots = core_num_wrps; hw_breakpoint_control() 253 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); hw_breakpoint_control() 543 int i, max_slots, privilege; toggle_bp_registers() local 550 max_slots = core_num_brps; toggle_bp_registers() 554 max_slots = core_num_wrps; toggle_bp_registers() 560 for (i = 0; i < max_slots; ++i) { toggle_bp_registers()
|
/linux-4.1.27/drivers/staging/unisys/uislib/ |
H A D | uisqueue.c | 69 if (((head + 1) % readl(&pqhdr->max_slots)) == tail) { spar_signal_insert() 76 head = (head + 1) % readl(&pqhdr->max_slots); spar_signal_insert() 131 tail = (tail + 1) % readl(&pqhdr->max_slots); spar_signal_remove() 185 tail = (tail + 1) % pqhdr->max_slots; spar_signal_remove_all()
|
/linux-4.1.27/drivers/staging/unisys/visorchannel/ |
H A D | visorchannel_funcs.c | 382 if ((*phead >= psafe_sqh->max_slots) || safe_sig_queue_validate() 383 (*ptail >= psafe_sqh->max_slots)) { safe_sig_queue_validate() 407 sig_hdr.tail = (sig_hdr.tail + 1) % sig_hdr.max_slots; signalremove_inner() 449 sig_hdr.head = ((sig_hdr.head + 1) % sig_hdr.max_slots); signalinsert_inner() 509 head = head + sig_hdr.max_slots; visorchannel_signalqueue_slots_avail() 537 (ulong)q->max_slots); sigqueue_debug()
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | hw_breakpoint.c | 338 int i, max_slots, ctrl_base, val_base; arch_install_hw_breakpoint() local 349 max_slots = core_num_brps; arch_install_hw_breakpoint() 355 max_slots = core_num_wrps; arch_install_hw_breakpoint() 358 for (i = 0; i < max_slots; ++i) { arch_install_hw_breakpoint() 367 if (i == max_slots) { arch_install_hw_breakpoint() 395 int i, max_slots, base; arch_uninstall_hw_breakpoint() local 401 max_slots = core_num_brps; arch_uninstall_hw_breakpoint() 406 max_slots = core_num_wrps; arch_uninstall_hw_breakpoint() 410 for (i = 0; i < max_slots; ++i) { arch_uninstall_hw_breakpoint() 419 if (i == max_slots) { arch_uninstall_hw_breakpoint()
|
/linux-4.1.27/drivers/net/fddi/skfp/h/ |
H A D | targethw.h | 75 short max_slots ; /* maximum number of slots */ member in struct:s_smt_hw
|
/linux-4.1.27/fs/dlm/ |
H A D | member.c | 172 int array_size, max_slots, i; dlm_slots_assign() local 276 max_slots = (dlm_config.ci_buffer_size - sizeof(struct dlm_rcom) - dlm_slots_assign() 279 if (num > max_slots) { dlm_slots_assign() 280 log_error(ls, "num_slots %d exceeds max_slots %d", dlm_slots_assign() 281 num, max_slots); dlm_slots_assign()
|
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/ |
H A D | channel.h | 246 u32 max_slots; /* Max # of slots in queue, 1 slot is member in struct:signal_queue_header 281 chan->QHDRFLD.max_slots = \ 283 chan->QHDRFLD.max_signals = chan->QHDRFLD.max_slots-1; \
|
/linux-4.1.27/sound/pci/hda/ |
H A D | hda_controller.c | 1860 int azx_probe_codecs(struct azx *chip, unsigned int max_slots) azx_probe_codecs() argument 1866 if (!max_slots) azx_probe_codecs() 1867 max_slots = AZX_DEFAULT_CODECS; azx_probe_codecs() 1870 for (c = 0; c < max_slots; c++) { azx_probe_codecs() 1893 for (c = 0; c < max_slots; c++) { azx_probe_codecs()
|
H A D | hda_controller.h | 433 int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
|
/linux-4.1.27/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 394 unsigned int max_slots) o2hb_setup_one_bio() 422 while(cs < max_slots) { o2hb_setup_one_bio() 427 (max_slots-cs) * (PAGE_CACHE_SIZE/spp) ); o2hb_setup_one_bio() 445 unsigned int max_slots) o2hb_read_slots() 454 while(current_slot < max_slots) { o2hb_read_slots() 455 bio = o2hb_setup_one_bio(reg, &wc, ¤t_slot, max_slots); o2hb_read_slots() 391 o2hb_setup_one_bio(struct o2hb_region *reg, struct o2hb_bio_wait_ctxt *wc, unsigned int *current_slot, unsigned int max_slots) o2hb_setup_one_bio() argument 444 o2hb_read_slots(struct o2hb_region *reg, unsigned int max_slots) o2hb_read_slots() argument
|
/linux-4.1.27/drivers/pci/hotplug/ |
H A D | ibmphp_core.c | 60 static int max_slots; variable 572 if ((number > max_slots) || (number < 0)) validate() 1351 max_slots = get_max_slots(); ibmphp_init()
|
/linux-4.1.27/drivers/input/ |
H A D | evdev.c | 826 int max_slots; evdev_handle_mt_request() local 834 max_slots = (size - sizeof(__u32)) / sizeof(__s32); evdev_handle_mt_request() 835 for (i = 0; i < mt->num_slots && i < max_slots; i++) { evdev_handle_mt_request()
|
/linux-4.1.27/lib/ |
H A D | swiotlb.c | 436 unsigned long max_slots; swiotlb_tbl_map_single() local 450 max_slots = mask + 1 swiotlb_tbl_map_single() 478 max_slots)) { swiotlb_tbl_map_single()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | cyttsp4_core.c | 720 int max_slots) cyttsp4_report_slot_liftoff() 727 for (t = 0; t < max_slots; t++) { cyttsp4_report_slot_liftoff() 825 static void cyttsp4_final_sync(struct input_dev *input, int max_slots, int *ids) cyttsp4_final_sync() argument 829 for (t = 0; t < max_slots; t++) { cyttsp4_final_sync() 719 cyttsp4_report_slot_liftoff(struct cyttsp4_mt_data *md, int max_slots) cyttsp4_report_slot_liftoff() argument
|
/linux-4.1.27/include/linux/sunrpc/ |
H A D | xprt.h | 231 max_slots; /* max rpc_slots used */ member in struct:rpc_xprt::__anon12471
|
/linux-4.1.27/net/sunrpc/ |
H A D | xprt.c | 980 if (numreqs > xprt->stat.max_slots) xprt_transmit() 981 xprt->stat.max_slots = numreqs; xprt_transmit()
|
H A D | xprtsock.c | 2272 xprt->stat.max_slots, xs_local_print_stats() 2296 xprt->stat.max_slots, xs_udp_print_stats() 2327 xprt->stat.max_slots, xs_tcp_print_stats()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | xhci.h | 1469 u8 max_slots; member in struct:xhci_hcd
|