/linux/fs/quota/ |
A D | quota_v2.c | 96 struct qtree_mem_dqinfo *qinfo; in v2_read_file_info() local 127 qinfo = info->dqi_priv; in v2_read_file_info() 145 qinfo->dqi_sb = sb; in v2_read_file_info() 146 qinfo->dqi_type = type; in v2_read_file_info() 152 qinfo->dqi_qtree_depth = qtree_depth(qinfo); in v2_read_file_info() 162 if ((loff_t)qinfo->dqi_blocks << qinfo->dqi_blocksize_bits > in v2_read_file_info() 165 (loff_t)qinfo->dqi_blocks << qinfo->dqi_blocksize_bits, in v2_read_file_info() 169 if (qinfo->dqi_free_blk >= qinfo->dqi_blocks) { in v2_read_file_info() 171 qinfo->dqi_free_blk, qinfo->dqi_blocks); in v2_read_file_info() 174 if (qinfo->dqi_free_entry >= qinfo->dqi_blocks) { in v2_read_file_info() [all …]
|
A D | quota.c | 150 struct qc_info qinfo; in quota_setinfo() local 158 memset(&qinfo, 0, sizeof(qinfo)); in quota_setinfo() 163 qinfo.i_flags |= QCI_ROOT_SQUASH; in quota_setinfo() 164 qinfo.i_fieldmask |= QC_FLAGS; in quota_setinfo() 167 qinfo.i_spc_timelimit = info.dqi_bgrace; in quota_setinfo() 168 qinfo.i_fieldmask |= QC_SPC_TIMER; in quota_setinfo() 171 qinfo.i_ino_timelimit = info.dqi_igrace; in quota_setinfo() 172 qinfo.i_fieldmask |= QC_INO_TIMER; in quota_setinfo() 174 return sb->s_qcop->set_info(sb, type, &qinfo); in quota_setinfo() 641 struct qc_info qinfo; in quota_setxquota() local [all …]
|
/linux/drivers/mtd/lpddr/ |
A D | qinfo_probe.c | 123 lpddr->qinfo = kzalloc(sizeof(struct qinfo_chip), GFP_KERNEL); in lpddr_chip_setup() 124 if (!lpddr->qinfo) in lpddr_chip_setup() 132 lpddr->qinfo->DevSizeShift = lpddr_info_query(map, "DevSizeShift"); in lpddr_chip_setup() 135 lpddr->qinfo->HWPartsNum = lpddr_info_query(map, "HWPartsNum"); in lpddr_chip_setup() 136 lpddr->qinfo->UniformBlockSizeShift = in lpddr_chip_setup() 139 lpddr->qinfo->SingleWordProgTime = in lpddr_chip_setup() 166 lpddr.chipshift = lpddr.qinfo->DevSizeShift; in lpddr_probe_chip() 169 numvirtchips = lpddr.numchips * lpddr.qinfo->HWPartsNum; in lpddr_probe_chip() 178 retlpddr->chipshift = retlpddr->qinfo->DevSizeShift - in lpddr_probe_chip() 179 __ffs(retlpddr->qinfo->HWPartsNum); in lpddr_probe_chip() [all …]
|
A D | lpddr_cmds.c | 64 mtd->size = 1 << lpddr->qinfo->DevSizeShift; in lpddr_cmdset() 65 mtd->erasesize = 1 << lpddr->qinfo->UniformBlockSizeShift; in lpddr_cmdset() 66 mtd->writesize = 1 << lpddr->qinfo->BufSizeShift; in lpddr_cmdset() 76 numchips = lpddr->numchips / lpddr->qinfo->HWPartsNum; in lpddr_cmdset() 80 for (j = 0; j < lpddr->qinfo->HWPartsNum; j++) { in lpddr_cmdset() 310 if (!lpddr->qinfo->SuspEraseSupp || in chip_ready() 414 wbufsize = 1 << lpddr->qinfo->BufSizeShift; in do_write_buffer() 472 ret = wait_for_ready(map, chip, (1<<lpddr->qinfo->ProgBufferTime)); in do_write_buffer() 500 ret = wait_for_ready(map, chip, (1<<lpddr->qinfo->BlockEraseTime)*1000); in do_erase_oneblock() 653 int wbufsize = 1 << lpddr->qinfo->BufSizeShift; in lpddr_writev() [all …]
|
/linux/drivers/misc/bcm-vk/ |
A D | bcm_vk_msg.c | 102 return (qinfo->q_size - msgq_occupied(msgq, qinfo) - 1); in msgq_avail_space() 495 qinfo->q_size = msgq_size; in bcm_vk_sync_msgq() 497 qinfo->q_low = qinfo->q_size >> 1; in bcm_vk_sync_msgq() 498 qinfo->q_mask = qinfo->q_size - 1; in bcm_vk_sync_msgq() 558 if (avail < qinfo->q_low) { in bcm_vk_append_ib_sgl() 560 avail, qinfo->q_size); in bcm_vk_append_ib_sgl() 644 if (wr_idx >= qinfo->q_size) { in bcm_to_v_msg_enqueue() 646 wr_idx, qinfo->q_size); in bcm_to_v_msg_enqueue() 671 msgq_occupied(msgq, qinfo), in bcm_to_v_msg_enqueue() 823 src = msgq_blk_addr(qinfo, rd_idx & qinfo->q_mask); in bcm_to_h_msg_dequeue() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | mac.c | 212 qi->tqi_ver = qinfo->tqi_ver; in ath9k_hw_set_txq_props() 214 qi->tqi_qflags = qinfo->tqi_qflags; in ath9k_hw_set_txq_props() 226 qi->tqi_cwmin = qinfo->tqi_cwmin; in ath9k_hw_set_txq_props() 235 if (qinfo->tqi_shretry != 0) in ath9k_hw_set_txq_props() 239 if (qinfo->tqi_lgretry != 0) in ath9k_hw_set_txq_props() 248 switch (qinfo->tqi_subtype) { in ath9k_hw_set_txq_props() 275 qinfo->tqi_ver = qi->tqi_ver; in ath9k_hw_get_txq_props() 279 qinfo->tqi_aifs = qi->tqi_aifs; in ath9k_hw_get_txq_props() 280 qinfo->tqi_cwmin = qi->tqi_cwmin; in ath9k_hw_get_txq_props() 281 qinfo->tqi_cwmax = qi->tqi_cwmax; in ath9k_hw_get_txq_props() [all …]
|
A D | htc_drv_txrx.c | 189 struct ath9k_tx_queue_info *qinfo) in ath_htc_txq_update() argument 197 qi.tqi_aifs = qinfo->tqi_aifs; in ath_htc_txq_update() 198 qi.tqi_cwmin = qinfo->tqi_cwmin / 2; /* XXX */ in ath_htc_txq_update() 199 qi.tqi_cwmax = qinfo->tqi_cwmax; in ath_htc_txq_update() 200 qi.tqi_burstTime = qinfo->tqi_burstTime; in ath_htc_txq_update() 201 qi.tqi_readyTime = qinfo->tqi_readyTime; in ath_htc_txq_update()
|
A D | mac.h | 724 const struct ath9k_tx_queue_info *qinfo); 726 struct ath9k_tx_queue_info *qinfo); 728 const struct ath9k_tx_queue_info *qinfo);
|
A D | xmit.c | 1771 struct ath9k_tx_queue_info *qinfo) in ath_txq_update() argument 1780 qi.tqi_aifs = qinfo->tqi_aifs; in ath_txq_update() 1781 qi.tqi_cwmin = qinfo->tqi_cwmin; in ath_txq_update() 1782 qi.tqi_cwmax = qinfo->tqi_cwmax; in ath_txq_update() 1783 qi.tqi_burstTime = qinfo->tqi_burstTime; in ath_txq_update() 1784 qi.tqi_readyTime = qinfo->tqi_readyTime; in ath_txq_update()
|
/linux/sound/core/seq/oss/ |
A D | seq_oss_init.c | 350 struct snd_seq_queue_info qinfo; in alloc_seq_queue() local 353 memset(&qinfo, 0, sizeof(qinfo)); in alloc_seq_queue() 354 qinfo.owner = system_client; in alloc_seq_queue() 355 qinfo.locked = 1; in alloc_seq_queue() 356 strcpy(qinfo.name, "OSS Sequencer Emulation"); in alloc_seq_queue() 357 rc = call_ctl(SNDRV_SEQ_IOCTL_CREATE_QUEUE, &qinfo); in alloc_seq_queue() 360 dp->queue = qinfo.queue; in alloc_seq_queue() 370 struct snd_seq_queue_info qinfo; in delete_seq_queue() local 375 memset(&qinfo, 0, sizeof(qinfo)); in delete_seq_queue() 376 qinfo.queue = queue; in delete_seq_queue() [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
A D | qcu.c | 155 const struct ath5k_txq_info *qinfo) in ath5k_hw_set_tx_queueprops() argument 167 qi->tqi_type = qinfo->tqi_type; in ath5k_hw_set_tx_queueprops() 168 qi->tqi_subtype = qinfo->tqi_subtype; in ath5k_hw_set_tx_queueprops() 169 qi->tqi_flags = qinfo->tqi_flags; in ath5k_hw_set_tx_queueprops() 178 qi->tqi_cbr_period = qinfo->tqi_cbr_period; in ath5k_hw_set_tx_queueprops() 180 qi->tqi_burst_time = qinfo->tqi_burst_time; in ath5k_hw_set_tx_queueprops() 181 qi->tqi_ready_time = qinfo->tqi_ready_time; in ath5k_hw_set_tx_queueprops() 185 if ((qinfo->tqi_type == AR5K_TX_QUEUE_DATA && in ath5k_hw_set_tx_queueprops() 186 ((qinfo->tqi_subtype == AR5K_WME_AC_VI) || in ath5k_hw_set_tx_queueprops() 187 (qinfo->tqi_subtype == AR5K_WME_AC_VO))) || in ath5k_hw_set_tx_queueprops() [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
A D | otx_cptvf.h | 56 #define for_each_pending_queue(qinfo, q, i) \ argument 57 for (i = 0, q = &qinfo->queue[i]; i < qinfo->num_queues; i++, \ 58 q = &qinfo->queue[i])
|
A D | otx_cptvf_reqmgr.c | 270 struct otx_cpt_cmd_qinfo *qinfo = &cptvf->cqinfo; in cpt_send_cmd() local 275 queue = &qinfo->queue[0]; in cpt_send_cmd()
|
/linux/drivers/crypto/cavium/cpt/ |
A D | cptvf.h | 90 #define for_each_pending_queue(qinfo, q, i) \ argument 91 for (i = 0, q = &qinfo->queue[i]; i < qinfo->nr_queues; i++, \ 92 q = &qinfo->queue[i])
|
A D | cptvf_reqmanager.c | 227 struct command_qinfo *qinfo = NULL; in send_cpt_command() local 239 qinfo = &cptvf->cqinfo; in send_cpt_command() 240 queue = &qinfo->queue[qno]; in send_cpt_command() 243 ent = &queue->qhead->head[queue->idx * qinfo->cmd_size]; in send_cpt_command() 244 memcpy(ent, (void *)cmd, qinfo->cmd_size); in send_cpt_command()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_controlq.c | 6 #define ICE_CQ_INIT_REGS(qinfo, prefix) \ argument 8 (qinfo)->sq.head = prefix##_ATQH; \ 9 (qinfo)->sq.tail = prefix##_ATQT; \ 10 (qinfo)->sq.len = prefix##_ATQLEN; \ 11 (qinfo)->sq.bah = prefix##_ATQBAH; \ 12 (qinfo)->sq.bal = prefix##_ATQBAL; \ 17 (qinfo)->rq.head = prefix##_ARQH; \ 18 (qinfo)->rq.tail = prefix##_ARQT; \ 19 (qinfo)->rq.len = prefix##_ARQLEN; \ 20 (qinfo)->rq.bah = prefix##_ARQBAH; \ [all …]
|
/linux/drivers/s390/net/ |
A D | qeth_l3_main.c | 1298 struct qeth_arp_query_info *qinfo; in qeth_l3_arp_query_cb() local 1344 if ((qinfo->udata_len - qinfo->udata_offset) < esize) { in qeth_l3_arp_query_cb() 1346 memset(qinfo->udata, 0, 4); in qeth_l3_arp_query_cb() 1350 memcpy(qinfo->udata + qinfo->udata_offset, in qeth_l3_arp_query_cb() 1354 qinfo->udata_offset += esize; in qeth_l3_arp_query_cb() 1355 ++qinfo->no_entries; in qeth_l3_arp_query_cb() 1362 memcpy(qinfo->udata, &qinfo->no_entries, 4); in qeth_l3_arp_query_cb() 1414 qinfo.udata = kzalloc(qinfo.udata_len, GFP_KERNEL); in qeth_l3_arp_query() 1415 if (!qinfo.udata) { in qeth_l3_arp_query() 1430 if (copy_to_user(udata, qinfo.udata, qinfo.udata_len)) { in qeth_l3_arp_query() [all …]
|
A D | qeth_core_main.c | 4582 struct qeth_arp_query_info *qinfo = reply->param; in qeth_snmp_command_cb() local 4610 if ((qinfo->udata_len - qinfo->udata_offset) < data_len) { in qeth_snmp_command_cb() 4619 memcpy(qinfo->udata + qinfo->udata_offset, snmp_data, data_len); in qeth_snmp_command_cb() 4620 qinfo->udata_offset += data_len; in qeth_snmp_command_cb() 4633 struct qeth_arp_query_info qinfo = {0, }; in qeth_snmp_command() local 4646 if (get_user(qinfo.udata_len, &ureq->hdr.data_len) || in qeth_snmp_command() 4664 qinfo.udata = kzalloc(qinfo.udata_len, GFP_KERNEL); in qeth_snmp_command() 4665 if (!qinfo.udata) { in qeth_snmp_command() 4669 qinfo.udata_offset = sizeof(struct qeth_snmp_ureq_hdr); in qeth_snmp_command() 4676 if (copy_to_user(udata, qinfo.udata, qinfo.udata_len)) in qeth_snmp_command() [all …]
|
/linux/drivers/net/wireless/ath/ar5523/ |
A D | ar5523.c | 473 struct ar5523_cmd_txq_setup qinfo; in ar5523_queue_init() local 476 qinfo.qid = cpu_to_be32(0); in ar5523_queue_init() 477 qinfo.len = cpu_to_be32(sizeof(qinfo.attr)); in ar5523_queue_init() 478 qinfo.attr.priority = cpu_to_be32(0); /* XXX */ in ar5523_queue_init() 479 qinfo.attr.aifs = cpu_to_be32(3); in ar5523_queue_init() 480 qinfo.attr.logcwmin = cpu_to_be32(4); in ar5523_queue_init() 481 qinfo.attr.logcwmax = cpu_to_be32(10); in ar5523_queue_init() 482 qinfo.attr.bursttime = cpu_to_be32(0); in ar5523_queue_init() 483 qinfo.attr.mode = cpu_to_be32(0); in ar5523_queue_init() 484 qinfo.attr.qflags = cpu_to_be32(1); /* XXX? */ in ar5523_queue_init() [all …]
|
/linux/include/linux/mtd/ |
A D | qinfo.h | 24 struct qinfo_chip *qinfo; member
|
/linux/drivers/scsi/elx/libefc_sli/ |
A D | sli4.c | 4125 sli4->qinfo.max_qentries[q] = in sli_calc_max_qentries() 4127 sli4->qinfo.count_mask[q]); in sli_calc_max_qentries() 4135 qentries = sli4->qinfo.max_qentries[q]; in sli_calc_max_qentries() 4140 sli4->qinfo.max_qentries[q] = qentries; in sli_calc_max_qentries() 4301 sli4->qinfo.qpage_count[SLI4_QTYPE_EQ] = in sli_get_sli4_parameters() 4303 sli4->qinfo.qpage_count[SLI4_QTYPE_CQ] = in sli_get_sli4_parameters() 4314 sli4->qinfo.count_mask[SLI4_QTYPE_EQ] = in sli_get_sli4_parameters() 4319 sli4->qinfo.count_mask[SLI4_QTYPE_CQ] = in sli_get_sli4_parameters() 4324 sli4->qinfo.count_mask[SLI4_QTYPE_MQ] = in sli_get_sli4_parameters() 4329 sli4->qinfo.count_mask[SLI4_QTYPE_WQ] = in sli_get_sli4_parameters() [all …]
|
/linux/drivers/scsi/ |
A D | qlogicfas408.h | 84 char qinfo[80]; /* description */ member
|
A D | qlogicfas.c | 109 sprintf(priv->qinfo, in __qlogicfas_detect()
|
A D | qlogicfas408.c | 549 return priv->qinfo; in qlogicfas408_info()
|
/linux/drivers/scsi/pcmcia/ |
A D | qlogic_stub.c | 125 sprintf(priv->qinfo, in qlogic_detect()
|