Lines Matching refs:p1
785 struct adpt_i2o_post_wait_data *p1, *old; in adpt_i2o_sys_shutdown() local
803 for(p1 = adpt_post_wait_queue; p1;) { in adpt_i2o_sys_shutdown()
804 old = p1; in adpt_i2o_sys_shutdown()
805 p1 = p1->next; in adpt_i2o_sys_shutdown()
987 adpt_hba* p1; in adpt_i2o_delete_hba() local
1002 for( p1 = hba_chain; p1; p2 = p1,p1=p1->next){ in adpt_i2o_delete_hba()
1003 if(p1 == pHba) { in adpt_i2o_delete_hba()
1005 p2->next = p1->next; in adpt_i2o_delete_hba()
1007 hba_chain = p1->next; in adpt_i2o_delete_hba()
1106 struct adpt_i2o_post_wait_data *p1, *p2; in adpt_i2o_post_wait() local
1164 for(p1 = adpt_post_wait_queue; p1; p2 = p1, p1 = p1->next) { in adpt_i2o_post_wait()
1165 if(p1 == wait_data) { in adpt_i2o_post_wait()
1166 if(p1->status == I2O_DETAIL_STATUS_UNSUPPORTED_FUNCTION ) { in adpt_i2o_post_wait()
1170 p2->next = p1->next; in adpt_i2o_post_wait()
1172 adpt_post_wait_queue = p1->next; in adpt_i2o_post_wait()
1218 struct adpt_i2o_post_wait_data *p1 = NULL; in adpt_i2o_post_wait_complete() local
1235 for(p1 = adpt_post_wait_queue; p1; p1 = p1->next) { in adpt_i2o_post_wait_complete()
1236 if(p1->id == context) { in adpt_i2o_post_wait_complete()
1237 p1->status = status; in adpt_i2o_post_wait_complete()
1239 wake_up_interruptible(p1->wq); in adpt_i2o_post_wait_complete()
1247 for(p1 = adpt_post_wait_queue; p1; p1 = p1->next) { in adpt_i2o_post_wait_complete()
1248 printk(KERN_DEBUG" %d\n",p1->id); in adpt_i2o_post_wait_complete()