/Linux-v5.10/drivers/md/persistent-data/ |
D | dm-space-map-common.c | 191 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init() argument 193 memset(ll, 0, sizeof(struct ll_disk)); in sm_ll_init() 195 ll->tm = tm; in sm_ll_init() 197 ll->bitmap_info.tm = tm; in sm_ll_init() 198 ll->bitmap_info.levels = 1; in sm_ll_init() 205 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init() 206 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init() 207 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init() 208 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init() 210 ll->ref_count_info.tm = tm; in sm_ll_init() [all …]
|
D | dm-space-map-common.h | 50 typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result); 51 typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie); 52 typedef int (*init_index_fn)(struct ll_disk *ll); 53 typedef int (*open_index_fn)(struct ll_disk *ll); 54 typedef dm_block_t (*max_index_entries_fn)(struct ll_disk *ll); 55 typedef int (*commit_fn)(struct ll_disk *ll); 107 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks); 108 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result); 109 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result); 110 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, [all …]
|
D | dm-space-map-disk.c | 27 struct ll_disk ll; member 45 return sm_ll_extend(&smd->ll, extra_blocks); in sm_disk_extend() 68 return sm_ll_lookup(&smd->ll, b, result); in sm_disk_get_count() 94 r = sm_ll_insert(&smd->ll, b, count, &ev); in sm_disk_set_count() 132 r = sm_ll_inc(&smd->ll, b, &ev); in sm_disk_inc_block() 150 r = sm_ll_dec(&smd->ll, b, &ev); in sm_disk_dec_block() 171 * Any block we allocate has to be free in both the old and current ll. in sm_disk_new_block() 173 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block() 178 r = sm_ll_inc(&smd->ll, *b, &ev); in sm_disk_new_block() 197 r = sm_ll_commit(&smd->ll); in sm_disk_commit() [all …]
|
D | dm-space-map-metadata.c | 169 struct ll_disk ll; member 200 r = sm_ll_inc(&smm->ll, op->block, &ev); in commit_bop() 204 r = sm_ll_dec(&smm->ll, op->block, &ev); in commit_bop() 285 *count = smm->ll.nr_blocks; in sm_metadata_get_nr_blocks() 331 r = sm_ll_lookup(&smm->ll, b, result); in sm_metadata_get_count() 377 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc); in sm_metadata_count_is_more_than_one() 405 r = sm_ll_insert(&smm->ll, b, count, &ev); in sm_metadata_set_count() 421 r = sm_ll_inc(&smm->ll, b, &ev); in sm_metadata_inc_block() 438 r = sm_ll_dec(&smm->ll, b, &ev); in sm_metadata_dec_block() 452 * Any block we allocate has to be free in both the old and current ll. in sm_metadata_new_block_() [all …]
|
/Linux-v5.10/drivers/bluetooth/ |
D | hci_ll.c | 89 struct ll_struct *ll = hu->priv; in send_hcill_cmd() local 105 skb_queue_tail(&ll->txq, skb); in send_hcill_cmd() 113 struct ll_struct *ll; in ll_open() local 117 ll = kzalloc(sizeof(*ll), GFP_KERNEL); in ll_open() 118 if (!ll) in ll_open() 121 skb_queue_head_init(&ll->txq); in ll_open() 122 skb_queue_head_init(&ll->tx_wait_q); in ll_open() 123 spin_lock_init(&ll->hcill_lock); in ll_open() 125 ll->hcill_state = HCILL_AWAKE; in ll_open() 127 hu->priv = ll; in ll_open() [all …]
|
/Linux-v5.10/drivers/net/ethernet/amd/ |
D | a2065.c | 107 volatile struct lance_regs *ll; member 130 volatile struct lance_regs *ll = lp->ll; in load_csrs() local 134 ll->rap = LE_CSR1; in load_csrs() 135 ll->rdp = (leptr & 0xFFFF); in load_csrs() 136 ll->rap = LE_CSR2; in load_csrs() 137 ll->rdp = leptr >> 16; in load_csrs() 138 ll->rap = LE_CSR3; in load_csrs() 139 ll->rdp = lp->busmaster_regval; in load_csrs() 142 ll->rap = LE_CSR0; in load_csrs() 220 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local [all …]
|
D | declance.c | 254 volatile struct lance_regs *ll; member 305 volatile struct lance_regs *ll = lp->ll; in load_csrs() local 313 writereg(&ll->rap, LE_CSR1); in load_csrs() 314 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs() 315 writereg(&ll->rap, LE_CSR2); in load_csrs() 316 writereg(&ll->rdp, leptr >> 16); in load_csrs() 317 writereg(&ll->rap, LE_CSR3); in load_csrs() 318 writereg(&ll->rdp, lp->busmaster_regval); in load_csrs() 321 writereg(&ll->rap, LE_CSR0); in load_csrs() 529 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local [all …]
|
/Linux-v5.10/drivers/misc/ti-st/ |
D | st_ll.c | 4 * HCI-LL module responsible for TI proprietary HCI_LL protocol 85 * enable ST LL */ 86 void st_ll_enable(struct st_data_s *ll) in st_ll_enable() argument 88 ll->ll_state = ST_LL_AWAKE; in st_ll_enable() 92 * disable ST LL */ 93 void st_ll_disable(struct st_data_s *ll) in st_ll_disable() argument 95 ll->ll_state = ST_LL_INVALID; in st_ll_disable() 99 void st_ll_wakeup(struct st_data_s *ll) in st_ll_wakeup() argument 101 if (likely(ll->ll_state != ST_LL_AWAKE)) { in st_ll_wakeup() 102 send_ll_cmd(ll, LL_WAKE_UP_IND); /* WAKE_IND */ in st_ll_wakeup() [all …]
|
/Linux-v5.10/drivers/media/radio/ |
D | radio-tea5777.c | 35 #define TEA5777_W_MUTE_MASK (1LL << 47) 37 #define TEA5777_W_AM_FM_MASK (1LL << 46) 39 #define TEA5777_W_STB_MASK (1LL << 45) 42 #define TEA5777_W_IFCE_MASK (1LL << 29) 44 #define TEA5777_W_IFW_MASK (1LL << 28) 46 #define TEA5777_W_HILO_MASK (1LL << 27) 48 #define TEA5777_W_DBUS_MASK (1LL << 26) 51 #define TEA5777_W_INTEXT_MASK (1LL << 24) 53 #define TEA5777_W_P1_MASK (1LL << 23) 55 #define TEA5777_W_P0_MASK (1LL << 22) [all …]
|
/Linux-v5.10/arch/mips/include/asm/ |
D | atomic.h | 55 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 73 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \ 82 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument 102 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \ 115 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 134 "1: " #ll " %1, %2 # " #pfx "_fetch_" #op "\n" \ 148 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument 149 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ 150 ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ 151 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) [all …]
|
D | sync.h | 103 * Indicate that we need this sync instruction only on systems where LL/SC 115 * store or prefetch) in between an LL & SC can cause the SC instruction to 120 * 1) A memory access appearing prior to the LL in program order may actually 121 * be executed after the LL - this is the reordering case. 124 * instruction) prior to every LL instruction, in between it and any earlier 129 * 2) If a conditional branch exists between an LL & SC with a target outside 130 * of the LL-SC loop, for example an exit upon value mismatch in cmpxchg() 132 * execution of memory accesses from outside of the LL-SC loop. 140 * such that the Invalidate of a competing LL-SC goes 'missing' and SC
|
/Linux-v5.10/include/linux/ |
D | math64.h | 195 u64 ll; in mul_u64_u64_shr() member 206 a0.ll = a; in mul_u64_u64_shr() 207 b0.ll = b; in mul_u64_u64_shr() 209 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr() 210 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr() 211 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr() 212 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr() 224 * The 128-bit result of the multiplication is in rl.ll and rh.ll, in mul_u64_u64_shr() 228 return rl.ll; in mul_u64_u64_shr() 230 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr() [all …]
|
/Linux-v5.10/include/linux/mlx4/ |
D | device.h | 155 MLX4_DEV_CAP_FLAG_RC = 1LL << 0, 156 MLX4_DEV_CAP_FLAG_UC = 1LL << 1, 157 MLX4_DEV_CAP_FLAG_UD = 1LL << 2, 158 MLX4_DEV_CAP_FLAG_XRC = 1LL << 3, 159 MLX4_DEV_CAP_FLAG_SRQ = 1LL << 6, 160 MLX4_DEV_CAP_FLAG_IPOIB_CSUM = 1LL << 7, 161 MLX4_DEV_CAP_FLAG_BAD_PKEY_CNTR = 1LL << 8, 162 MLX4_DEV_CAP_FLAG_BAD_QKEY_CNTR = 1LL << 9, 163 MLX4_DEV_CAP_FLAG_DPDP = 1LL << 12, 164 MLX4_DEV_CAP_FLAG_BLH = 1LL << 15, [all …]
|
/Linux-v5.10/drivers/iio/temperature/ |
D | mlx90632.c | 115 #define MLX90632_REF_12 12LL /* ResCtrlRef value of Ch 1 or Ch 2 */ 116 #define MLX90632_REF_3 12LL /* ResCtrlRef value of Channel 3 */ 479 kGb = ((s64)Gb * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_amb() 480 VR_Ta = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_amb() 481 kGb * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_amb() 484 div64_s64(((s64)ambient_new_raw * 1000000000000LL), in mlx90632_preprocess_temp_amb() 486 return div64_s64(tmp << 19ULL, 1000LL); in mlx90632_preprocess_temp_amb() 495 kKa = ((s64)Ka * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_obj() 496 VR_IR = (s64)ambient_old_raw * 1000000LL + in mlx90632_preprocess_temp_obj() 497 kKa * div64_s64(((s64)ambient_new_raw * 1000LL), in mlx90632_preprocess_temp_obj() [all …]
|
/Linux-v5.10/lib/ |
D | test-kstrtox.c | 241 {"0", 10, 0LL}, in test_kstrtoll_ok() 242 {"1", 10, 1LL}, in test_kstrtoll_ok() 243 {"127", 10, 127LL}, in test_kstrtoll_ok() 244 {"128", 10, 128LL}, in test_kstrtoll_ok() 245 {"129", 10, 129LL}, in test_kstrtoll_ok() 246 {"255", 10, 255LL}, in test_kstrtoll_ok() 247 {"256", 10, 256LL}, in test_kstrtoll_ok() 248 {"257", 10, 257LL}, in test_kstrtoll_ok() 249 {"32767", 10, 32767LL}, in test_kstrtoll_ok() 250 {"32768", 10, 32768LL}, in test_kstrtoll_ok() [all …]
|
D | muldi3.c | 45 __w.ll; \ 51 const DWunion uu = {.ll = u}; in __muldi3() 52 const DWunion vv = {.ll = v}; in __muldi3() 53 DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; in __muldi3() 58 return w.ll; in __muldi3()
|
/Linux-v5.10/tools/perf/pmu-events/arch/x86/ivytown/ |
D | uncore-interconnect.json | 8 "Unit": "QPI LL" 18 "Unit": "QPI LL" 28 "Unit": "QPI LL" 37 "Unit": "QPI LL" 46 "Unit": "QPI LL"
|
/Linux-v5.10/tools/perf/pmu-events/arch/x86/jaketown/ |
D | uncore-interconnect.json | 8 "Unit": "QPI LL" 18 "Unit": "QPI LL" 28 "Unit": "QPI LL" 37 "Unit": "QPI LL" 46 "Unit": "QPI LL"
|
/Linux-v5.10/arch/h8300/lib/ |
D | muldi3.c | 32 __w.ll; } \ 37 const DWunion uu = {.ll = u}; in __muldi3() 38 const DWunion vv = {.ll = v}; in __muldi3() 39 DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; in __muldi3() 44 return w.ll; in __muldi3()
|
/Linux-v5.10/arch/m68k/lib/ |
D | muldi3.c | 66 __w.ll; }) 78 DItype ll; member 87 uu.ll = u, in __muldi3() 88 vv.ll = v; in __muldi3() 90 w.ll = __umulsidi3 (uu.s.low, vv.s.low); in __muldi3() 94 return w.ll; in __muldi3()
|
/Linux-v5.10/arch/microblaze/lib/ |
D | muldi3.c | 43 __w.ll; \ 49 const DWunion uu = {.ll = u}; in __muldi3() 50 const DWunion vv = {.ll = v}; in __muldi3() 51 DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; in __muldi3() 56 return w.ll; in __muldi3()
|
/Linux-v5.10/arch/mips/tools/ |
D | loongson3-llsc-check.c | 18 /* If libc provides le{16,32,64}toh() then we'll use them */ 147 * Every LL must be preceded by a sync instruction in order to ensure in check_ll() 149 * execute after the LL & cause erroneous results. in check_ll() 152 fprintf(stderr, "%" PRIx64 ": LL not preceded by sync\n", pc); in check_ll() 163 fprintf(stderr, "%" PRIx64 ": LL has no matching SC\n", pc); in check_ll() 168 * Check branches within the LL/SC loop target sync instructions, in check_ll() 177 * If the branch target is within the LL/SC loop then we don't in check_ll() 208 fprintf(stderr, "%" PRIx64 ": First instruction in section is an LL\n", in check_code() 225 /* Now scan through the code looking for LL instructions */ in check_code()
|
/Linux-v5.10/drivers/media/tuners/ |
D | tuner-xc2028-types.h | 112 #define V4L2_STD_A2_A (1LL<<32) 113 #define V4L2_STD_A2_B (1LL<<33) 114 #define V4L2_STD_NICAM_A (1LL<<34) 115 #define V4L2_STD_NICAM_B (1LL<<35) 116 #define V4L2_STD_AM (1LL<<36) 117 #define V4L2_STD_BTSC (1LL<<37) 118 #define V4L2_STD_EIAJ (1LL<<38)
|
/Linux-v5.10/kernel/locking/ |
D | test-ww_mutex.c | 442 struct reorder_lock *ll, *ln; in stress_reorder_work() local 451 ll = kmalloc(sizeof(*ll), GFP_KERNEL); in stress_reorder_work() 452 if (!ll) in stress_reorder_work() 455 ll->lock = &stress->locks[order[n]]; in stress_reorder_work() 456 list_add(&ll->link, &locks); in stress_reorder_work() 464 list_for_each_entry(ll, &locks, link) { in stress_reorder_work() 465 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work() 469 ln = ll; in stress_reorder_work() 479 ww_mutex_lock_slow(ll->lock, &ctx); in stress_reorder_work() 480 list_move(&ll->link, &locks); /* restarts iteration */ in stress_reorder_work() [all …]
|
/Linux-v5.10/arch/powerpc/boot/dts/ |
D | ps3.dts | 21 * We'll get the size of the bootmem block from lv1 after startup, 22 * so we'll put a null entry here. 34 * we'll put a null entries here. These will be initialized after 38 * threads is with an ibm,ppc-interrupt-server#s entry. We'll put one
|