/Linux-v4.19/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 ll->tm = tm; in sm_ll_init() 195 ll->bitmap_info.tm = tm; in sm_ll_init() 196 ll->bitmap_info.levels = 1; in sm_ll_init() 203 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init() 204 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init() 205 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init() 206 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init() 208 ll->ref_count_info.tm = tm; in sm_ll_init() 209 ll->ref_count_info.levels = 1; 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() 176 r = sm_ll_inc(&smd->ll, *b, &ev); in sm_disk_new_block() 195 r = sm_ll_commit(&smd->ll); in sm_disk_commit() 199 memcpy(&smd->old_ll, &smd->ll, sizeof(smd->old_ll)); in sm_disk_commit() 222 root_le.nr_blocks = cpu_to_le64(smd->ll.nr_blocks); in sm_disk_copy_root() [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() 461 r = sm_ll_inc(&smm->ll, *b, &ev); in sm_metadata_new_block_() [all …]
|
/Linux-v4.19/drivers/bluetooth/ |
D | hci_ll.c | 102 struct ll_struct *ll = hu->priv; in send_hcill_cmd() local 118 skb_queue_tail(&ll->txq, skb); in send_hcill_cmd() 126 struct ll_struct *ll; in ll_open() local 130 ll = kzalloc(sizeof(*ll), GFP_KERNEL); in ll_open() 131 if (!ll) in ll_open() 134 skb_queue_head_init(&ll->txq); in ll_open() 135 skb_queue_head_init(&ll->tx_wait_q); in ll_open() 136 spin_lock_init(&ll->hcill_lock); in ll_open() 138 ll->hcill_state = HCILL_AWAKE; in ll_open() 140 hu->priv = ll; in ll_open() [all …]
|
/Linux-v4.19/drivers/net/ethernet/amd/ |
D | a2065.c | 107 volatile struct lance_regs *ll; member 134 volatile struct lance_regs *ll = lp->ll; in load_csrs() local 138 ll->rap = LE_CSR1; in load_csrs() 139 ll->rdp = (leptr & 0xFFFF); in load_csrs() 140 ll->rap = LE_CSR2; in load_csrs() 141 ll->rdp = leptr >> 16; in load_csrs() 142 ll->rap = LE_CSR3; in load_csrs() 143 ll->rdp = lp->busmaster_regval; in load_csrs() 146 ll->rap = LE_CSR0; in load_csrs() 224 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local [all …]
|
D | declance.c | 253 volatile struct lance_regs *ll; member 304 volatile struct lance_regs *ll = lp->ll; in load_csrs() local 312 writereg(&ll->rap, LE_CSR1); in load_csrs() 313 writereg(&ll->rdp, (leptr & 0xFFFF)); in load_csrs() 314 writereg(&ll->rap, LE_CSR2); in load_csrs() 315 writereg(&ll->rdp, leptr >> 16); in load_csrs() 316 writereg(&ll->rap, LE_CSR3); in load_csrs() 317 writereg(&ll->rdp, lp->busmaster_regval); in load_csrs() 320 writereg(&ll->rap, LE_CSR0); in load_csrs() 528 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local [all …]
|
/Linux-v4.19/drivers/misc/ti-st/ |
D | st_ll.c | 99 void st_ll_enable(struct st_data_s *ll) in st_ll_enable() argument 101 ll->ll_state = ST_LL_AWAKE; in st_ll_enable() 106 void st_ll_disable(struct st_data_s *ll) in st_ll_disable() argument 108 ll->ll_state = ST_LL_INVALID; in st_ll_disable() 112 void st_ll_wakeup(struct st_data_s *ll) in st_ll_wakeup() argument 114 if (likely(ll->ll_state != ST_LL_AWAKE)) { in st_ll_wakeup() 115 send_ll_cmd(ll, LL_WAKE_UP_IND); /* WAKE_IND */ in st_ll_wakeup() 116 ll->ll_state = ST_LL_ASLEEP_TO_AWAKE; in st_ll_wakeup() 124 unsigned long st_ll_getstate(struct st_data_s *ll) in st_ll_getstate() argument 126 pr_debug(" returning state %ld", ll->ll_state); in st_ll_getstate() [all …]
|
/Linux-v4.19/include/linux/ |
D | math64.h | 213 u64 ll; in mul_u64_u64_shr() member 224 a0.ll = a; in mul_u64_u64_shr() 225 b0.ll = b; in mul_u64_u64_shr() 227 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr() 228 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr() 229 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr() 230 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr() 246 return rl.ll; in mul_u64_u64_shr() 248 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr() 249 return rh.ll >> (shift & 63); in mul_u64_u64_shr() [all …]
|
/Linux-v4.19/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()
|
D | ashldi3.c | 31 DItype ll; member 44 uu.ll = u; in __ashldi3() 59 return w.ll; in __ashldi3()
|
D | lshrdi3.c | 31 DItype ll; member 44 uu.ll = u; in __lshrdi3() 59 return w.ll; in __lshrdi3()
|
D | ashrdi3.c | 31 DItype ll; member 44 uu.ll = u; in __ashrdi3() 60 return w.ll; in __ashrdi3()
|
/Linux-v4.19/lib/ |
D | muldi3.c | 57 __w.ll; \ 63 const DWunion uu = {.ll = u}; in __muldi3() 64 const DWunion vv = {.ll = v}; in __muldi3() 65 DWunion w = {.ll = __umulsidi3(uu.s.low, vv.s.low)}; in __muldi3() 70 return w.ll; in __muldi3()
|
D | inflate.c | 844 unsigned *ll; /* literal/length and distance code lengths */ in inflate_dynamic() local 852 ll = malloc(sizeof(*ll) * (288+32)); /* literal/length and distance code lengths */ in inflate_dynamic() 854 ll = malloc(sizeof(*ll) * (286+30)); /* literal/length and distance code lengths */ in inflate_dynamic() 857 if (ll == NULL) in inflate_dynamic() 891 ll[border[j]] = (unsigned)b & 7; in inflate_dynamic() 895 ll[border[j]] = 0; in inflate_dynamic() 901 if ((i = huft_build(ll, 19, 19, NULL, NULL, &tl, &bl)) != 0) in inflate_dynamic() 922 ll[i++] = l = j; /* save last length in l */ in inflate_dynamic() 933 ll[i++] = l; in inflate_dynamic() 945 ll[i++] = 0; in inflate_dynamic() [all …]
|
/Linux-v4.19/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-v4.19/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-v4.19/kernel/locking/ |
D | test-ww_mutex.c | 455 struct reorder_lock *ll, *ln; in stress_reorder_work() local 464 ll = kmalloc(sizeof(*ll), GFP_KERNEL); in stress_reorder_work() 465 if (!ll) in stress_reorder_work() 468 ll->lock = &stress->locks[order[n]]; in stress_reorder_work() 469 list_add(&ll->link, &locks); in stress_reorder_work() 477 list_for_each_entry(ll, &locks, link) { in stress_reorder_work() 478 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work() 482 ln = ll; in stress_reorder_work() 492 ww_mutex_lock_slow(ll->lock, &ctx); in stress_reorder_work() 493 list_move(&ll->link, &locks); /* restarts iteration */ in stress_reorder_work() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | align.c | 115 u64 ll; in emulate_spe() member 148 data.ll = 0; in emulate_spe() 174 temp.ll = data.ll = 0; in emulate_spe() 198 data.ll = temp.ll; in emulate_spe() 236 data.ll = swab64(data.ll); in emulate_spe()
|
/Linux-v4.19/fs/ntfs/ |
D | mft.c | 1143 s64 pass_end, ll, data_pos, pass_start, ofs, bit; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() local 1163 ll = NTFS_I(vol->mftbmp_ino)->initialized_size << 3; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1165 if (pass_end > ll) in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1166 pass_end = ll; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1192 ll = ((pass_end + 7) >> 3) - ofs; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1193 if (size > ll) in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1194 size = ll; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1221 ll = data_pos + (bit & ~7ull) + b; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1222 if (unlikely(ll > (1ll << 32))) { in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1233 (long long)ll); in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() [all …]
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | psock_tpacket.c | 84 struct sockaddr_ll ll; member 391 struct sockaddr_ll ll = { in walk_tx() local 417 ll.sll_ifindex = if_nametoindex("lo"); in walk_tx() 418 ret = bind(rcv_sock, (struct sockaddr *) &ll, sizeof(ll)); in walk_tx() 746 ring->ll.sll_family = PF_PACKET; in bind_ring() 747 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring() 748 ring->ll.sll_ifindex = if_nametoindex("lo"); in bind_ring() 749 ring->ll.sll_hatype = 0; in bind_ring() 750 ring->ll.sll_pkttype = 0; in bind_ring() 751 ring->ll.sll_halen = 0; in bind_ring() [all …]
|
/Linux-v4.19/lib/lzo/ |
D | lzo1x_compress.c | 226 size_t ll = l <= (M4_MAX_OFFSET + 1) ? l : (M4_MAX_OFFSET + 1); in lzo1x_1_compress() local 227 uintptr_t ll_end = (uintptr_t) ip + ll; in lzo1x_1_compress() 228 if ((ll_end + ((t + ll) >> 5)) <= ll_end) in lzo1x_1_compress() 232 t = lzo1x_1_do_compress(ip, ll, op, out_len, t, wrkmem); in lzo1x_1_compress() 233 ip += ll; in lzo1x_1_compress() 235 l -= ll; in lzo1x_1_compress()
|
/Linux-v4.19/arch/powerpc/boot/dts/ |
D | ps3.dts | 33 * We'll get the size of the bootmem block from lv1 after startup, 34 * so we'll put a null entry here. 46 * we'll put a null entries here. These will be initialized after 50 * threads is with an ibm,ppc-interrupt-server#s entry. We'll put one
|
/Linux-v4.19/drivers/media/dvb-core/ |
D | dvb_vb2.c | 266 int ll = 0; in dvb_vb2_fill_buffer() local 301 ll = min(todo, ctx->remain); in dvb_vb2_fill_buffer() 303 memcpy(vbuf + ctx->offset, psrc, ll); in dvb_vb2_fill_buffer() 304 todo -= ll; in dvb_vb2_fill_buffer() 305 psrc += ll; in dvb_vb2_fill_buffer() 307 ctx->remain -= ll; in dvb_vb2_fill_buffer() 308 ctx->offset += ll; in dvb_vb2_fill_buffer() 318 vb2_set_plane_payload(&ctx->buf->vb, 0, ll); in dvb_vb2_fill_buffer()
|
/Linux-v4.19/drivers/net/wireless/ti/wl1251/ |
D | Kconfig | 10 If you choose to build a module, it'll be called wl1251. Say 21 If you choose to build a module, it'll be called wl1251_spi. 32 If you choose to build a module, it'll be called
|