Home
last modified time | relevance | path

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

/openbmc/linux/fs/ntfs/
H A Drunlist.c63 runlist_element *new_rl; in ntfs_rl_realloc() local
70 new_rl = ntfs_malloc_nofs(new_size); in ntfs_rl_realloc()
71 if (unlikely(!new_rl)) in ntfs_rl_realloc()
77 memcpy(new_rl, rl, old_size); in ntfs_rl_realloc()
80 return new_rl; in ntfs_rl_realloc()
109 runlist_element *new_rl; in ntfs_rl_realloc_nofail() local
116 new_rl = ntfs_malloc_nofs_nofail(new_size); in ntfs_rl_realloc_nofail()
117 BUG_ON(!new_rl); in ntfs_rl_realloc_nofail()
122 memcpy(new_rl, rl, old_size); in ntfs_rl_realloc_nofail()
125 return new_rl; in ntfs_rl_realloc_nofail()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dqp.c3828 struct mlx5_rate_limit new_rl = old_rl; in modify_raw_packet_qp_sq() local
3852 new_rl = raw_qp_param->rl; in modify_raw_packet_qp_sq()
3855 if (!mlx5_rl_are_equal(&old_rl, &new_rl)) { in modify_raw_packet_qp_sq()
3856 if (new_rl.rate) { in modify_raw_packet_qp_sq()
3857 err = mlx5_rl_add_rate(dev, &rl_index, &new_rl); in modify_raw_packet_qp_sq()
3861 err, new_rl.rate, new_rl.max_burst_sz, in modify_raw_packet_qp_sq()
3862 new_rl.typical_pkt_sz); in modify_raw_packet_qp_sq()
3878 mlx5_rl_remove_rate(dev, &new_rl); in modify_raw_packet_qp_sq()
3883 if ((old_rl.rate && !mlx5_rl_are_equal(&old_rl, &new_rl)) || in modify_raw_packet_qp_sq()
3887 memset(&new_rl, 0, sizeof(new_rl)); in modify_raw_packet_qp_sq()
[all …]
/openbmc/linux/fs/ocfs2/
H A Drefcounttree.c1458 struct ocfs2_refcount_list *new_rl = &new_rb->rf_records; in ocfs2_divide_leaf_refcount_block() local
1490 memcpy(new_rl->rl_recs, &rl->rl_recs[split_index], in ocfs2_divide_leaf_refcount_block()
1499 new_rl->rl_used = cpu_to_le16(num_moved); in ocfs2_divide_leaf_refcount_block()
1505 sort(&new_rl->rl_recs, le16_to_cpu(new_rl->rl_used), in ocfs2_divide_leaf_refcount_block()