rhbeat 428 drivers/misc/ibmasm/ibmasmfs.c struct ibmasmfs_heartbeat_data *rhbeat; rhbeat 433 drivers/misc/ibmasm/ibmasmfs.c rhbeat = kmalloc(sizeof(struct ibmasmfs_heartbeat_data), GFP_KERNEL); rhbeat 434 drivers/misc/ibmasm/ibmasmfs.c if (!rhbeat) rhbeat 437 drivers/misc/ibmasm/ibmasmfs.c rhbeat->sp = inode->i_private; rhbeat 438 drivers/misc/ibmasm/ibmasmfs.c rhbeat->active = 0; rhbeat 439 drivers/misc/ibmasm/ibmasmfs.c ibmasm_init_reverse_heartbeat(rhbeat->sp, &rhbeat->heartbeat); rhbeat 440 drivers/misc/ibmasm/ibmasmfs.c file->private_data = rhbeat; rhbeat 446 drivers/misc/ibmasm/ibmasmfs.c struct ibmasmfs_heartbeat_data *rhbeat = file->private_data; rhbeat 448 drivers/misc/ibmasm/ibmasmfs.c kfree(rhbeat); rhbeat 454 drivers/misc/ibmasm/ibmasmfs.c struct ibmasmfs_heartbeat_data *rhbeat = file->private_data; rhbeat 466 drivers/misc/ibmasm/ibmasmfs.c spin_lock_irqsave(&rhbeat->sp->lock, flags); rhbeat 467 drivers/misc/ibmasm/ibmasmfs.c if (rhbeat->active) { rhbeat 468 drivers/misc/ibmasm/ibmasmfs.c spin_unlock_irqrestore(&rhbeat->sp->lock, flags); rhbeat 471 drivers/misc/ibmasm/ibmasmfs.c rhbeat->active = 1; rhbeat 472 drivers/misc/ibmasm/ibmasmfs.c spin_unlock_irqrestore(&rhbeat->sp->lock, flags); rhbeat 474 drivers/misc/ibmasm/ibmasmfs.c result = ibmasm_start_reverse_heartbeat(rhbeat->sp, &rhbeat->heartbeat); rhbeat 475 drivers/misc/ibmasm/ibmasmfs.c rhbeat->active = 0; rhbeat 482 drivers/misc/ibmasm/ibmasmfs.c struct ibmasmfs_heartbeat_data *rhbeat = file->private_data; rhbeat 491 drivers/misc/ibmasm/ibmasmfs.c if (rhbeat->active) rhbeat 492 drivers/misc/ibmasm/ibmasmfs.c ibmasm_stop_reverse_heartbeat(&rhbeat->heartbeat);