Lines Matching refs:ipc
571 struct isdn_ppp_compressor *ipc = ipc_head; in isdn_ppp_ioctl() local
572 while(ipc) { in isdn_ppp_ioctl()
573 j = ipc->num / (sizeof(long)*8); in isdn_ppp_ioctl()
574 i = ipc->num % (sizeof(long)*8); in isdn_ppp_ioctl()
577 ipc = ipc->next; in isdn_ppp_ioctl()
2496 struct isdn_ppp_compressor *ipc = NULL; in isdn_ppp_decompress() local
2506 ipc = is->link_decompressor; in isdn_ppp_decompress()
2510 ipc = master->decompressor; in isdn_ppp_decompress()
2514 if (!ipc) { in isdn_ppp_decompress()
2531 len = ipc->decompress(stat, skb, skb_out, &rsparm); in isdn_ppp_decompress()
2559 ipc->incomp(stat, skb, *proto); in isdn_ppp_decompress()
2908 int isdn_ppp_register_compressor(struct isdn_ppp_compressor *ipc) in isdn_ppp_register_compressor() argument
2910 ipc->next = ipc_head; in isdn_ppp_register_compressor()
2911 ipc->prev = NULL; in isdn_ppp_register_compressor()
2913 ipc_head->prev = ipc; in isdn_ppp_register_compressor()
2915 ipc_head = ipc; in isdn_ppp_register_compressor()
2919 int isdn_ppp_unregister_compressor(struct isdn_ppp_compressor *ipc) in isdn_ppp_unregister_compressor() argument
2921 if(ipc->prev) in isdn_ppp_unregister_compressor()
2922 ipc->prev->next = ipc->next; in isdn_ppp_unregister_compressor()
2924 ipc_head = ipc->next; in isdn_ppp_unregister_compressor()
2925 if(ipc->next) in isdn_ppp_unregister_compressor()
2926 ipc->next->prev = ipc->prev; in isdn_ppp_unregister_compressor()
2927 ipc->prev = ipc->next = NULL; in isdn_ppp_unregister_compressor()
2933 struct isdn_ppp_compressor *ipc = ipc_head; in isdn_ppp_set_compressor() local
2952 while(ipc) { in isdn_ppp_set_compressor()
2953 if(ipc->num == num) { in isdn_ppp_set_compressor()
2954 stat = ipc->alloc(data); in isdn_ppp_set_compressor()
2956 ret = ipc->init(stat,data,is->unit,0); in isdn_ppp_set_compressor()
2959 ipc->free(stat); in isdn_ppp_set_compressor()
2974 is->link_compressor = ipc; in isdn_ppp_set_compressor()
2980 is->compressor = ipc; in isdn_ppp_set_compressor()
2988 is->link_decompressor = ipc; in isdn_ppp_set_compressor()
2994 is->decompressor = ipc; in isdn_ppp_set_compressor()
2999 ipc = ipc->next; in isdn_ppp_set_compressor()