Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/md/persistent-data/
A Ddm-space-map-common.c248 if (nr_indexes > ll->max_entries(ll)) { in sm_ll_extend()
272 r = ll->save_ie(ll, i, &idx); in sm_ll_extend()
293 r = ll->load_ie(ll, index, &ie_disk); in sm_ll_lookup_bitmap()
358 r = ll->load_ie(ll, i, &ie_disk); in sm_ll_find_free_block()
434 r = ll->load_ie(ll, index, &ie_disk); in sm_ll_insert()
503 return ll->save_ie(ll, index, &ie_disk); in sm_ll_insert()
949 r = ll->commit(ll); in sm_ll_commit()
1046 r = ll->init_index(ll); in sm_ll_new_metadata()
1090 return ll->open_index(ll); in sm_ll_open_metadata()
1224 r = ll->init_index(ll); in sm_ll_new_disk()
[all …]
A Ddm-space-map-common.h53 typedef int (*init_index_fn)(struct ll_disk *ll);
54 typedef int (*open_index_fn)(struct ll_disk *ll);
55 typedef dm_block_t (*max_index_entries_fn)(struct ll_disk *ll);
56 typedef int (*commit_fn)(struct ll_disk *ll);
118 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks);
119 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
120 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result);
121 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin,
134 int sm_ll_commit(struct ll_disk *ll);
140 int sm_ll_new_disk(struct ll_disk *ll, struct dm_transaction_manager *tm);
[all …]
A Ddm-space-map-disk.c28 struct ll_disk ll; member
46 return sm_ll_extend(&smd->ll, extra_blocks); in sm_disk_extend()
72 return sm_ll_lookup(&smd->ll, b, result); in sm_disk_get_count()
110 r = sm_ll_inc(&smd->ll, b, e, &nr_allocations); in sm_disk_inc_blocks()
123 r = sm_ll_dec(&smd->ll, b, e, &nr_allocations); in sm_disk_dec_blocks()
139 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block()
163 r = sm_ll_commit(&smd->ll); in sm_disk_commit()
185 root_le.nr_blocks = cpu_to_le64(smd->ll.nr_blocks); in sm_disk_copy_root()
231 r = sm_ll_new_disk(&smd->ll, tm); in dm_sm_disk_create()
235 r = sm_ll_extend(&smd->ll, nr_blocks); in dm_sm_disk_create()
[all …]
A Ddm-space-map-metadata.c171 struct ll_disk ll; member
287 *count = smm->ll.nr_blocks; in sm_metadata_get_nr_blocks()
333 r = sm_ll_lookup(&smm->ll, b, result); in sm_metadata_get_count()
458 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_()
514 r = sm_ll_commit(&smm->ll); in sm_metadata_commit()
601 *count = smm->ll.nr_blocks; in sm_bootstrap_get_nr_blocks()
648 if (smm->begin == smm->ll.nr_blocks) in sm_bootstrap_new_block()
723 dm_block_t old_len = smm->ll.nr_blocks; in sm_metadata_extend()
755 r = sm_ll_commit(&smm->ll); in sm_metadata_extend()
800 r = sm_ll_new_metadata(&smm->ll, tm); in dm_sm_metadata_create()
[all …]
/linux/drivers/bluetooth/
A Dhci_ll.c113 struct ll_struct *ll; in ll_open() local
117 ll = kzalloc(sizeof(*ll), GFP_KERNEL); in ll_open()
118 if (!ll) in ll_open()
127 hu->priv = ll; in ll_open()
162 kfree_skb(ll->rx_skb); in ll_close()
174 kfree(ll); in ll_close()
238 __ll_do_awake(ll); in ll_device_want_to_wakeup()
300 __ll_do_awake(ll); in ll_device_woke_up()
370 ll->hcill_state); in ll_recv_frame()
432 ll->rx_skb = h4_recv_buf(hu->hdev, ll->rx_skb, data, count, in ll_recv()
[all …]
/linux/drivers/net/ethernet/amd/
A Da2065.c130 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
220 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
245 volatile struct lance_regs *ll = lp->ll; in lance_rx() local
324 volatile struct lance_regs *ll = lp->ll; in lance_tx() local
414 volatile struct lance_regs *ll = lp->ll; in lance_interrupt() local
462 volatile struct lance_regs *ll = lp->ll; in lance_open() local
486 volatile struct lance_regs *ll = lp->ll; in lance_close() local
502 volatile struct lance_regs *ll = lp->ll; in lance_reset() local
524 volatile struct lance_regs *ll = lp->ll; in lance_tx_timeout() local
535 volatile struct lance_regs *ll = lp->ll; in lance_start_xmit() local
[all …]
A Ddeclance.c305 volatile struct lance_regs *ll = lp->ll; in load_csrs() local
529 volatile struct lance_regs *ll = lp->ll; in init_restart_lance() local
647 volatile struct lance_regs *ll = lp->ll; in lance_tx() local
738 volatile struct lance_regs *ll = lp->ll; in lance_interrupt() local
784 volatile struct lance_regs *ll = lp->ll; in lance_open() local
842 volatile struct lance_regs *ll = lp->ll; in lance_close() local
873 volatile struct lance_regs *ll = lp->ll; in lance_reset() local
890 volatile struct lance_regs *ll = lp->ll; in lance_tx_timeout() local
901 volatile struct lance_regs *ll = lp->ll; in lance_start_xmit() local
976 volatile struct lance_regs *ll = lp->ll; in lance_set_multicast() local
[all …]
/linux/drivers/misc/ti-st/
A 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()
103 ll->ll_state = ST_LL_ASLEEP_TO_AWAKE; in st_ll_wakeup()
114 return ll->ll_state; in st_ll_getstate()
145 long st_ll_init(struct st_data_s *ll) in st_ll_init() argument
148 ll->ll_state = ST_LL_INVALID; in st_ll_init()
[all …]
/linux/arch/mips/include/asm/
A Datomic.h62 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \
92 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \
125 "1: " #ll " %1, %2 # " #pfx "_fetch_" #op "\n" \
140 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \
144 ATOMIC_OPS(atomic, add, int, +=, addu, ll, sc)
145 ATOMIC_OPS(atomic, sub, int, -=, subu, ll, sc)
166 ATOMIC_OPS(atomic, and, int, &=, and, ll, sc)
167 ATOMIC_OPS(atomic, or, int, |=, or, ll, sc)
168 ATOMIC_OPS(atomic, xor, int, ^=, xor, ll, sc)
196 #define ATOMIC_SIP_OP(pfx, type, op, ll, sc) \ argument
[all …]
/linux/include/linux/
A 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()
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()
260 u64 ll; in mul_u64_u32_div() member
270 u.ll = a; in mul_u64_u32_div()
278 do_div(rl.ll, divisor); in mul_u64_u32_div()
281 return rl.ll; in mul_u64_u32_div()
[all …]
A 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/arch/m68k/lib/
A Dmuldi3.c67 __w.ll; })
79 DItype ll; member
88 uu.ll = u; in __muldi3()
89 vv.ll = v; in __muldi3()
91 w.ll = __umulsidi3 (uu.s.low, vv.s.low); in __muldi3()
95 return w.ll; in __muldi3()
/linux/arch/microblaze/lib/
A 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()
A Dcmpdi2.c9 .ll = a in __cmpdi2()
12 .ll = b in __cmpdi2()
/linux/lib/
A 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()
A Dinflate.c852 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()
958 ll[i++] = 0; in inflate_dynamic()
[all …]
/linux/kernel/locking/
A Dtest-ww_mutex.c495 struct reorder_lock *ll, *ln; in stress_reorder_work() local
504 ll = kmalloc(sizeof(*ll), GFP_KERNEL); in stress_reorder_work()
505 if (!ll) in stress_reorder_work()
508 ll->lock = &stress->locks[order[n]]; in stress_reorder_work()
509 list_add(&ll->link, &locks); in stress_reorder_work()
518 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work()
522 ln = ll; in stress_reorder_work()
532 ww_mutex_lock_slow(ll->lock, &ctx); in stress_reorder_work()
537 list_for_each_entry(ll, &locks, link) in stress_reorder_work()
538 ww_mutex_unlock(ll->lock); in stress_reorder_work()
[all …]
/linux/tools/testing/selftests/kvm/x86_64/
A 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/arch/powerpc/kernel/
A 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/arch/powerpc/boot/dts/
A 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/net/can/
A Disotp.c257 ncf->flags = so->ll.tx_flags; in isotp_send_fc()
655 if (skb->len != so->ll.mtu) in isotp_rcv()
795 cf->flags = so->ll.tx_flags; in isotp_send_cframe()
1083 cf->flags = so->ll.tx_flags; in isotp_sendmsg()
1445 if (ll.tx_dl != padlen(ll.tx_dl)) in isotp_setsockopt_locked()
1448 if (ll.mtu != CAN_MTU && ll.mtu != CANFD_MTU) in isotp_setsockopt_locked()
1451 if (ll.mtu == CAN_MTU && in isotp_setsockopt_locked()
1452 (ll.tx_dl > CAN_MAX_DLEN || ll.tx_flags != 0)) in isotp_setsockopt_locked()
1455 memcpy(&so->ll, &ll, sizeof(ll)); in isotp_setsockopt_locked()
1458 so->tx.ll_dl = ll.tx_dl; in isotp_setsockopt_locked()
[all …]
/linux/tools/testing/selftests/net/
A 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 …]
/linux/drivers/net/wireless/ti/wl1251/
A DKconfig11 If you choose to build a module, it'll be called wl1251. Say
22 If you choose to build a module, it'll be called wl1251_spi.
33 If you choose to build a module, it'll be called
/linux/drivers/media/dvb-core/
A Ddvb_vb2.c258 int ll = 0; in dvb_vb2_fill_buffer() local
293 ll = min(todo, ctx->remain); in dvb_vb2_fill_buffer()
295 memcpy(vbuf + ctx->offset, psrc, ll); in dvb_vb2_fill_buffer()
296 todo -= ll; in dvb_vb2_fill_buffer()
297 psrc += ll; in dvb_vb2_fill_buffer()
299 ctx->remain -= ll; in dvb_vb2_fill_buffer()
300 ctx->offset += ll; in dvb_vb2_fill_buffer()
310 vb2_set_plane_payload(&ctx->buf->vb, 0, ll); in dvb_vb2_fill_buffer()
/linux/drivers/nfc/pn533/
A DKconfig16 If you choose to build a module, it'll be called pn533_usb.
27 If you choose to build a module, it'll be called pn533_i2c.
38 If you choose to build a module, it'll be called pn532_uart.

Completed in 36 milliseconds

12345678910>>...15