Home
last modified time | relevance | path

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

/linux-4.4.14/block/
Dblk-core.c1068 const bool is_sync = rw_is_sync(rw_flags) != 0; in __get_request() local
1078 if (rl->count[is_sync]+1 >= queue_congestion_on_threshold(q)) { in __get_request()
1079 if (rl->count[is_sync]+1 >= q->nr_requests) { in __get_request()
1086 if (!blk_rl_full(rl, is_sync)) { in __get_request()
1088 blk_set_rl_full(rl, is_sync); in __get_request()
1101 blk_set_congested(rl, is_sync); in __get_request()
1109 if (rl->count[is_sync] >= (3 * q->nr_requests / 2)) in __get_request()
1112 q->nr_rqs[is_sync]++; in __get_request()
1113 rl->count[is_sync]++; in __get_request()
1114 rl->starved[is_sync] = 0; in __get_request()
[all …]
Dcfq-iosched.c862 static struct cfq_queue *cfq_get_queue(struct cfq_data *cfqd, bool is_sync,
879 static inline struct cfq_queue *cic_to_cfqq(struct cfq_io_cq *cic, bool is_sync) in cic_to_cfqq() argument
881 return cic->cfqq[is_sync]; in cic_to_cfqq()
885 bool is_sync) in cic_set_cfqq() argument
887 cic->cfqq[is_sync] = cfqq; in cic_set_cfqq()
3698 pid_t pid, bool is_sync) in cfq_init_cfqq() argument
3709 if (is_sync) { in cfq_init_cfqq()
3778 cfq_get_queue(struct cfq_data *cfqd, bool is_sync, struct cfq_io_cq *cic, in cfq_get_queue() argument
3794 if (!is_sync) { in cfq_get_queue()
3813 cfq_init_cfqq(cfqd, cfqq, current->pid, is_sync); in cfq_get_queue()
[all …]
Dblk-mq.c1244 const int is_sync = rw_is_sync(bio->bi_rw); in blk_mq_make_request() local
1287 if (((plug && !blk_queue_nomerges(q)) || is_sync) && in blk_mq_make_request()
1328 blk_mq_run_hw_queue(data.hctx, !is_sync || is_flush_fua); in blk_mq_make_request()
1341 const int is_sync = rw_is_sync(bio->bi_rw); in blk_sq_make_request() local
1404 blk_mq_run_hw_queue(data.hctx, !is_sync || is_flush_fua); in blk_sq_make_request()
/linux-4.4.14/fs/nfs/
Dinode.c771 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context() argument
779 if (!is_sync) in nfs_close_context()
831 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context() argument
844 NFS_PROTO(inode)->close_context(ctx, is_sync); in __put_nfs_open_context()
Dinternal.h339 void nfs_close_context(struct nfs_open_context *ctx, int is_sync);
Dnfs4proc.c3006 static void nfs4_close_context(struct nfs_open_context *ctx, int is_sync) in nfs4_close_context() argument
3010 if (is_sync) in nfs4_close_context()
/linux-4.4.14/fs/fuse/
Dfile.c565 bool is_sync = is_sync_kiocb(io->iocb); in fuse_aio_complete() local
575 if (!left && is_sync) in fuse_aio_complete()
579 if (!left && !is_sync) { in fuse_aio_complete()
2796 bool is_sync = is_sync_kiocb(iocb); in fuse_direct_IO() local
2837 if (!is_sync && (offset + count > i_size) && in fuse_direct_IO()
2841 if (io->async && is_sync) { in fuse_direct_IO()
2861 if (!is_sync) in fuse_direct_IO()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_obd.c472 int i, is_sync; in lov_notify() local
475 is_sync = (ev == OBD_NOTIFY_SYNC) || in lov_notify()
485 if (is_sync && !lov->lov_tgts[i]->ltd_active) in lov_notify()
/linux-4.4.14/drivers/net/phy/
Ddp83640.c965 static int is_sync(struct sk_buff *skb, int type) in is_sync() function
1454 if (is_sync(skb, type)) { in dp83640_txtstamp()