Lines Matching refs:what

185 static int act_log_check(struct blk_trace *bt, u32 what, sector_t sector,  in act_log_check()  argument
188 if (((bt->act_mask << BLK_TC_SHIFT) & what) == 0) in act_log_check()
216 int op, int op_flags, u32 what, int error, int pdu_len, in __blk_add_trace() argument
234 what |= ddir_act[op_is_write(op) ? WRITE : READ]; in __blk_add_trace()
235 what |= MASK_TC_BIT(op_flags, SYNC); in __blk_add_trace()
236 what |= MASK_TC_BIT(op_flags, RAHEAD); in __blk_add_trace()
237 what |= MASK_TC_BIT(op_flags, META); in __blk_add_trace()
238 what |= MASK_TC_BIT(op_flags, PREFLUSH); in __blk_add_trace()
239 what |= MASK_TC_BIT(op_flags, FUA); in __blk_add_trace()
241 what |= BLK_TC_ACT(BLK_TC_DISCARD); in __blk_add_trace()
243 what |= BLK_TC_ACT(BLK_TC_FLUSH); in __blk_add_trace()
245 what |= __BLK_TA_CGROUP; in __blk_add_trace()
248 if (act_log_check(bt, what, sector, pid)) in __blk_add_trace()
294 t->action = what; in __blk_add_trace()
829 unsigned int nr_bytes, u32 what, u64 cgid) in blk_add_trace_rq() argument
841 what |= BLK_TC_ACT(BLK_TC_PC); in blk_add_trace_rq()
843 what |= BLK_TC_ACT(BLK_TC_FS); in blk_add_trace_rq()
846 rq->cmd_flags, what, blk_status_to_errno(error), 0, in blk_add_trace_rq()
894 u32 what, int error) in blk_add_trace_bio() argument
906 bio_op(bio), bio->bi_opf, what, error, 0, NULL, in blk_add_trace_bio()
965 u32 what; in blk_add_trace_unplug() local
968 what = BLK_TA_UNPLUG_IO; in blk_add_trace_unplug()
970 what = BLK_TA_UNPLUG_TIMER; in blk_add_trace_unplug()
972 __blk_add_trace(bt, 0, 0, 0, 0, what, 0, sizeof(rpdu), &rpdu, 0); in blk_add_trace_unplug()
1491 u16 what; in print_one_line() local
1497 what = (t->action & ((1 << BLK_TC_SHIFT) - 1)) & ~__BLK_TA_CGROUP; in print_one_line()
1508 if (unlikely(what == 0 || what >= ARRAY_SIZE(what2act))) in print_one_line()
1509 trace_seq_printf(s, "Unknown action %x\n", what); in print_one_line()
1511 log_action(iter, what2act[what].act[long_act], has_cg); in print_one_line()
1512 what2act[what].print(s, iter->ent, has_cg); in print_one_line()