Home
last modified time | relevance | path

Searched refs:ll (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/linux-5.19.10/drivers/md/persistent-data/
Ddm-space-map-common.c193 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init() argument
195 memset(ll, 0, sizeof(struct ll_disk)); in sm_ll_init()
197 ll->tm = tm; in sm_ll_init()
199 ll->bitmap_info.tm = tm; in sm_ll_init()
200 ll->bitmap_info.levels = 1; in sm_ll_init()
207 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init()
208 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init()
209 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init()
210 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init()
212 ll->ref_count_info.tm = tm; in sm_ll_init()
[all …]
Ddm-space-map-common.h50 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);
117 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks);
118 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
119 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result);
120 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin,
[all …]
Ddm-space-map-disk.c27 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()
93 r = sm_ll_insert(&smd->ll, b, count, &nr_allocations); in sm_disk_set_count()
107 r = sm_ll_inc(&smd->ll, b, e, &nr_allocations); in sm_disk_inc_blocks()
120 r = sm_ll_dec(&smd->ll, b, e, &nr_allocations); in sm_disk_dec_blocks()
136 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block()
142 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block()
149 r = sm_ll_inc(&smd->ll, *b, *b + 1, &nr_allocations); in sm_disk_new_block()
162 r = sm_ll_commit(&smd->ll); in sm_disk_commit()
[all …]
Ddm-space-map-metadata.c169 struct ll_disk ll; member
199 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
203 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
284 *count = smm->ll.nr_blocks; in sm_metadata_get_nr_blocks()
330 r = sm_ll_lookup(&smm->ll, b, result); in sm_metadata_get_count()
376 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc); in sm_metadata_count_is_more_than_one()
404 r = sm_ll_insert(&smm->ll, b, count, &nr_allocations); in sm_metadata_set_count()
422 r = sm_ll_inc(&smm->ll, b, e, &nr_allocations); in sm_metadata_inc_blocks()
439 r = sm_ll_dec(&smm->ll, b, e, &nr_allocations); in sm_metadata_dec_blocks()
455 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_()
[all …]
/linux-5.19.10/drivers/bluetooth/
Dhci_ll.c89 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-5.19.10/drivers/net/ethernet/amd/
Da2065.c107 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 …]
Ddeclance.c254 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-5.19.10/drivers/misc/ti-st/
Dst_ll.c86 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()
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()
103 ll->ll_state = ST_LL_ASLEEP_TO_AWAKE; in st_ll_wakeup()
111 unsigned long st_ll_getstate(struct st_data_s *ll) in st_ll_getstate() argument
113 pr_debug(" returning state %ld", ll->ll_state); in st_ll_getstate()
[all …]
/linux-5.19.10/arch/mips/include/asm/
Datomic.h55 #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
103 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \
116 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
136 "1: " #ll " %1, %2 # " #pfx "_fetch_" #op "\n" \
150 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument
151 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \
152 ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \
153 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
[all …]
/linux-5.19.10/include/linux/
Dmath64.h196 u64 ll; in mul_u64_u64_shr() member
207 a0.ll = a; in mul_u64_u64_shr()
208 b0.ll = b; in mul_u64_u64_shr()
210 rl.ll = mul_u32_u32(a0.l.low, b0.l.low); in mul_u64_u64_shr()
211 rm.ll = mul_u32_u32(a0.l.low, b0.l.high); in mul_u64_u64_shr()
212 rn.ll = mul_u32_u32(a0.l.high, b0.l.low); in mul_u64_u64_shr()
213 rh.ll = mul_u32_u32(a0.l.high, b0.l.high); in mul_u64_u64_shr()
229 return rl.ll; in mul_u64_u64_shr()
231 return (rl.ll >> shift) | (rh.ll << (64 - shift)); in mul_u64_u64_shr()
232 return rh.ll >> (shift & 63); in mul_u64_u64_shr()
[all …]
Dmath.h39 #define DIV_ROUND_DOWN_ULL(ll, d) \ argument
40 ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; })
42 #define DIV_ROUND_UP_ULL(ll, d) \ argument
43 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
46 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d) argument
48 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP(ll,d) argument
/linux-5.19.10/arch/m68k/lib/
Dmuldi3.c66 __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()
Dashldi3.c31 DItype ll; member
44 uu.ll = u; in __ashldi3()
59 return w.ll; in __ashldi3()
Dlshrdi3.c31 DItype ll; member
44 uu.ll = u; in __lshrdi3()
59 return w.ll; in __lshrdi3()
Dashrdi3.c31 DItype ll; member
44 uu.ll = u; in __ashrdi3()
60 return w.ll; in __ashrdi3()
/linux-5.19.10/lib/
Dmuldi3.c45 __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()
Dinflate.c844 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-5.19.10/arch/microblaze/lib/
Dmuldi3.c43 __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-5.19.10/kernel/locking/
Dtest-ww_mutex.c482 struct reorder_lock *ll, *ln; in stress_reorder_work() local
491 ll = kmalloc(sizeof(*ll), GFP_KERNEL); in stress_reorder_work()
492 if (!ll) in stress_reorder_work()
495 ll->lock = &stress->locks[order[n]]; in stress_reorder_work()
496 list_add(&ll->link, &locks); in stress_reorder_work()
504 list_for_each_entry(ll, &locks, link) { in stress_reorder_work()
505 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work()
509 ln = ll; in stress_reorder_work()
519 ww_mutex_lock_slow(ll->lock, &ctx); in stress_reorder_work()
520 list_move(&ll->link, &locks); /* restarts iteration */ in stress_reorder_work()
[all …]
/linux-5.19.10/tools/testing/selftests/kvm/x86_64/
Dhyperv_clock.c23 u64 ll; in mul_u64_u64_shr64() member
30 a0.ll = a; in mul_u64_u64_shr64()
31 b0.ll = b; in mul_u64_u64_shr64()
33 rm.ll = (u64)a0.l.low * b0.l.high; in mul_u64_u64_shr64()
34 rn.ll = (u64)a0.l.high * b0.l.low; in mul_u64_u64_shr64()
35 rh.ll = (u64)a0.l.high * b0.l.high; in mul_u64_u64_shr64()
40 return rh.ll; in mul_u64_u64_shr64()
/linux-5.19.10/arch/powerpc/kernel/
Dalign.c111 u64 ll; in emulate_spe() member
139 data.ll = 0; in emulate_spe()
165 temp.ll = data.ll = 0; in emulate_spe()
192 data.ll = temp.ll; in emulate_spe()
230 data.ll = swab64(data.ll); in emulate_spe()
/linux-5.19.10/arch/powerpc/boot/dts/
Dps3.dts21 * 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
/linux-5.19.10/net/can/
Disotp.c143 struct can_isotp_ll_options ll; member
209 nskb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), gfp_any()); in isotp_send_fc()
226 skb_put_zero(nskb, so->ll.mtu); in isotp_send_fc()
245 ncf->flags = so->ll.tx_flags; in isotp_send_fc()
628 if (skb->len != so->ll.mtu) in isotp_rcv()
747 skb = alloc_skb(so->ll.mtu + sizeof(struct can_skb_priv), GFP_ATOMIC); in isotp_send_cframe()
758 skb_put_zero(skb, so->ll.mtu); in isotp_send_cframe()
768 cf->flags = so->ll.tx_flags; in isotp_send_cframe()
972 skb = sock_alloc_send_skb(sk, so->ll.mtu + sizeof(struct can_skb_priv), in isotp_sendmsg()
987 skb_put_zero(skb, so->ll.mtu); in isotp_sendmsg()
[all …]
/linux-5.19.10/fs/ntfs/
Dmft.c1129 s64 pass_end, ll, data_pos, pass_start, ofs, bit; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() local
1149 ll = NTFS_I(vol->mftbmp_ino)->initialized_size << 3; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1151 if (pass_end > ll) in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1152 pass_end = ll; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1178 ll = ((pass_end + 7) >> 3) - ofs; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1179 if (size > ll) in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1180 size = ll; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1207 ll = data_pos + (bit & ~7ull) + b; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1208 if (unlikely(ll > (1ll << 32))) { in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
1219 (long long)ll); in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock()
[all …]
/linux-5.19.10/tools/testing/selftests/net/
Dpsock_tpacket.c70 struct sockaddr_ll ll; member
377 struct sockaddr_ll ll = { in walk_tx() local
403 ll.sll_ifindex = if_nametoindex("lo"); in walk_tx()
404 ret = bind(rcv_sock, (struct sockaddr *) &ll, sizeof(ll)); in walk_tx()
732 ring->ll.sll_family = PF_PACKET; in bind_ring()
733 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
734 ring->ll.sll_ifindex = if_nametoindex("lo"); in bind_ring()
735 ring->ll.sll_hatype = 0; in bind_ring()
736 ring->ll.sll_pkttype = 0; in bind_ring()
737 ring->ll.sll_halen = 0; in bind_ring()
[all …]

12345678910>>...15