/linux-4.1.27/fs/f2fs/ |
D | dir.c | 92 struct qstr *name, int *max_slots, in find_in_block() argument 102 de = find_target_dentry(name, max_slots, &d); in find_in_block() 117 struct f2fs_dir_entry *find_target_dentry(struct qstr *name, int *max_slots, in find_target_dentry() argument 125 if (max_slots) in find_target_dentry() 126 *max_slots = 0; in find_target_dentry() 139 if (max_slots && max_len > *max_slots) in find_target_dentry() 140 *max_slots = max_len; in find_target_dentry() 152 if (max_slots && max_len > *max_slots) in find_target_dentry() 153 *max_slots = max_len; in find_target_dentry() 167 int max_slots; in find_in_level() local [all …]
|
/linux-4.1.27/arch/arm64/kernel/ |
D | hw_breakpoint.c | 193 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument 200 for (i = 0; i < max_slots; ++i) { in hw_breakpoint_slot_setup() 233 int i, max_slots, ctrl_reg, val_reg, reg_enable; in hw_breakpoint_control() local 242 max_slots = core_num_brps; in hw_breakpoint_control() 249 max_slots = core_num_wrps; in hw_breakpoint_control() 253 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control() 543 int i, max_slots, privilege; in toggle_bp_registers() local 550 max_slots = core_num_brps; in toggle_bp_registers() 554 max_slots = core_num_wrps; in toggle_bp_registers() 560 for (i = 0; i < max_slots; ++i) { in toggle_bp_registers()
|
/linux-4.1.27/drivers/staging/unisys/uislib/ |
D | uisqueue.c | 69 if (((head + 1) % readl(&pqhdr->max_slots)) == tail) { in spar_signal_insert() 76 head = (head + 1) % readl(&pqhdr->max_slots); in spar_signal_insert() 131 tail = (tail + 1) % readl(&pqhdr->max_slots); in spar_signal_remove() 185 tail = (tail + 1) % pqhdr->max_slots; in spar_signal_remove_all()
|
/linux-4.1.27/arch/arm/kernel/ |
D | hw_breakpoint.c | 338 int i, max_slots, ctrl_base, val_base; in arch_install_hw_breakpoint() local 349 max_slots = core_num_brps; in arch_install_hw_breakpoint() 355 max_slots = core_num_wrps; in arch_install_hw_breakpoint() 358 for (i = 0; i < max_slots; ++i) { in arch_install_hw_breakpoint() 367 if (i == max_slots) { 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 (i == max_slots) { in arch_uninstall_hw_breakpoint()
|
/linux-4.1.27/fs/nfs/ |
D | nfs4session.c | 40 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()
|
D | nfs4session.h | 39 u32 max_slots; /* # slots in table */ member
|
/linux-4.1.27/fs/ocfs2/ |
D | slot_map.c | 233 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()
|
D | journal.c | 133 (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() 1359 rm_quota = kzalloc(osb->max_slots * sizeof(int), GFP_NOFS); in __ocfs2_recovery_thread() 1502 BUG_ON(slot_num >= osb->max_slots); in ocfs2_read_journal_inode() 1791 for (i = 0; i < osb->max_slots; i++) { in ocfs2_mark_dead_nodes() 1917 for (i = 0; i < osb->max_slots; i++) in ocfs2_queue_orphan_scan() 2299 for(slot = 0; slot < osb->max_slots; slot++) { in ocfs2_check_journals_nolocks()
|
D | sysfile.c | 74 osb->max_slots, in get_local_system_inode()
|
D | super.c | 346 for (i = 0; i < osb->max_slots; ++i) { in ocfs2_osb_dump() 552 for (i = 0; i < NUM_LOCAL_SYSTEM_INODES * osb->max_slots; i++) { in ocfs2_release_system_inodes() 2112 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super() 2113 if (osb->max_slots > OCFS2_MAX_SLOTS || osb->max_slots == 0) { in ocfs2_initialize_super() 2115 osb->max_slots); in ocfs2_initialize_super() 2158 kcalloc(osb->max_slots, sizeof(*osb->slot_recovery_generations), in ocfs2_initialize_super() 2167 osb->osb_orphan_wipes = kcalloc(osb->max_slots, in ocfs2_initialize_super()
|
D | ioctl.c | 191 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots() 350 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
|
D | ocfs2.h | 345 unsigned int max_slots; member
|
D | suballoc.c | 955 for (i = 0; i < osb->max_slots; i++, slot++) { in ocfs2_steal_resource() 956 if (slot == osb->max_slots) in ocfs2_steal_resource() 2778 (u32)le16_to_cpu(inode_fe->i_suballoc_slot) > osb->max_slots - 1) { in ocfs2_get_suballoc_slot_bit()
|
D | localalloc.c | 180 megs_per_slot = osb->osb_clusters_at_boot / osb->max_slots; in ocfs2_la_default_mb()
|
/linux-4.1.27/drivers/staging/unisys/visorchannel/ |
D | visorchannel_funcs.c | 382 if ((*phead >= psafe_sqh->max_slots) || in safe_sig_queue_validate() 383 (*ptail >= psafe_sqh->max_slots)) { in safe_sig_queue_validate() 407 sig_hdr.tail = (sig_hdr.tail + 1) % sig_hdr.max_slots; in signalremove_inner() 449 sig_hdr.head = ((sig_hdr.head + 1) % sig_hdr.max_slots); in signalinsert_inner() 509 head = head + sig_hdr.max_slots; in visorchannel_signalqueue_slots_avail() 537 (ulong)q->max_slots); in sigqueue_debug()
|
/linux-4.1.27/drivers/net/fddi/skfp/h/ |
D | targethw.h | 75 short max_slots ; /* maximum number of slots */ member
|
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/ |
D | channel.h | 246 u32 max_slots; /* Max # of slots in queue, 1 slot is member 281 chan->QHDRFLD.max_slots = \ 283 chan->QHDRFLD.max_signals = chan->QHDRFLD.max_slots-1; \
|
/linux-4.1.27/fs/dlm/ |
D | member.c | 172 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.1.27/lib/ |
D | swiotlb.c | 436 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.1.27/fs/ocfs2/cluster/ |
D | heartbeat.c | 394 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, ¤t_slot, max_slots); in o2hb_read_slots()
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | ibmphp_core.c | 60 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.1.27/sound/pci/hda/ |
D | hda_controller.c | 1860 int azx_probe_codecs(struct azx *chip, unsigned int max_slots) in azx_probe_codecs() argument 1866 if (!max_slots) in azx_probe_codecs() 1867 max_slots = AZX_DEFAULT_CODECS; in azx_probe_codecs() 1870 for (c = 0; c < max_slots; c++) { in azx_probe_codecs() 1893 for (c = 0; c < max_slots; c++) { in azx_probe_codecs()
|
D | hda_controller.h | 433 int azx_probe_codecs(struct azx *chip, unsigned int max_slots);
|
/linux-4.1.27/drivers/input/ |
D | evdev.c | 826 int max_slots; in evdev_handle_mt_request() local 834 max_slots = (size - sizeof(__u32)) / sizeof(__s32); in evdev_handle_mt_request() 835 for (i = 0; i < mt->num_slots && i < max_slots; i++) { in evdev_handle_mt_request()
|
/linux-4.1.27/include/linux/sunrpc/ |
D | xprt.h | 231 max_slots; /* max rpc_slots used */ member
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 720 int max_slots) in cyttsp4_report_slot_liftoff() argument 727 for (t = 0; t < max_slots; t++) { in cyttsp4_report_slot_liftoff() 825 static void cyttsp4_final_sync(struct input_dev *input, int max_slots, int *ids) in cyttsp4_final_sync() argument 829 for (t = 0; t < max_slots; t++) { in cyttsp4_final_sync()
|
/linux-4.1.27/net/sunrpc/ |
D | xprt.c | 980 if (numreqs > xprt->stat.max_slots) in xprt_transmit() 981 xprt->stat.max_slots = numreqs; in xprt_transmit()
|
D | xprtsock.c | 2272 xprt->stat.max_slots, in xs_local_print_stats() 2296 xprt->stat.max_slots, in xs_udp_print_stats() 2327 xprt->stat.max_slots, in xs_tcp_print_stats()
|
/linux-4.1.27/drivers/usb/host/ |
D | xhci.h | 1469 u8 max_slots; member
|