Lines Matching refs:op
320 #define GENERATE_ENUM_ENTRY(op, opcode, str) CEPH_OSD_OP_##op = (opcode), argument
325 static inline int ceph_osd_op_type_lock(int op) in ceph_osd_op_type_lock() argument
327 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_LOCK; in ceph_osd_op_type_lock()
329 static inline int ceph_osd_op_type_data(int op) in ceph_osd_op_type_data() argument
331 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_DATA; in ceph_osd_op_type_data()
333 static inline int ceph_osd_op_type_attr(int op) in ceph_osd_op_type_attr() argument
335 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_ATTR; in ceph_osd_op_type_attr()
337 static inline int ceph_osd_op_type_exec(int op) in ceph_osd_op_type_exec() argument
339 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_EXEC; in ceph_osd_op_type_exec()
341 static inline int ceph_osd_op_type_pg(int op) in ceph_osd_op_type_pg() argument
343 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_PG; in ceph_osd_op_type_pg()
345 static inline int ceph_osd_op_type_multi(int op) in ceph_osd_op_type_multi() argument
347 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_MULTI; in ceph_osd_op_type_multi()
350 static inline int ceph_osd_op_mode_subop(int op) in ceph_osd_op_mode_subop() argument
352 return (op & CEPH_OSD_OP_MODE) == CEPH_OSD_OP_MODE_SUB; in ceph_osd_op_mode_subop()
354 static inline int ceph_osd_op_mode_read(int op) in ceph_osd_op_mode_read() argument
356 return (op & CEPH_OSD_OP_MODE_RD) && in ceph_osd_op_mode_read()
357 op != CEPH_OSD_OP_CALL; in ceph_osd_op_mode_read()
359 static inline int ceph_osd_op_mode_modify(int op) in ceph_osd_op_mode_modify() argument
361 return op & CEPH_OSD_OP_MODE_WR; in ceph_osd_op_mode_modify()
374 extern const char *ceph_osd_op_name(int op);
474 __le16 op; /* CEPH_OSD_OP_* */ member
503 __u8 op; /* CEPH_OSD_WATCH_OP_* */ member