Lines Matching refs:operation
53 struct gb_operation *operation; member
117 gb_operation_is_incoming(struct gb_operation *operation) in gb_operation_is_incoming() argument
119 return operation->flags & GB_OPERATION_FLAG_INCOMING; in gb_operation_is_incoming()
123 gb_operation_is_unidirectional(struct gb_operation *operation) in gb_operation_is_unidirectional() argument
125 return operation->flags & GB_OPERATION_FLAG_UNIDIRECTIONAL; in gb_operation_is_unidirectional()
129 gb_operation_short_response_allowed(struct gb_operation *operation) in gb_operation_short_response_allowed() argument
131 return operation->flags & GB_OPERATION_FLAG_SHORT_RESPONSE; in gb_operation_short_response_allowed()
134 static inline bool gb_operation_is_core(struct gb_operation *operation) in gb_operation_is_core() argument
136 return operation->flags & GB_OPERATION_FLAG_CORE; in gb_operation_is_core()
142 int gb_operation_result(struct gb_operation *operation);
166 void gb_operation_get(struct gb_operation *operation);
167 void gb_operation_put(struct gb_operation *operation);
169 bool gb_operation_response_alloc(struct gb_operation *operation,
172 int gb_operation_request_send(struct gb_operation *operation,
176 int gb_operation_request_send_sync_timeout(struct gb_operation *operation,
179 gb_operation_request_send_sync(struct gb_operation *operation) in gb_operation_request_send_sync() argument
181 return gb_operation_request_send_sync_timeout(operation, in gb_operation_request_send_sync()
185 void gb_operation_cancel(struct gb_operation *operation, int errno);
186 void gb_operation_cancel_incoming(struct gb_operation *operation, int errno);
215 static inline void *gb_operation_get_data(struct gb_operation *operation) in gb_operation_get_data() argument
217 return operation->private; in gb_operation_get_data()
220 static inline void gb_operation_set_data(struct gb_operation *operation, in gb_operation_set_data() argument
223 operation->private = data; in gb_operation_set_data()