Home
last modified time | relevance | path

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

/fs/ocfs2/cluster/
Dheartbeat.c284 struct o2hb_region *reg = in o2hb_write_timeout() local
289 "milliseconds\n", reg->hr_bdev, in o2hb_write_timeout()
290 jiffies_to_msecs(jiffies - reg->hr_last_timeout_start)); in o2hb_write_timeout()
294 if (test_bit(reg->hr_region_num, o2hb_quorum_region_bitmap)) in o2hb_write_timeout()
295 set_bit(reg->hr_region_num, o2hb_failed_region_bitmap); in o2hb_write_timeout()
316 static void o2hb_arm_timeout(struct o2hb_region *reg) in o2hb_arm_timeout() argument
319 if (atomic_read(&reg->hr_steady_iterations) != 0) in o2hb_arm_timeout()
327 clear_bit(reg->hr_region_num, o2hb_failed_region_bitmap); in o2hb_arm_timeout()
330 cancel_delayed_work(&reg->hr_write_timeout_work); in o2hb_arm_timeout()
331 schedule_delayed_work(&reg->hr_write_timeout_work, in o2hb_arm_timeout()
[all …]
/fs/smb/client/
Dcifs_swn.c307 struct cifs_swn_reg *reg = NULL; in cifs_get_swn_reg() local
313 reg = cifs_find_swn_reg(tcon); in cifs_get_swn_reg()
314 if (!IS_ERR(reg)) { in cifs_get_swn_reg()
315 kref_get(&reg->ref_count); in cifs_get_swn_reg()
317 return reg; in cifs_get_swn_reg()
318 } else if (PTR_ERR(reg) != -EEXIST) { in cifs_get_swn_reg()
320 return reg; in cifs_get_swn_reg()
323 reg = kmalloc(sizeof(struct cifs_swn_reg), GFP_ATOMIC); in cifs_get_swn_reg()
324 if (reg == NULL) { in cifs_get_swn_reg()
329 kref_init(&reg->ref_count); in cifs_get_swn_reg()
[all …]
/fs/xfs/
Dxfs_log.c940 struct xfs_log_iovec reg = { in xlog_write_unmount_record() local
947 .lv_iovecp = &reg, in xlog_write_unmount_record()
959 return xlog_write(log, NULL, &lv_chain, ticket, reg.i_len); in xlog_write_unmount_record()
2274 struct xfs_log_iovec *reg = &lv->lv_iovecp[index]; in xlog_write_full() local
2275 struct xlog_op_header *ophdr = reg->i_addr; in xlog_write_full()
2278 xlog_write_iovec(iclog, log_offset, reg->i_addr, in xlog_write_full()
2279 reg->i_len, len, record_cnt, data_cnt); in xlog_write_full()
2338 struct xfs_log_iovec *reg = &lv->lv_iovecp[index]; in xlog_write_partial() local
2361 ophdr = reg->i_addr; in xlog_write_partial()
2362 rlen = min_t(uint32_t, reg->i_len, iclog->ic_size - *log_offset); in xlog_write_partial()
[all …]
Dxfs_log_cil.c992 struct xfs_log_iovec reg = { in xlog_cil_write_commit_record() local
999 .lv_iovecp = &reg, in xlog_cil_write_commit_record()
1013 ctx->ticket->t_curr_res -= reg.i_len; in xlog_cil_write_commit_record()
1014 error = xlog_write(log, ctx, &lv_chain, ctx->ticket, reg.i_len); in xlog_cil_write_commit_record()
/fs/squashfs/
Dsquashfs_fs.h401 struct squashfs_reg_inode reg; member
Dinode.c133 struct squashfs_reg_inode *sqsh_ino = &squashfs_ino.reg; in squashfs_read_inode()