Home
last modified time | relevance | path

Searched refs:is_sync (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/nvme/target/
Dio-cmd-file.c138 bool is_sync = false; in nvmet_file_execute_rw() local
166 is_sync = true; in nvmet_file_execute_rw()
178 if (unlikely(is_sync) && in nvmet_file_execute_rw()
193 if (unlikely(is_sync || ret)) { in nvmet_file_execute_rw()
/Linux-v4.19/block/
Dbfq-iosched.c363 struct bfq_queue *bic_to_bfqq(struct bfq_io_cq *bic, bool is_sync) in bic_to_bfqq() argument
365 return bic->bfqq[is_sync]; in bic_to_bfqq()
368 void bic_set_bfqq(struct bfq_io_cq *bic, struct bfq_queue *bfqq, bool is_sync) in bic_set_bfqq() argument
370 bic->bfqq[is_sync] = bfqq; in bic_set_bfqq()
2349 bool is_sync = op_is_sync(bio->bi_opf); in bfq_allow_bio_merge() local
2355 if (is_sync && !rq_is_sync(rq)) in bfq_allow_bio_merge()
4102 static void bfq_exit_icq_bfqq(struct bfq_io_cq *bic, bool is_sync) in bfq_exit_icq_bfqq() argument
4104 struct bfq_queue *bfqq = bic_to_bfqq(bic, is_sync); in bfq_exit_icq_bfqq()
4115 bic_set_bfqq(bic, NULL, is_sync); in bfq_exit_icq_bfqq()
4180 struct bio *bio, bool is_sync,
[all …]
Dblk-core.c1354 const bool is_sync = op_is_sync(op); in __get_request() local
1367 if (rl->count[is_sync]+1 >= queue_congestion_on_threshold(q)) { in __get_request()
1368 if (rl->count[is_sync]+1 >= q->nr_requests) { in __get_request()
1375 if (!blk_rl_full(rl, is_sync)) { in __get_request()
1377 blk_set_rl_full(rl, is_sync); in __get_request()
1390 blk_set_congested(rl, is_sync); in __get_request()
1398 if (rl->count[is_sync] >= (3 * q->nr_requests / 2)) in __get_request()
1401 q->nr_rqs[is_sync]++; in __get_request()
1402 rl->count[is_sync]++; in __get_request()
1403 rl->starved[is_sync] = 0; in __get_request()
[all …]
Dcfq-iosched.c888 static struct cfq_queue *cfq_get_queue(struct cfq_data *cfqd, bool is_sync,
905 static inline struct cfq_queue *cic_to_cfqq(struct cfq_io_cq *cic, bool is_sync) in cic_to_cfqq() argument
907 return cic->cfqq[is_sync]; in cic_to_cfqq()
911 bool is_sync) in cic_set_cfqq() argument
913 cic->cfqq[is_sync] = cfqq; in cic_set_cfqq()
2583 bool is_sync = op_is_sync(bio->bi_opf); in cfq_allow_bio_merge() local
2590 if (is_sync && !rq_is_sync(rq)) in cfq_allow_bio_merge()
2601 cfqq = cic_to_cfqq(cic, is_sync); in cfq_allow_bio_merge()
3729 pid_t pid, bool is_sync) in cfq_init_cfqq() argument
3740 if (is_sync) { in cfq_init_cfqq()
[all …]
Dbfq-iosched.h824 struct bfq_queue *bic_to_bfqq(struct bfq_io_cq *bic, bool is_sync);
825 void bic_set_bfqq(struct bfq_io_cq *bic, struct bfq_queue *bfqq, bool is_sync);
Dblk-mq.c1811 const int is_sync = op_is_sync(bio->bi_opf); in blk_mq_make_request() local
1909 } else if ((q->nr_hw_queues > 1 && is_sync) || (!q->elevator && in blk_mq_make_request()
/Linux-v4.19/fs/
Dblock_dev.c274 bool is_sync : 1; member
289 if (!dio->is_sync) { in blkdev_bio_end_io()
331 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO() local
344 dio->is_sync = is_sync = is_sync_kiocb(iocb); in __blkdev_direct_IO()
345 if (dio->is_sync) in __blkdev_direct_IO()
400 if (!is_sync) in __blkdev_direct_IO()
/Linux-v4.19/drivers/staging/wilc1000/
Dhost_interface.h358 bool is_sync);
Dhost_interface.c156 bool is_sync; member
210 bool is_sync) in wilc_alloc_work() argument
222 msg->is_sync = is_sync; in wilc_alloc_work()
223 if (is_sync) in wilc_alloc_work()
2084 if (msg->is_sync) in handle_get_statistics()
3304 wilc_get_statistics(struct wilc_vif *vif, struct rf_info *stats, bool is_sync) in wilc_get_statistics() argument
3309 msg = wilc_alloc_work(vif, handle_get_statistics, is_sync); in wilc_get_statistics()
3322 if (is_sync) { in wilc_get_statistics()
/Linux-v4.19/fs/nfs/
Dinode.c922 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context() argument
930 if (!is_sync) in nfs_close_context()
987 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context() argument
1000 NFS_PROTO(inode)->close_context(ctx, is_sync); in __put_nfs_open_context()
Dinternal.h347 void nfs_close_context(struct nfs_open_context *ctx, int is_sync);
Dnfs4proc.c3537 static void nfs4_close_context(struct nfs_open_context *ctx, int is_sync) in nfs4_close_context() argument
3541 if (is_sync) in nfs4_close_context()
/Linux-v4.19/drivers/net/phy/
Ddp83640.c971 static int is_sync(struct sk_buff *skb, int type) in is_sync() function
1478 if (is_sync(skb, type)) { in dp83640_txtstamp()