Lines Matching refs:this
727 APPL *this; in diva_register_appl() local
814 this = &application[appl - 1]; in diva_register_appl()
815 memset(this, 0, sizeof(APPL)); in diva_register_appl()
817 this->Id = appl; in diva_register_appl()
823 this->queue_size = 1000; in diva_register_appl()
825 this->MaxNCCI = (byte) nconn; in diva_register_appl()
826 this->MaxNCCIData = (byte) rp->datablkcnt; in diva_register_appl()
827 this->MaxBuffer = bnum; in diva_register_appl()
828 this->MaxDataLength = rp->datablklen; in diva_register_appl()
830 this->DataNCCI = DataNCCI; in diva_register_appl()
831 this->DataFlags = DataFlags; in diva_register_appl()
832 this->ReceiveBuffer = ReceiveBuffer; in diva_register_appl()
833 this->xbuffer_used = xbuffer_used; in diva_register_appl()
834 this->xbuffer_ptr = xbuffer_ptr; in diva_register_appl()
835 this->xbuffer_internal = xbuffer_internal; in diva_register_appl()
837 this->xbuffer_ptr[i] = xbuffer_ptr[i]; in diva_register_appl()
840 CapiRegister(this->Id); in diva_register_appl()
851 APPL *this = &application[appl - 1]; in diva_release_appl() local
854 DBG_TRC(("application %d(%d) cleanup", this->Id, appl)) in diva_release_appl()
862 if (this->Id) { in diva_release_appl()
863 CapiRelease(this->Id); in diva_release_appl()
864 mem_to_free = this->DataNCCI; in diva_release_appl()
865 this->DataNCCI = NULL; in diva_release_appl()
866 this->Id = 0; in diva_release_appl()
885 APPL *this = &application[GET_WORD(&msg->header.appl_id) - 1]; in diva_send_message() local
896 DBG_PRV1(("Write - appl = %d, cmd = 0x%x", this->Id, command)) in diva_send_message()
905 if (!this->Id) { in diva_send_message()
936 this->MaxDataLength in diva_send_message()
944 for (i = 0; i < (MAX_DATA_B3 * this->MaxNCCI) in diva_send_message()
945 && this->xbuffer_used[i]; i++); in diva_send_message()
946 if (i == (MAX_DATA_B3 * this->MaxNCCI)) { in diva_send_message()
953 this->xbuffer_internal[i] = NULL; in diva_send_message()
954 memcpy(this->xbuffer_ptr[i], &((__u8 *) msg)[clength], in diva_send_message()
964 DBG_BLK((((char *) this->xbuffer_ptr[i]) + j, in diva_send_message()
981 ret = api_put(this, mapped_msg); in diva_send_message()