Home
last modified time | relevance | path

Searched refs:entry_count (Results 1 – 44 of 44) sorted by relevance

/linux-4.1.27/arch/x86/um/
Dldt.c55 if (!ldt->entry_count) in read_ldt()
62 if (ldt->entry_count <= LDT_DIRECT_ENTRIES) { in read_ldt()
72 for (i=0; i<ldt->entry_count/LDT_ENTRIES_PER_PAGE && bytecount; in read_ldt()
148 if (ldt_info.entry_number >= ldt->entry_count && in write_ldt()
150 for (i=ldt->entry_count/LDT_ENTRIES_PER_PAGE; in write_ldt()
171 ldt->entry_count = (i + 1) * LDT_ENTRIES_PER_PAGE; in write_ldt()
174 if (ldt->entry_count <= ldt_info.entry_number) in write_ldt()
175 ldt->entry_count = ldt_info.entry_number + 1; in write_ldt()
177 if (ldt->entry_count <= LDT_DIRECT_ENTRIES) in write_ldt()
319 new_mm->arch.ldt.entry_count = 0; in init_new_ldt()
[all …]
/linux-4.1.27/fs/reiserfs/
Ditem_ops.c486 dir_u->entry_count = ih_entry_count(vi->vi_ih) + in direntry_create_vi()
490 for (i = 0; i < dir_u->entry_count; i++) { in direntry_create_vi()
498 size += (dir_u->entry_count * sizeof(short)); in direntry_create_vi()
510 for (k = 0; k < dir_u->entry_count; k++) in direntry_create_vi()
540 for (i = start_skip; i < dir_u->entry_count - end_skip; i++) { in direntry_check_left()
549 if (entries == dir_u->entry_count) { in direntry_check_left()
552 dir_u->entry_count); in direntry_check_left()
569 for (i = dir_u->entry_count - 1; i >= 0; i--) { in direntry_check_right()
577 BUG_ON(entries == dir_u->entry_count); in direntry_check_right()
581 && entries > dir_u->entry_count - 2) in direntry_check_right()
[all …]
Ddo_balan.c722 int entry_count; in balance_leaf_paste_right_shift_dirent() local
726 entry_count = ih_entry_count(item_head(tbS0, tb->item_pos)); in balance_leaf_paste_right_shift_dirent()
729 if (entry_count - tb->rbytes < tb->pos_in_item) { in balance_leaf_paste_right_shift_dirent()
732 RFALSE(tb->rbytes - 1 >= entry_count || !tb->insert_size[0], in balance_leaf_paste_right_shift_dirent()
734 "rbytes=%d, entry_count=%d", tb->rbytes, entry_count); in balance_leaf_paste_right_shift_dirent()
744 paste_entry_position = tb->pos_in_item - entry_count + in balance_leaf_paste_right_shift_dirent()
1029 int entry_count = ih_entry_count(aux_ih); in balance_leaf_new_nodes_paste_dirent() local
1032 if (entry_count - tb->sbytes[i] < tb->pos_in_item && in balance_leaf_new_nodes_paste_dirent()
1033 tb->pos_in_item <= entry_count) { in balance_leaf_new_nodes_paste_dirent()
1038 RFALSE(tb->sbytes[i] - 1 >= entry_count, in balance_leaf_new_nodes_paste_dirent()
[all …]
Dreiserfs.h2376 __u16 entry_count; member
3082 loff_t offset, int type, int length, int entry_count);
Dinode.c139 int entry_count /*or ih_free_space */ ) in make_le_item_head() argument
155 put_ih_entry_count(ih, entry_count); in make_le_item_head()
/linux-4.1.27/drivers/scsi/
Dqla1280.h517 uint8_t entry_count; /* Entry count. */ member
545 uint8_t entry_count; /* Entry count. */ member
571 uint8_t entry_count; /* Entry count. */ member
603 uint8_t entry_count; /* Entry count. */ member
624 uint8_t entry_count; /* Entry count. */ member
644 uint8_t entry_count; /* Entry count. */ member
669 uint8_t entry_count; /* Entry count. */ member
690 uint8_t entry_count; /* Entry count. */ member
718 uint8_t entry_count; /* Entry count. */ member
743 uint8_t entry_count; /* Entry count. */ member
[all …]
Dqla1280.c2864 pkt->entry_count = (uint8_t) req_cnt; in qla1280_64bit_start_scsi()
2964 ((struct cont_a64_entry *) pkt)->entry_count = 1; in qla1280_64bit_start_scsi()
3133 pkt->entry_count = (uint8_t) req_cnt; in qla1280_32bit_start_scsi()
3217 ((struct cont_entry *) pkt)->entry_count = 1; in qla1280_32bit_start_scsi()
3336 pkt->entry_count = 1; in qla1280_req_pkt()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_fw.h391 uint8_t entry_count; /* Entry count. */ member
429 uint8_t entry_count; /* Entry count. */ member
467 uint8_t entry_count; /* Entry count. */ member
515 uint8_t entry_count; /* Entry count. */ member
554 uint8_t entry_count; /* Entry count. */ member
609 uint8_t entry_count; /* Entry count. */ member
638 uint8_t entry_count; /* Entry count. */ member
675 uint8_t entry_count; /* Entry count. */ member
723 uint8_t entry_count; /* Entry count. */ member
760 uint8_t entry_count; /* Entry count. */ member
[all …]
Dqla_mr.h20 uint8_t entry_count; /* Entry count. */ member
56 uint8_t entry_count; /* Entry count. */ member
84 uint8_t entry_count; /* Entry count. */ member
94 uint8_t entry_count; /* Entry count. */ member
119 uint8_t entry_count; /* Entry count. */ member
139 uint8_t entry_count; /* Entry count. */ member
164 uint8_t entry_count; /* Entry count. */ member
Dqla_target.h132 uint8_t entry_count; /* Entry count. */ member
207 uint8_t entry_count; /* Entry count. */ member
278 uint8_t entry_count; /* Entry count. */ member
429 uint8_t entry_count; /* Entry count. */ member
446 uint8_t entry_count; /* Entry count. */ member
494 uint8_t entry_count; /* Entry count. */ member
542 uint8_t entry_count; /* Entry count. */ member
575 uint8_t entry_count; /* Entry count. */ member
612 uint8_t entry_count; /* Entry count. */ member
658 uint8_t entry_count; /* Entry count. */ member
[all …]
Dqla_iocb.c416 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla2x00_start_scsi()
1553 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla24xx_start_scsi()
1753 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla24xx_dif_start_scsi()
1887 WRT_REG_BYTE((void __iomem *)&pkt->entry_count, req_cnt); in qla2x00_alloc_iocbs()
1890 pkt->entry_count = req_cnt; in qla2x00_alloc_iocbs()
2019 tsk->entry_count = 1; in qla24xx_tm_iocb()
2042 els_iocb->entry_count = 1; in qla24xx_els_iocb()
2095 int entry_count = 1; in qla2x00_ct_iocb() local
2146 entry_count++; in qla2x00_ct_iocb()
2156 ct_iocb->entry_count = entry_count; in qla2x00_ct_iocb()
[all …]
Dqla_def.h1498 uint8_t entry_count; /* Entry count. */ member
1512 uint8_t entry_count; /* Entry count. */ member
1540 uint8_t entry_count; /* Entry count. */ member
1571 uint8_t entry_count; /* Entry count. */ member
1595 uint8_t entry_count; /* Entry count. */ member
1621 uint8_t entry_count; /* Entry count. */ member
1713 uint8_t entry_count; /* Entry count. */ member
1803 uint8_t entry_count; /* Entry count. */ member
1816 uint8_t entry_count; /* Entry count. */ member
1829 uint8_t entry_count; /* Entry count. */ member
[all …]
Dqla_tmpl.h19 uint32_t entry_count; member
Dqla_gs.c36 ms_pkt->entry_count = 1; in qla2x00_prep_ms_iocb()
76 ct_pkt->entry_count = 1; in qla24xx_prep_ms_iocb()
1154 ms_pkt->entry_count = 1; in qla2x00_prep_ms_fdmi_iocb()
1193 ct_pkt->entry_count = 1; in qla24xx_prep_ms_fdmi_iocb()
1284 ct_req->req.rhba.entry_count = __constant_cpu_to_be32(1); in qla2x00_fdmi_rhba()
1708 ct_req->req.rhba2.entry_count = cpu_to_be32(1); in qla2x00_fdmiv2_rhba()
2484 ct_pkt->entry_count = 1; in qla24xx_prep_ms_fm_iocb()
Dqla_target.c1136 pkt->entry_count = 1; in qlt_send_notify_ack()
1196 resp->entry_count = 1; in qlt_24xx_send_abts_resp()
1274 ctio->entry_count = 1; in qlt_24xx_retry_term_exchange()
1522 ctio->entry_count = 1; in qlt_24xx_send_task_mgmt_ctio()
1773 pkt->entry_count = (uint8_t)prm->req_cnt; in qlt_24xx_build_ctio_pkt()
1827 cont_pkt64->entry_count = 1; in qlt_load_cont_data_segments()
2355 pkt->entry_count = 1; in qlt_build_ctio_crc2_pkt()
2593 ctio->entry_count = 1; in qlt_xmit_response()
2874 pkt->entry_count = 1; in __qlt_send_term_imm_notif()
2967 pkt->entry_count = 1; in __qlt_send_term_exchange()
[all …]
Dqla_mr.c3167 lcmd_pkt.entry_count = (uint8_t)req_cnt; in qlafx00_start_scsi()
3217 tm_iocb.entry_count = 1; in qlafx00_tm_iocb()
3243 abt_iocb.entry_count = 1; in qlafx00_abort_iocb()
3267 fx_iocb.entry_count = entry_cnt; in qlafx00_fxdisc_iocb()
3451 fx_iocb.entry_count = entry_cnt; in qlafx00_fxdisc_iocb()
Dqla_mbx.c1888 lg->entry_count = 1; in qla24xx_login_fabric()
2164 lg->entry_count = 1; in qla24xx_fabric_logout()
2655 abt->entry_count = 1; in qla24xx_abort_command()
2733 tsk->p.tsk.entry_count = 1; in __qla24xx_issue_tmf()
3464 vpmod->entry_count = 1; in qla24xx_modify_vp_config()
3474 vpmod->entry_count = 1; in qla24xx_modify_vp_config()
3542 vce->entry_count = 1; in qla24xx_control_vp()
3717 mn->p.req.entry_count = 1; in qla84xx_verify_chip()
Dqla_tmpl.c785 ulong count = tmp->entry_count; in qla27xx_walk_template()
Dqla_bsg.c1035 mn->entry_count = 1; in qla84xx_updatefw()
1109 mn->entry_count = 1; in qla84xx_mgmt_cmd()
/linux-4.1.27/kernel/
Dasync.c83 static atomic_t entry_count; variable
140 atomic_dec(&entry_count); in async_run_entry_fn()
161 if (!entry || atomic_read(&entry_count) > MAX_WORK) { in __async_schedule()
187 atomic_inc(&entry_count); in __async_schedule()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_debugfs.h299 if (idx >= q->entry_count) in lpfc_debug_dump_qe()
340 int idx, entry_count; in lpfc_debug_dump_q() local
352 q->entry_size, q->entry_count, in lpfc_debug_dump_q()
354 entry_count = q->entry_count; in lpfc_debug_dump_q()
355 for (idx = 0; idx < entry_count; idx++) in lpfc_debug_dump_q()
Dlpfc_debugfs.c314 hbqs->entry_count, hbqs->buffer_count, hbqs->hbqPutIdx, in lpfc_debugfs_hbqinfo_data()
318 for (j=0; j<hbqs->entry_count; j++) { in lpfc_debugfs_hbqinfo_data()
337 (j < (hbqs->entry_count+low))) { in lpfc_debugfs_hbqinfo_data()
2042 qp->entry_count, in lpfc_idiag_queinfo_read()
2074 qp->queue_id, qp->entry_count, in lpfc_idiag_queinfo_read()
2105 qp->entry_count, in lpfc_idiag_queinfo_read()
2140 qp->queue_id, qp->entry_count, in lpfc_idiag_queinfo_read()
2165 qp->queue_id, qp->entry_count, in lpfc_idiag_queinfo_read()
2195 qp->queue_id, qp->entry_count, in lpfc_idiag_queinfo_read()
2227 qp->queue_id, qp->entry_count, in lpfc_idiag_queinfo_read()
[all …]
Dlpfc_sli.c109 idx = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_wq_put()
167 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_wq_release()
197 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_mq_put()
204 q->host_index = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_mq_put()
233 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_mq_release()
261 idx = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_eq_get()
329 q->host_index = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_eq_release()
375 idx = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_cq_get()
425 q->host_index = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_cq_release()
476 if (((hq->host_index + 1) % hq->entry_count) == hq->hba_index) in lpfc_sli4_rq_put()
[all …]
Dlpfc_sli.h240 uint32_t entry_count; /* max # of entries in HBQ */ member
Dlpfc_sli4.h134 uint32_t entry_count; /* Number of entries to support on the queue */ member
Dlpfc.h447 uint16_t entry_count; /* Current number of HBQ slots */ member
Dlpfc_mbox.c1133 hbqmb->entry_count = hbq_desc->entry_count; /* # entries in HBQ */ in lpfc_config_hbq()
Dlpfc_hw.h2694 uint32_t entry_count :16; member
2700 uint32_t entry_count :16; member
Dlpfc_init.c6396 ptr += (lpfc_hbq_defs[i]->entry_count * in lpfc_sli_pci_mem_setup()
/linux-4.1.27/arch/ia64/kernel/
Desi.c78 for (i = 0; i < systab->entry_count; i++) { in esi_init()
114 for (i = 0; i < esi_systab->entry_count; i++) { in ia64_esi_call()
166 for (i = 0; i < esi_systab->entry_count; i++) { in ia64_esi_call_phys()
Dsal.c333 for (i = 0; i < systab->entry_count; i++) { in ia64_sal_init()
/linux-4.1.27/arch/x86/um/asm/
Dmm_context.h29 int entry_count; member
/linux-4.1.27/drivers/acpi/apei/
Deinj.c270 if (trigger_tab->entry_count != in einj_check_trigger_header()
286 for (i = 0; i < trigger_tab->entry_count; i++) { in einj_get_trigger_parameter_region()
334 if (!trigger_tab->entry_count) in __einj_error_trigger()
360 trigger_entry, trigger_tab->entry_count); in __einj_error_trigger()
/linux-4.1.27/fs/
Dbinfmt_misc.c62 static int entry_count; variable
597 simple_release_fs(&bm_mnt, &entry_count); in kill_node()
694 err = simple_pin_fs(&bm_fs_type, &bm_mnt, &entry_count); in bm_register_write()
/linux-4.1.27/drivers/soc/ti/
Dknav_qmss.h179 u32 entry_count; member
Dknav_qmss_queue.c408 return readl_relaxed(&qh->reg_peek[0].entry_count) + in knav_queue_get_count()
/linux-4.1.27/fs/f2fs/
Dcheckpoint.c484 for (j = 0; j < le32_to_cpu(orphan_blk->entry_count); j++) { in recover_orphan_inodes()
537 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
549 orphan_blk->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
/linux-4.1.27/include/linux/
Df2fs_fs.h147 __le32 entry_count; /* Total number of orphan nodes in current CP */ member
/linux-4.1.27/arch/ia64/hp/sim/boot/
Dfw-emu.c312 sal_systab->entry_count = 1; in sys_fw_init()
/linux-4.1.27/arch/ia64/sn/kernel/
Dsetup.c177 for (j = 0; j < sal_systab->entry_count; j++) { in early_sn_setup()
/linux-4.1.27/include/acpi/
Dactbl1.h279 u32 entry_count; member
/linux-4.1.27/arch/ia64/include/asm/
Dsal.h133 u16 entry_count; /* # of entries in variable portion */ member
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/
Dqlge.h1012 __le16 entry_count; member
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbnx2.c4326 int j, entry_count, rc = 0; in bnx2_init_nvram() local
4337 entry_count = ARRAY_SIZE(flash_table); in bnx2_init_nvram()
4342 for (j = 0, flash = &flash_table[0]; j < entry_count; in bnx2_init_nvram()
4360 for (j = 0, flash = &flash_table[0]; j < entry_count; in bnx2_init_nvram()
4388 if (j == entry_count) { in bnx2_init_nvram()