| /linux/fs/ntfs/ |
| A D | runlist.c | 1494 rl = runlist->rl; in ntfs_rl_truncate_nolock() 1513 runlist->rl = rl; in ntfs_rl_truncate_nolock() 1564 runlist->rl = rl; in ntfs_rl_truncate_nolock() 1586 runlist->rl = rl; in ntfs_rl_truncate_nolock() 1645 rl = runlist->rl; in ntfs_rl_punch_nolock() 1722 runlist->rl = rl; in ntfs_rl_punch_nolock() 1763 rl = trl + (rl - runlist->rl); in ntfs_rl_punch_nolock() 1770 memmove(rl + 1, rl, (rl_real_end - rl + 1) * sizeof(*rl)); in ntfs_rl_punch_nolock() 1833 rl = trl + (rl - runlist->rl); in ntfs_rl_punch_nolock() 1868 rl = trl + (rl - runlist->rl); in ntfs_rl_punch_nolock() [all …]
|
| A D | lcnalloc.c | 43 if (!rl) in ntfs_cluster_free_from_rl_nolock() 45 for (; rl->length; rl++) { in ntfs_cluster_free_from_rl_nolock() 50 err = ntfs_bitmap_clear_run(lcnbmp_vi, rl->lcn, rl->length); in ntfs_cluster_free_from_rl_nolock() 324 if (!rl) in ntfs_cluster_alloc() 338 rl = rl2; in ntfs_cluster_alloc() 388 rl[rlpos].vcn = rl[rlpos - 1].vcn + in ntfs_cluster_alloc() 726 rl[rlpos].vcn = rl[rlpos - 1].vcn + rl[rlpos - 1].length; in ntfs_cluster_alloc() 742 return rl; in ntfs_cluster_alloc() 746 if (rl) { in ntfs_cluster_alloc() 904 ++rl; in __ntfs_cluster_free() [all …]
|
| A D | debug.c | 120 void ntfs_debug_dump_runlist(const runlist_element *rl) in ntfs_debug_dump_runlist() argument 129 if (!rl) { in ntfs_debug_dump_runlist() 135 LCN lcn = (rl + i)->lcn; in ntfs_debug_dump_runlist() 143 (long long)(rl + i)->vcn, lcn_str[index], in ntfs_debug_dump_runlist() 144 (long long)(rl + i)->length, in ntfs_debug_dump_runlist() 145 (rl + i)->length ? "" : in ntfs_debug_dump_runlist() 149 (long long)(rl + i)->vcn, in ntfs_debug_dump_runlist() 150 (long long)(rl + i)->lcn, in ntfs_debug_dump_runlist() 151 (long long)(rl + i)->length, in ntfs_debug_dump_runlist() 152 (rl + i)->length ? "" : in ntfs_debug_dump_runlist() [all …]
|
| A D | runlist.h | 41 runlist_element *rl; member 45 static inline void ntfs_init_runlist(runlist *rl) in ntfs_init_runlist() argument 47 rl->rl = NULL; in ntfs_init_runlist() 48 init_rwsem(&rl->lock); in ntfs_init_runlist() 65 extern LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn); 69 extern runlist_element *ntfs_rl_find_vcn_nolock(runlist_element *rl, 73 const runlist_element *rl, const VCN first_vcn, 77 const int dst_len, const runlist_element *rl,
|
| A D | attrib.c | 177 ni->runlist.rl = rl; in ntfs_map_runlist_nolock() 472 rl = ni->runlist.rl; in ntfs_attr_find_vcn_nolock() 473 if (likely(rl && vcn >= rl[0].vcn)) { in ntfs_attr_find_vcn_nolock() 722 rl = runlist->rl; in load_attribute_list() 730 lcn = ntfs_rl_vcn_to_lcn(rl, rl->vcn); in load_attribute_list() 1698 ni->runlist.rl = rl; in ntfs_attr_make_non_resident() 2158 rl = ni->runlist.rl; in ntfs_attr_extend_allocation() 2166 (rl->lcn == LCN_ENOENT && rl > ni->runlist.rl && in ntfs_attr_extend_allocation() 2186 ni->runlist.rl = rl; in ntfs_attr_extend_allocation() 2199 while (rl->lcn < 0 && rl > ni->runlist.rl) in ntfs_attr_extend_allocation() [all …]
|
| A D | mft.c | 546 while (rl->length && rl[1].vcn <= vcn) in ntfs_sync_mft_mirror() 734 while (rl->length && rl[1].vcn <= vcn) in write_mft_record_nolock() 1306 if (IS_ERR(rl) || unlikely(!rl->length || rl->lcn < 0)) { in ntfs_mft_bitmap_extend_allocation_nolock() 1316 lcn = rl->lcn + rl->length; in ntfs_mft_bitmap_extend_allocation_nolock() 1372 mftbmp_ni->runlist.rl = rl; in ntfs_mft_bitmap_extend_allocation_nolock() 1376 for (; rl[1].length; rl++) in ntfs_mft_bitmap_extend_allocation_nolock() 1522 rl->lcn = rl[1].lcn; in ntfs_mft_bitmap_extend_allocation_nolock() 1737 if (IS_ERR(rl) || unlikely(!rl->length || rl->lcn < 0)) { in ntfs_mft_data_extend_allocation_nolock() 1747 lcn = rl->lcn + rl->length; in ntfs_mft_data_extend_allocation_nolock() 1810 mft_ni->runlist.rl = rl; in ntfs_mft_data_extend_allocation_nolock() [all …]
|
| A D | logfile.c | 718 runlist_element *rl; in ntfs_empty_logfile() local 745 rl = log_ni->runlist.rl; in ntfs_empty_logfile() 746 if (unlikely(!rl || vcn < rl->vcn || !rl->length)) { in ntfs_empty_logfile() 754 rl = log_ni->runlist.rl; in ntfs_empty_logfile() 755 BUG_ON(!rl || vcn < rl->vcn || !rl->length); in ntfs_empty_logfile() 758 while (rl->length && vcn >= rl[1].vcn) in ntfs_empty_logfile() 759 rl++; in ntfs_empty_logfile() 769 lcn = rl->lcn; in ntfs_empty_logfile() 771 vcn = rl->vcn; in ntfs_empty_logfile() 781 len = rl->length; in ntfs_empty_logfile() [all …]
|
| A D | aops.c | 225 rl = NULL; in ntfs_read_block() 249 rl = ni->runlist.rl; in ntfs_read_block() 253 while (rl->length && rl[1].vcn <= vcn) in ntfs_read_block() 254 rl++; in ntfs_read_block() 327 if (rl) in ntfs_read_block() 705 rl = ni->runlist.rl; in ntfs_write_block() 709 while (rl->length && rl[1].vcn <= vcn) in ntfs_write_block() 710 rl++; in ntfs_write_block() 795 if (rl) in ntfs_write_block() 1014 rl = ni->runlist.rl; in ntfs_write_mst_block() [all …]
|
| A D | file.c | 624 rl = NULL; in ntfs_prepare_pages_for_non_resident_write() 827 if (!rl) { in ntfs_prepare_pages_for_non_resident_write() 830 rl = ni->runlist.rl; in ntfs_prepare_pages_for_non_resident_write() 834 while (rl->length && rl[1].vcn <= bh_cpos) in ntfs_prepare_pages_for_non_resident_write() 835 rl++; in ntfs_prepare_pages_for_non_resident_write() 972 rl2 = rl; in ntfs_prepare_pages_for_non_resident_write() 988 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_prepare_pages_for_non_resident_write() 1003 ni->runlist.rl = rl; in ntfs_prepare_pages_for_non_resident_write() 1169 rl = NULL; in ntfs_prepare_pages_for_non_resident_write() 1183 rl = NULL; in ntfs_prepare_pages_for_non_resident_write() [all …]
|
| A D | lcnalloc.h | 100 const runlist_element *rl); 119 const runlist_element *rl) in ntfs_cluster_free_from_rl() argument 124 ret = ntfs_cluster_free_from_rl_nolock(vol, rl); in ntfs_cluster_free_from_rl()
|
| A D | compress.c | 470 runlist_element *rl; in ntfs_read_compressed_block() local 595 rl = NULL; in ntfs_read_compressed_block() 600 if (!rl) { in ntfs_read_compressed_block() 603 rl = ni->runlist.rl; in ntfs_read_compressed_block() 605 if (likely(rl != NULL)) { in ntfs_read_compressed_block() 607 while (rl->length && rl[1].vcn <= vcn) in ntfs_read_compressed_block() 608 rl++; in ntfs_read_compressed_block() 609 lcn = ntfs_rl_vcn_to_lcn(rl, vcn); in ntfs_read_compressed_block() 646 if (rl) in ntfs_read_compressed_block()
|
| /linux/drivers/s390/scsi/ |
| A D | zfcp_reqlist.h | 41 struct zfcp_reqlist *rl; in zfcp_reqlist_alloc() local 44 if (!rl) in zfcp_reqlist_alloc() 47 spin_lock_init(&rl->lock); in zfcp_reqlist_alloc() 50 INIT_LIST_HEAD(&rl->buckets[i]); in zfcp_reqlist_alloc() 52 return rl; in zfcp_reqlist_alloc() 66 if (!list_empty(&rl->buckets[i])) in zfcp_reqlist_isempty() 78 BUG_ON(!zfcp_reqlist_isempty(rl)); in zfcp_reqlist_free() 80 kfree(rl); in zfcp_reqlist_free() 110 spin_lock_irqsave(&rl->lock, flags); in zfcp_reqlist_find() 135 spin_lock_irqsave(&rl->lock, flags); in zfcp_reqlist_find_rm() [all …]
|
| /linux/crypto/ |
| A D | vmac.c | 107 (rl) += (_il); \ 152 rh = rl = 0; \ 178 rh = rl = 0; \ 361 u64 rh, rl, t, z = 0; in l3hash() local 392 rl += t; in l3hash() 393 rl += (0 - (rl < t)) & 257; in l3hash() 394 rl += (0 - (rl > p64-1)) & 257; in l3hash() 395 return rl; in l3hash() 408 u64 rh, rl; in vhash_blocks() local 546 u64 rh, rl; in vhash_final() local [all …]
|
| A D | crypto_user_stat.c | 198 struct crypto_stat_larval rl; in crypto_reportstat_one() local 200 memset(&rl, 0, sizeof(rl)); in crypto_reportstat_one() 201 strscpy(rl.type, "larval", sizeof(rl.type)); in crypto_reportstat_one() 202 if (nla_put(skb, CRYPTOCFGA_STAT_LARVAL, sizeof(rl), &rl)) in crypto_reportstat_one()
|
| A D | crypto_user_base.c | 118 struct crypto_report_larval rl; in crypto_report_one() local 120 memset(&rl, 0, sizeof(rl)); in crypto_report_one() 121 strscpy(rl.type, "larval", sizeof(rl.type)); in crypto_report_one() 122 if (nla_put(skb, CRYPTOCFGA_REPORT_LARVAL, sizeof(rl), &rl)) in crypto_report_one()
|
| /linux/tools/testing/selftests/kvm/ |
| A D | kvm_create_max_vcpus.c | 49 struct rlimit rl; in main() local 58 TEST_ASSERT(!getrlimit(RLIMIT_NOFILE, &rl), "getrlimit() failed!"); in main() 60 if (rl.rlim_cur < nr_fds_wanted) { in main() 61 rl.rlim_cur = nr_fds_wanted; in main() 62 if (rl.rlim_max < nr_fds_wanted) { in main() 63 int old_rlim_max = rl.rlim_max; in main() 64 rl.rlim_max = nr_fds_wanted; in main() 66 int r = setrlimit(RLIMIT_NOFILE, &rl); in main() 73 TEST_ASSERT(!setrlimit(RLIMIT_NOFILE, &rl), "setrlimit() failed!"); in main()
|
| /linux/include/linux/ |
| A D | jump_label_ratelimit.h | 41 jump_label_rate_limit(struct static_key_deferred *key, unsigned long rl); 45 #define DEFINE_STATIC_KEY_DEFERRED_TRUE(name, rl) \ argument 48 .timeout = (rl), \ 54 #define DEFINE_STATIC_KEY_DEFERRED_FALSE(name, rl) \ argument 57 .timeout = (rl), \ 73 #define DEFINE_STATIC_KEY_DEFERRED_TRUE(name, rl) \ argument 75 #define DEFINE_STATIC_KEY_DEFERRED_FALSE(name, rl) \ argument 91 unsigned long rl) in jump_label_rate_limit() argument
|
| A D | math64.h | 204 } rl, rm, rn, rh, a0, b0; in mul_u64_u64_shr() local 210 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr() 220 rl.l.high = c = (u64)rl.l.high + rm.l.low + rn.l.low; in mul_u64_u64_shr() 229 return rl.ll; in mul_u64_u64_shr() 268 } u, rl, rh; in mul_u64_u32_div() local 271 rl.ll = mul_u32_u32(u.l.low, mul); in mul_u64_u32_div() 272 rh.ll = mul_u32_u32(u.l.high, mul) + rl.l.high; in mul_u64_u32_div() 275 rl.l.high = do_div(rh.ll, divisor); in mul_u64_u32_div() 278 do_div(rl.ll, divisor); in mul_u64_u32_div() 280 rl.l.high = rh.l.low; in mul_u64_u32_div() [all …]
|
| /linux/fs/dlm/ |
| A D | rcom.c | 409 struct rcom_lock *rl) in pack_rcom_lock() argument 411 memset(rl, 0, sizeof(*rl)); in pack_rcom_lock() 414 rl->rl_lkid = cpu_to_le32(lkb->lkb_id); in pack_rcom_lock() 418 rl->rl_rqmode = lkb->lkb_rqmode; in pack_rcom_lock() 419 rl->rl_grmode = lkb->lkb_grmode; in pack_rcom_lock() 420 rl->rl_status = lkb->lkb_status; in pack_rcom_lock() 424 rl->rl_asts |= DLM_CB_BAST; in pack_rcom_lock() 426 rl->rl_asts |= DLM_CB_CAST; in pack_rcom_lock() 443 struct rcom_lock *rl; in dlm_send_rcom_lock() local 453 rl = (struct rcom_lock *) rc->rc_buf; in dlm_send_rcom_lock() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | rl.c | 317 struct mlx5_rate_limit *rl) in mlx5_rl_add_rate() argument 321 MLX5_SET(set_pp_rate_limit_context, rl_raw, rate_limit, rl->rate); in mlx5_rl_add_rate() 323 rl->max_burst_sz); in mlx5_rl_add_rate() 325 rl->typical_pkt_sz); in mlx5_rl_add_rate() 334 void mlx5_rl_remove_rate(struct mlx5_core_dev *dev, struct mlx5_rate_limit *rl) in mlx5_rl_remove_rate() argument 341 if (rl->rate == 0) in mlx5_rl_remove_rate() 344 MLX5_SET(set_pp_rate_limit_context, rl_raw, rate_limit, rl->rate); in mlx5_rl_remove_rate() 346 rl->max_burst_sz); in mlx5_rl_remove_rate() 348 rl->typical_pkt_sz); in mlx5_rl_remove_rate() 356 rl->rate, rl->max_burst_sz, rl->typical_pkt_sz); in mlx5_rl_remove_rate()
|
| /linux/arch/arm/mm/ |
| A D | proc-v7-3level.S | 57 #define rl r3 macro 60 #define rl r2 macro 73 tst rl, #L_PTE_VALID 76 bicne rl, #L_PTE_VALID 82 orrne rl, #PTE_AP2 83 biceq rl, #PTE_AP2
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | qos.c | 1013 kvfree(rl); in mlx5e_mqprio_rl_free() 1029 rl->mdev = mdev; in mlx5e_mqprio_rl_init() 1030 rl->num_tc = num_tc; in mlx5e_mqprio_rl_init() 1031 rl->leaves_id = kvcalloc(num_tc, sizeof(*rl->leaves_id), GFP_KERNEL); in mlx5e_mqprio_rl_init() 1032 if (!rl->leaves_id) in mlx5e_mqprio_rl_init() 1046 &rl->leaves_id[tc]); in mlx5e_mqprio_rl_init() 1060 kvfree(rl->leaves_id); in mlx5e_mqprio_rl_init() 1069 mlx5_qos_destroy_node(rl->mdev, rl->leaves_id[tc]); in mlx5e_mqprio_rl_cleanup() 1070 mlx5_qos_destroy_node(rl->mdev, rl->root_id); in mlx5e_mqprio_rl_cleanup() 1071 kvfree(rl->leaves_id); in mlx5e_mqprio_rl_cleanup() [all …]
|
| A D | qos.h | 48 void mlx5e_mqprio_rl_free(struct mlx5e_mqprio_rl *rl); 49 int mlx5e_mqprio_rl_init(struct mlx5e_mqprio_rl *rl, struct mlx5_core_dev *mdev, u8 num_tc, 51 void mlx5e_mqprio_rl_cleanup(struct mlx5e_mqprio_rl *rl); 52 int mlx5e_mqprio_rl_get_node_hw_id(struct mlx5e_mqprio_rl *rl, int tc, u32 *hw_id);
|
| /linux/drivers/slimbus/ |
| A D | slimbus.h | 128 u8 rl; member 140 #define DEFINE_SLIM_LDEST_TXN(name, mc, rl, la, msg) \ argument 141 struct slim_msg_txn name = { rl, 0, mc, SLIM_MSG_DEST_LOGICALADDR, 0,\ 144 #define DEFINE_SLIM_BCAST_TXN(name, mc, rl, la, msg) \ argument 145 struct slim_msg_txn name = { rl, 0, mc, SLIM_MSG_DEST_BROADCAST, 0,\ 148 #define DEFINE_SLIM_EDEST_TXN(name, mc, rl, la, msg) \ argument 149 struct slim_msg_txn name = { rl, 0, mc, SLIM_MSG_DEST_ENUMADDR, 0,\
|
| /linux/arch/arm/vfp/ |
| A D | vfp.h | 73 u64 rh, rma, rmb, rl; in mul64to128() local 77 rl = (u64)nl * ml; in mul64to128() 90 rl += rma; in mul64to128() 91 rh += (rl < rma); in mul64to128() 93 *resl = rl; in mul64to128() 105 u64 rh, rl; in vfp_hi64multiply64() local 106 mul64to128(&rh, &rl, n, m); in vfp_hi64multiply64() 107 return rh | (rl != 0); in vfp_hi64multiply64()
|