Home
last modified time | relevance | path

Searched refs:rhbeat (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/misc/ibmasm/
H A Dibmasmfs.c428 struct ibmasmfs_heartbeat_data *rhbeat; in r_heartbeat_file_open() local
433 rhbeat = kmalloc(sizeof(struct ibmasmfs_heartbeat_data), GFP_KERNEL); in r_heartbeat_file_open()
434 if (!rhbeat) in r_heartbeat_file_open()
437 rhbeat->sp = inode->i_private; in r_heartbeat_file_open()
438 rhbeat->active = 0; in r_heartbeat_file_open()
439 ibmasm_init_reverse_heartbeat(rhbeat->sp, &rhbeat->heartbeat); in r_heartbeat_file_open()
440 file->private_data = rhbeat; in r_heartbeat_file_open()
446 struct ibmasmfs_heartbeat_data *rhbeat = file->private_data; in r_heartbeat_file_close() local
448 kfree(rhbeat); in r_heartbeat_file_close()
454 struct ibmasmfs_heartbeat_data *rhbeat = file->private_data; in r_heartbeat_file_read() local
[all …]