| /linux/fs/gfs2/ |
| H A D | quota.c | 78 /* Lock order: qd_lock -> bucket lock -> qd->lockref.lock -> lru lock */ 108 struct gfs2_quota_data *qd = container_of(rcu, struct gfs2_quota_data, qd_rcu); in gfs2_qd_dealloc() local 109 struct gfs2_sbd *sdp = qd->qd_sbd; in gfs2_qd_dealloc() 111 kmem_cache_free(gfs2_quotad_cachep, qd); in gfs2_qd_dealloc() 116 static void gfs2_qd_dispose(struct gfs2_quota_data *qd) in gfs2_qd_dispose() argument 118 struct gfs2_sbd *sdp = qd->qd_sbd; in gfs2_qd_dispose() 121 list_del(&qd->qd_list); in gfs2_qd_dispose() 124 spin_lock_bucket(qd->qd_hash); in gfs2_qd_dispose() 125 hlist_bl_del_rcu(&qd->qd_hlist); in gfs2_qd_dispose() 126 spin_unlock_bucket(qd in gfs2_qd_dispose() 140 struct gfs2_quota_data *qd; gfs2_qd_list_dispose() local 155 struct gfs2_quota_data *qd = gfs2_qd_isolate() local 217 qd2index(struct gfs2_quota_data * qd) qd2index() argument 224 qd2offset(struct gfs2_quota_data * qd) qd2offset() argument 231 struct gfs2_quota_data *qd; qd_alloc() local 265 struct gfs2_quota_data *qd; gfs2_qd_search_bucket_noref() local 281 struct gfs2_quota_data *qd; gfs2_qd_search_bucket() local 296 struct gfs2_quota_data *qd, *new_qd; qd_get() local 331 __qd_hold(struct gfs2_quota_data * qd) __qd_hold() argument 338 qd_put(struct gfs2_quota_data * qd) qd_put() argument 361 slot_get(struct gfs2_quota_data * qd) slot_get() argument 384 slot_hold(struct gfs2_quota_data * qd) slot_hold() argument 394 slot_put(struct gfs2_quota_data * qd) slot_put() argument 407 bh_get(struct gfs2_quota_data * qd) bh_get() argument 462 bh_put(struct gfs2_quota_data * qd) bh_put() argument 478 qd_grab_sync(struct gfs2_sbd * sdp,struct gfs2_quota_data * qd,u64 sync_gen) qd_grab_sync() argument 504 qd_ungrab_sync(struct gfs2_quota_data * qd) qd_ungrab_sync() argument 511 qdsb_put(struct gfs2_quota_data * qd) qdsb_put() argument 518 qd_unlock(struct gfs2_quota_data * qd) qd_unlock() argument 601 struct gfs2_quota_data **qd; gfs2_quota_hold() local 687 do_qc(struct gfs2_quota_data * qd,s64 change) do_qc() argument 852 gfs2_adjust_quota(struct gfs2_sbd * sdp,loff_t loc,s64 change,struct gfs2_quota_data * qd,struct qc_dqblk * fdq) gfs2_adjust_quota() argument 916 struct gfs2_quota_data *qd; do_sync() local 1010 update_qd(struct gfs2_sbd * sdp,struct gfs2_quota_data * qd) update_qd() argument 1037 do_glock(struct gfs2_quota_data * qd,int force_refresh,struct gfs2_holder * q_gh) do_glock() argument 1091 struct gfs2_quota_data *qd; gfs2_quota_lock() local 1123 need_sync(struct gfs2_quota_data * qd) need_sync() argument 1170 struct gfs2_quota_data *qd; gfs2_quota_unlock() local 1211 print_message(struct gfs2_quota_data * qd,char * type) print_message() argument 1244 struct gfs2_quota_data *qd; gfs2_quota_check() local 1301 struct gfs2_quota_data *qd; gfs2_quota_change() local 1387 struct gfs2_quota_data *qd; gfs2_quota_refresh() local 1451 struct gfs2_quota_data *old_qd, *qd; gfs2_quota_init() local 1528 struct gfs2_quota_data *qd; gfs2_quota_cleanup() local 1679 struct gfs2_quota_data *qd; gfs2_get_dqblk() local 1718 struct gfs2_quota_data *qd; gfs2_set_dqblk() local [all...] |
| /linux/fs/erofs/ |
| H A D | namei.c | 17 const struct erofs_qstr *qd, in erofs_dirnamecmp() argument 27 DBG_BUGON(qd->name > qd->end); in erofs_dirnamecmp() 31 while (qd->name + i < qd->end && qd->name[i] != '\0') { in erofs_dirnamecmp() 32 if (qn->name[i] != qd->name[i]) { in erofs_dirnamecmp() 34 return qn->name[i] > qd->name[i] ? 1 : -1; in erofs_dirnamecmp()
|
| /linux/net/sched/ |
| H A D | sch_cake.c | 1382 static u32 cake_calc_overhead(struct cake_sched_data *qd, u32 len, u32 off) in cake_calc_overhead() 1384 struct cake_sched_config *q = qd->config; in cake_calc_overhead() 1389 if (qd->max_netlen < len) in cake_calc_overhead() 1390 WRITE_ONCE(qd->max_netlen, len); in cake_calc_overhead() 1391 if (qd->min_netlen > len) in cake_calc_overhead() 1392 WRITE_ONCE(qd->min_netlen, len); in cake_calc_overhead() 1408 if (qd->max_adjlen < len) in cake_calc_overhead() 1409 WRITE_ONCE(qd->max_adjlen, len); in cake_calc_overhead() 1410 if (qd->min_adjlen > len) in cake_calc_overhead() 1411 WRITE_ONCE(qd in cake_calc_overhead() 1379 cake_calc_overhead(struct cake_sched_data * qd,u32 len,u32 off) cake_calc_overhead() argument 1677 struct cake_sched_data *qd = qdisc_priv(sch); cake_select_tin() local 2585 struct cake_sched_data *qd = qdisc_priv(sch); cake_configure_rates() local 2625 struct cake_sched_data *qd = qdisc_priv(sch); cake_reconfigure() local 2777 struct cake_sched_data *qd = qdisc_priv(sch); cake_change() local 2835 struct cake_sched_data *qd = qdisc_priv(sch); cake_init() local 2903 struct cake_sched_data *qd = qdisc_priv(sch); cake_config_replace() local 2988 struct cake_sched_data *qd = qdisc_priv(sch); cake_dump() local 3317 struct cake_sched_data *qd = qdisc_priv(chld); cake_mq_change() local [all...] |
| /linux/drivers/s390/block/ |
| H A D | scm_blk.c | 282 const struct blk_mq_queue_data *qd) in scm_blk_request() argument 287 struct request *req = qd->rq; in scm_blk_request() 322 if (qd->last || scmrq->aob->request.msb_count == nr_requests_per_io) { in scm_blk_request() 333 struct scm_queue *qd = kzalloc_obj(*qd); in scm_blk_init_hctx() local 335 if (!qd) in scm_blk_init_hctx() 338 spin_lock_init(&qd->lock); in scm_blk_init_hctx() 339 hctx->driver_data = qd; in scm_blk_init_hctx() 346 struct scm_queue *qd = hctx->driver_data; in scm_blk_exit_hctx() local 348 WARN_ON(qd->scmrq); in scm_blk_exit_hctx()
|
| H A D | dasd.c | 3134 const struct blk_mq_queue_data *qd) in do_dasd_request() 3138 struct request *req = qd->rq; in do_dasd_request() 3133 do_dasd_request(struct blk_mq_hw_ctx * hctx,const struct blk_mq_queue_data * qd) do_dasd_request() argument
|
| /linux/block/ |
| H A D | blk-iolatency.c | 50 * REQ_META or REQ_SWAP. If we are already at qd == 1 and we're getting a lot 315 static inline unsigned long scale_amount(unsigned long qd, bool up) in scale_amount() argument 317 return max(up ? qd >> SCALE_UP_FACTOR : qd >> SCALE_DOWN_FACTOR, 1UL); in scale_amount() 321 * We scale the qd down faster than we scale up, so we need to use this helper 333 unsigned long qd = blkiolat->rqos.disk->queue->nr_requests; in scale_cookie_change() local 334 unsigned long scale = scale_amount(qd, up); in scale_cookie_change() 336 unsigned long max_scale = qd << 1; in scale_cookie_change() 346 else if (diff > qd) in scale_cookie_change() 357 if (diff > qd) { in scale_cookie_change() 375 unsigned long qd = iolat->blkiolat->rqos.disk->queue->nr_requests; scale_change() local [all...] |
| /linux/drivers/scsi/aacraid/ |
| H A D | aachba.c | 3259 struct aac_query_disk qd; in query_disk() local 3265 if (copy_from_user(&qd, arg, sizeof (struct aac_query_disk))) in query_disk() 3267 if (qd.cnum == -1) { in query_disk() 3268 if (qd.id < 0 || qd.id >= dev->maximum_num_containers) in query_disk() 3270 qd.cnum = qd.id; in query_disk() 3271 } else if ((qd.bus == -1) && (qd.id == -1) && (qd.lun == -1)) { in query_disk() 3272 if (qd.cnum < 0 || qd.cnum >= dev->maximum_num_containers) in query_disk() 3274 qd.instance = dev->scsi_host_ptr->host_no; in query_disk() 3275 qd.bus = 0; in query_disk() 3276 qd.id = CONTAINER_TO_ID(qd.cnum); in query_disk() [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6q-dfi-fs700-m60.dts | 16 compatible = "dfi,fs700-m60-6qd", "dfi,fs700e-m60", "fsl,imx6q";
|
| /linux/drivers/mailbox/ |
| H A D | ti-msgmgr.c | 653 * @qd: Queue description data in ti_msgmgr_queue_setup() 663 const struct ti_msgmgr_valid_queue_desc *qd, in ti_msgmgr_queue_setup() 669 qinst->proxy_id = qd->proxy_id; in ti_msgmgr_queue_setup() 670 qinst->queue_id = qd->queue_id; in ti_msgmgr_queue_setup() 704 qinst->is_tx = qd->is_tx; in ti_msgmgr_queue_rx_set_polled_mode() 641 ti_msgmgr_queue_setup(int idx,struct device * dev,struct device_node * np,struct ti_msgmgr_inst * inst,const struct ti_msgmgr_desc * d,const struct ti_msgmgr_valid_queue_desc * qd,struct ti_queue_inst * qinst,struct mbox_chan * chan) ti_msgmgr_queue_setup() argument
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_device_queue_manager.c | 786 const struct kfd_criu_queue_priv_data *qd, in create_queue_nocpsch() 819 if (qd && !mqd_mgr->restore_mqd) { in create_queue_nocpsch() 834 retval = allocate_sdma_queue(dqm, q, qd ? &qd->sdma_id : NULL); in create_queue_nocpsch() 840 retval = allocate_doorbell(qpd, q, qd ? &qd->doorbell_id : NULL); in create_queue_nocpsch() 854 if (qd) in create_queue_nocpsch() 857 qd->ctl_stack_size); in create_queue_nocpsch() 2376 const struct kfd_criu_queue_priv_data *qd, in amdkfd_fence_wait_timeout() 2393 retval = allocate_sdma_queue(dqm, q, qd in map_queues_cpsch() 759 create_queue_nocpsch(struct device_queue_manager * dqm,struct queue * q,struct qcm_process_device * qpd,const struct kfd_criu_queue_priv_data * qd,const void * restore_mqd,const void * restore_ctl_stack) create_queue_nocpsch() argument 2245 create_queue_cpsch(struct device_queue_manager * dqm,struct queue * q,struct qcm_process_device * qpd,const struct kfd_criu_queue_priv_data * qd,const void * restore_mqd,const void * restore_ctl_stack) create_queue_cpsch() argument [all...] |
| /linux/drivers/scsi/leapraid/ |
| H A D | leapraid_os.c | 1207 int qd; in leapraid_slave_cfg_volume() 1230 qd = (raid_volume->dev_info & LEAPRAID_DEVTYP_SSP_TGT) ? in leapraid_slave_cfg_volume() 1234 qd = adapter->adapter_attr.raid_volume_max_queue_depth; in leapraid_slave_cfg_volume() 1243 leapraid_change_queue_depth(sdev, qd); in leapraid_slave_cfg_volume() 1251 bool *is_target_ssp, int *qd) in leapraid_slave_cfg_volume() 1278 *qd = (sas_dev->port_connection > 1) ? in leapraid_slave_configure_extra() 1285 *qd = adapter->adapter_attr.sata_max_queue_depth; in leapraid_slave_configure_extra() 1308 int qd = 1; in leapraid_sdev_configure() 1336 volume_wwid, &is_target_ssp, &qd)) { in leapraid_sdev_configure() 1342 leapraid_change_queue_depth(sdev, qd); in leapraid_sdev_configure() 1214 int qd; leapraid_slave_cfg_volume() local 1258 leapraid_slave_configure_extra(struct scsi_device * sdev,struct leapraid_sas_dev ** psas_dev,u16 vol_hdl,u64 volume_wwid,bool * is_target_ssp,int * qd) leapraid_slave_configure_extra() argument 1315 int qd = 1; leapraid_sdev_configure() local [all...] |
| /linux/drivers/clk/at91/ |
| H A D | clk-audio-pll.c | 47 #define AUDIO_PLL_QDPAD(qd, div) ((AT91_PMC_AUDIO_PLL_QDPAD_EXTDIV(qd) & \ argument 360 pr_debug("A PLL/PMC: %s, best_rate = %ld, best_parent_rate = %lu (qd = %d)\n", in clk_audio_pll_pmc_determine_rate()
|
| /linux/arch/s390/include/asm/ |
| H A D | ap.h | 129 unsigned int qd : 5; /* queue depth */ member
|
| /linux/drivers/block/ |
| H A D | xen-blkfront.c | 893 const struct blk_mq_queue_data *qd) in blkif_queue_rq() 901 blk_mq_start_request(qd->rq); in blkif_queue_rq() 914 if (unlikely(req_op(qd->rq) == REQ_OP_FLUSH && !info->feature_flush)) in blkif_queue_rq() 919 if (blkif_queue_request(qd->rq, rinfo)) in blkif_queue_rq() 932 blk_mq_end_request(qd->rq, BLK_STS_OK); in blkif_queue_rq() 894 blkif_queue_rq(struct blk_mq_hw_ctx * hctx,const struct blk_mq_queue_data * qd) blkif_queue_rq() argument
|
| H A D | loop.c | 1750 int qd, ret; in lo_open() 1752 ret = kstrtoint(s, 0, &qd); in lo_open() 1755 if (qd < 1) in lo_release() 1757 hw_queue_depth = qd; in lo_release() 1852 int qd, ret; loop_set_hw_queue_depth() local
|
| /linux/tools/perf/util/ |
| H A D | auxtrace.c | 1196 struct queue_data *qd = data; in auxtrace_queue_data_cb() 1200 if (qd->events && event->header.type == PERF_RECORD_AUXTRACE) { in auxtrace_queue_data_cb() 1208 if (!qd->samples || event->header.type != PERF_RECORD_SAMPLE) in auxtrace_queue_data() 1228 struct queue_data qd = { in auxtrace_buffer__get_data_rw() 1244 auxtrace_queue_data_cb, &qd); in auxtrace_buffer__get_data_rw() 1175 struct queue_data *qd = data; auxtrace_queue_data_cb() local 1207 struct queue_data qd = { auxtrace_queue_data() local
|
| /linux/drivers/ufs/core/ |
| H A D | ufshcd.c | 11154 const struct blk_mq_queue_data *qd) in ufshcd_init() 11055 ufshcd_queue_tmf(struct blk_mq_hw_ctx * hctx,const struct blk_mq_queue_data * qd) ufshcd_queue_tmf() argument
|