Searched refs:thi (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_main.c | 307 struct drbd_thread *thi = (struct drbd_thread *) arg; in drbd_thread_setup() local 308 struct drbd_resource *resource = thi->resource; in drbd_thread_setup() 313 thi->name[0], in drbd_thread_setup() 319 retval = thi->function(thi); in drbd_thread_setup() 321 spin_lock_irqsave(&thi->t_lock, flags); in drbd_thread_setup() 333 if (thi->t_state == RESTARTING) { in drbd_thread_setup() 334 drbd_info(resource, "Restarting %s thread\n", thi->name); in drbd_thread_setup() 335 thi->t_state = RUNNING; in drbd_thread_setup() 336 spin_unlock_irqrestore(&thi->t_lock, flags); in drbd_thread_setup() 340 thi->task = NULL; in drbd_thread_setup() [all …]
|
D | drbd_int.h | 246 static inline enum drbd_thread_state get_t_state(struct drbd_thread *thi) in get_t_state() argument 253 return thi->t_state; in get_t_state() 1066 extern int drbd_thread_start(struct drbd_thread *thi); 1067 extern void _drbd_thread_stop(struct drbd_thread *thi, int restart, int wait); 1069 extern void drbd_thread_current_set_cpu(struct drbd_thread *thi); 1487 extern int drbd_worker(struct drbd_thread *thi); 1541 extern int drbd_receiver(struct drbd_thread *thi); 1542 extern int drbd_ack_receiver(struct drbd_thread *thi); 1948 static inline void drbd_thread_stop(struct drbd_thread *thi) in drbd_thread_stop() argument 1950 _drbd_thread_stop(thi, false, true); in drbd_thread_stop() [all …]
|
D | drbd_worker.c | 2162 int drbd_worker(struct drbd_thread *thi) in drbd_worker() argument 2164 struct drbd_connection *connection = thi->connection; in drbd_worker() 2170 while (get_t_state(thi) == RUNNING) { in drbd_worker() 2171 drbd_thread_current_set_cpu(thi); in drbd_worker() 2185 if (get_t_state(thi) == RUNNING) { in drbd_worker() 2192 if (get_t_state(thi) != RUNNING) in drbd_worker()
|
D | drbd_receiver.c | 5525 int drbd_receiver(struct drbd_thread *thi) in drbd_receiver() argument 5527 struct drbd_connection *connection = thi->connection; in drbd_receiver() 5946 int drbd_ack_receiver(struct drbd_thread *thi) in drbd_ack_receiver() argument 5948 struct drbd_connection *connection = thi->connection; in drbd_ack_receiver() 5961 while (get_t_state(thi) == RUNNING) { in drbd_ack_receiver() 5962 drbd_thread_current_set_cpu(thi); in drbd_ack_receiver()
|
/linux-6.1.9/drivers/i2c/algos/ |
D | i2c-algo-pca.c | 54 pca_outw(adap, I2C_PCA_IND, adap->bus_settings.thi); in pca_reset() 451 int tlow, thi; in pca_init() local 506 thi = 1000000 - clock * raise_fall_time; in pca_init() 507 thi /= (I2C_PCA_OSC_PER * clock) - tlow; in pca_init() 511 thi = tlow * min_thi / min_tlow; in pca_init() 517 pca_data->bus_settings.thi = thi; in pca_init()
|
/linux-6.1.9/include/linux/ |
D | i2c-algo-pca.h | 66 int thi; member
|
/linux-6.1.9/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 3819 u64 thi = be64_to_cpu(tcb[((31 - word) / 2) - 1]); in t4_tcb_get_field64() local 3823 t = (thi << shift) | (tlo >> shift); in t4_tcb_get_field64()
|