/linux/drivers/md/persistent-data/ |
A D | dm-space-map-common.c | 247 if (nr_indexes > ll->max_entries(ll)) { in sm_ll_extend() 271 r = ll->save_ie(ll, i, &idx); in sm_ll_extend() 287 r = ll->load_ie(ll, index, &ie_disk); in sm_ll_lookup_bitmap() 352 r = ll->load_ie(ll, i, &ie_disk); in sm_ll_find_free_block() 428 r = ll->load_ie(ll, index, &ie_disk); in sm_ll_insert() 497 return ll->save_ie(ll, index, &ie_disk); in sm_ll_insert() 941 r = ll->commit(ll); in sm_ll_commit() 1038 r = ll->init_index(ll); in sm_ll_new_metadata() 1082 return ll->open_index(ll); in sm_ll_open_metadata() 1213 r = ll->init_index(ll); in sm_ll_new_disk() [all …]
|
A D | dm-space-map-common.h | 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, 133 int sm_ll_commit(struct ll_disk *ll); 139 int sm_ll_new_disk(struct ll_disk *ll, struct dm_transaction_manager *tm); [all …]
|
A 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() 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() 162 r = sm_ll_commit(&smd->ll); in sm_disk_commit() 184 root_le.nr_blocks = cpu_to_le64(smd->ll.nr_blocks); in sm_disk_copy_root() 230 r = sm_ll_new_disk(&smd->ll, tm); in dm_sm_disk_create() 234 r = sm_ll_extend(&smd->ll, nr_blocks); in dm_sm_disk_create() [all …]
|
A D | dm-space-map-metadata.c | 169 struct ll_disk ll; member 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() 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_() 510 r = sm_ll_commit(&smm->ll); in sm_metadata_commit() 597 *count = smm->ll.nr_blocks; in sm_bootstrap_get_nr_blocks() 644 if (smm->begin == smm->ll.nr_blocks) in sm_bootstrap_new_block() 719 dm_block_t old_len = smm->ll.nr_blocks; in sm_metadata_extend() 751 r = sm_ll_commit(&smm->ll); in sm_metadata_extend() 796 r = sm_ll_new_metadata(&smm->ll, tm); in dm_sm_metadata_create() [all …]
|
/linux/drivers/bluetooth/ |
A D | hci_ll.c | 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() 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 D | a2065.c | 130 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 D | declance.c | 305 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 D | st_ll.c | 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() 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 D | atomic.h | 74 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \ 104 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \ 137 "1: " #ll " %1, %2 # " #pfx "_fetch_" #op "\n" \ 152 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ 156 ATOMIC_OPS(atomic, add, int, +=, addu, ll, sc) 157 ATOMIC_OPS(atomic, sub, int, -=, subu, ll, sc) 178 ATOMIC_OPS(atomic, and, int, &=, and, ll, sc) 179 ATOMIC_OPS(atomic, or, int, |=, or, ll, sc) 180 ATOMIC_OPS(atomic, xor, int, ^=, xor, ll, sc) 208 #define ATOMIC_SIP_OP(pfx, type, op, ll, sc) \ argument [all …]
|
/linux/include/linux/ |
A D | math64.h | 196 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() 271 rl.ll = mul_u32_u32(u.l.low, mul); in mul_u64_u32_div() 278 do_div(rl.ll, divisor); in mul_u64_u32_div() [all …]
|
A D | math.h | 38 #define DIV_ROUND_DOWN_ULL(ll, d) \ argument 39 ({ unsigned long long _tmp = (ll); do_div(_tmp, d); _tmp; }) 41 #define DIV_ROUND_UP_ULL(ll, d) \ argument 42 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d)) 45 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d) argument 47 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP(ll,d) argument
|
/linux/arch/m68k/lib/ |
A 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()
|
A D | ashldi3.c | 31 DItype ll; member 44 uu.ll = u; in __ashldi3() 59 return w.ll; in __ashldi3()
|
A D | lshrdi3.c | 31 DItype ll; member 44 uu.ll = u; in __lshrdi3() 59 return w.ll; in __lshrdi3()
|
/linux/lib/ |
A 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()
|
A D | inflate.c | 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() 958 ll[i++] = 0; in inflate_dynamic() [all …]
|
/linux/arch/microblaze/lib/ |
A 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/arch/h8300/lib/ |
A 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/net/can/ |
A D | isotp.c | 224 ncf->flags = so->ll.tx_flags; in isotp_send_fc() 607 if (skb->len != so->ll.mtu) in isotp_rcv() 959 cf->flags = so->ll.tx_flags; in isotp_sendmsg() 1140 if (dev->mtu < so->ll.mtu) { in isotp_bind() 1261 if (ll.tx_dl != padlen(ll.tx_dl)) in isotp_setsockopt_locked() 1264 if (ll.mtu != CAN_MTU && ll.mtu != CANFD_MTU) in isotp_setsockopt_locked() 1267 if (ll.mtu == CAN_MTU && in isotp_setsockopt_locked() 1268 (ll.tx_dl > CAN_MAX_DLEN || ll.tx_flags != 0)) in isotp_setsockopt_locked() 1271 memcpy(&so->ll, &ll, sizeof(ll)); in isotp_setsockopt_locked() 1274 so->tx.ll_dl = ll.tx_dl; in isotp_setsockopt_locked() [all …]
|
/linux/kernel/locking/ |
A D | test-ww_mutex.c | 482 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() 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() 524 list_for_each_entry(ll, &locks, link) in stress_reorder_work() 525 ww_mutex_unlock(ll->lock); in stress_reorder_work() [all …]
|
/linux/fs/ntfs/ |
A D | mft.c | 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() 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() 1220 return ll; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() 1276 s64 ll; in ntfs_mft_bitmap_extend_allocation_nolock() local 1324 ll = lcn >> 3; in ntfs_mft_bitmap_extend_allocation_nolock() 1326 ll >> PAGE_SHIFT); in ntfs_mft_bitmap_extend_allocation_nolock() 1409 if (ll >= rl2->vcn) in ntfs_mft_bitmap_extend_allocation_nolock() 1713 s64 min_nr, nr, ll; in ntfs_mft_data_extend_allocation_nolock() local [all …]
|
/linux/arch/powerpc/kernel/ |
A D | align.c | 111 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/tools/testing/selftests/kvm/x86_64/ |
A D | hyperv_clock.c | 23 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/boot/dts/ |
A 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
|
/linux/tools/testing/selftests/net/ |
A D | psock_tpacket.c | 70 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 …]
|