Home
last modified time | relevance | path

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

/linux-4.1.27/block/
Dblk-core.c982 const bool is_sync = rw_is_sync(rw_flags) != 0; in __get_request() local
992 if (rl->count[is_sync]+1 >= queue_congestion_on_threshold(q)) { in __get_request()
993 if (rl->count[is_sync]+1 >= q->nr_requests) { in __get_request()
1000 if (!blk_rl_full(rl, is_sync)) { in __get_request()
1002 blk_set_rl_full(rl, is_sync); in __get_request()
1020 blk_set_queue_congested(q, is_sync); in __get_request()
1028 if (rl->count[is_sync] >= (3 * q->nr_requests / 2)) in __get_request()
1031 q->nr_rqs[is_sync]++; in __get_request()
1032 rl->count[is_sync]++; in __get_request()
1033 rl->starved[is_sync] = 0; in __get_request()
[all …]
Dcfq-iosched.c860 static struct cfq_queue *cfq_get_queue(struct cfq_data *cfqd, bool is_sync,
878 static inline struct cfq_queue *cic_to_cfqq(struct cfq_io_cq *cic, bool is_sync) in cic_to_cfqq() argument
880 return cic->cfqq[is_sync]; in cic_to_cfqq()
884 bool is_sync) in cic_set_cfqq() argument
886 cic->cfqq[is_sync] = cfqq; in cic_set_cfqq()
3526 pid_t pid, bool is_sync) in cfq_init_cfqq() argument
3537 if (is_sync) { in cfq_init_cfqq()
3581 cfq_find_alloc_queue(struct cfq_data *cfqd, bool is_sync, struct cfq_io_cq *cic, in cfq_find_alloc_queue() argument
3598 cfqq = cic_to_cfqq(cic, is_sync); in cfq_find_alloc_queue()
3627 cfq_init_cfqq(cfqd, cfqq, current->pid, is_sync); in cfq_find_alloc_queue()
[all …]
Dblk-mq.c1247 const int is_sync = rw_is_sync(bio->bi_rw); in blk_mq_make_request() local
1274 if (is_sync && !(data.hctx->flags & BLK_MQ_F_DEFER_ISSUE)) { in blk_mq_make_request()
1311 blk_mq_run_hw_queue(data.hctx, !is_sync || is_flush_fua); in blk_mq_make_request()
1323 const int is_sync = rw_is_sync(bio->bi_rw); in blk_sq_make_request() local
1333 use_plug = !is_flush_fua && !is_sync; in blk_sq_make_request()
1386 blk_mq_run_hw_queue(data.hctx, !is_sync || is_flush_fua); in blk_sq_make_request()
/linux-4.1.27/fs/nfs/
Dinode.c762 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context() argument
769 if (!is_sync) in nfs_close_context()
816 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context() argument
829 NFS_PROTO(inode)->close_context(ctx, is_sync); in __put_nfs_open_context()
Dinternal.h322 void nfs_close_context(struct nfs_open_context *ctx, int is_sync);
Dnfs4proc.c2865 static void nfs4_close_context(struct nfs_open_context *ctx, int is_sync) in nfs4_close_context() argument
2869 if (is_sync) in nfs4_close_context()
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/lov/
Dlov_obd.c484 int i, is_sync; in lov_notify() local
487 is_sync = (ev == OBD_NOTIFY_SYNC) || in lov_notify()
497 if (is_sync && !lov->lov_tgts[i]->ltd_active) in lov_notify()
/linux-4.1.27/drivers/net/phy/
Ddp83640.c953 static int is_sync(struct sk_buff *skb, int type) in is_sync() function
1436 if (is_sync(skb, type)) { in dp83640_txtstamp()