/linux/drivers/bluetooth/ |
H A 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/drivers/net/wireless/intel/iwlwifi/mld/ |
H A D | low_latency.c | 22 struct iwl_mld_low_latency *ll = &mld->low_latency; in iwl_mld_calc_low_latency() local 33 if (!ll->window_start[mac_id]) in iwl_mld_calc_low_latency() 37 time_after(timestamp, ll->window_start[mac_id] + in iwl_mld_calc_low_latency() 41 ll->window_start[mac_id] = timestamp; in iwl_mld_calc_low_latency() 131 struct iwl_mld_low_latency *ll = &mld->low_latency; in iwl_mld_low_latency_init() local 134 ll->pkts_counters = kcalloc(mld->trans->info.num_rxqs, in iwl_mld_low_latency_init() 135 sizeof(*ll->pkts_counters), GFP_KERNEL); in iwl_mld_low_latency_init() 136 if (!ll->pkts_counters) in iwl_mld_low_latency_init() 140 spin_lock_init(&ll->pkts_counters[q].lock); in iwl_mld_low_latency_init() 142 wiphy_delayed_work_init(&ll->work, iwl_mld_low_latency_wk); in iwl_mld_low_latency_init() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_subreg.c | 29 r0 = 0x100000000 ll; \ in add32_reg_zero_extend_check() 45 r1 = 0x1000000000 ll; \ in add32_imm_zero_extend_check() 57 r1 = 0x1000000000 ll; \ in add32_imm_zero_extend_check() 76 r0 = 0x1ffffffff ll; \ in sub32_reg_zero_extend_check() 92 r1 = 0x1000000000 ll; \ in sub32_imm_zero_extend_check() 98 r1 = 0x1000000000 ll; \ in sub32_imm_zero_extend_check() 117 r0 = 0x100000001 ll; \ in mul32_reg_zero_extend_check() 133 r1 = 0x1000000000 ll; \ in mul32_imm_zero_extend_check() 139 r1 = 0x1000000000 ll; \ in mul32_imm_zero_extend_check() 174 r1 = 0x1000000000 ll; \ in div32_imm_zero_extend_check() [all …]
|
H A D | verifier_runtime_jit.c | 59 r2 = %[map_prog1_socket] ll; \ in dummy_prog_loop1_socket() 75 r2 = %[map_prog2_socket] ll; \ in dummy_prog_loop2_socket() 92 r2 = %[map_prog1_socket] ll; \ in call_within_bounds_prog_once() 109 r2 = %[map_prog1_socket] ll; \ in call_within_bounds_prog_loop() 126 r2 = %[map_prog1_socket] ll; \ in call_within_bounds_no_prog() 143 r2 = %[map_prog1_socket] ll; \ in call_within_bounds_key_2() 164 r2 = %[map_prog1_socket] ll; \ in _2_key_2_first_branch() 167 r2 = %[map_prog1_socket] ll; \ in _2_key_2_first_branch() 189 r2 = %[map_prog1_socket] ll; \ in _2_key_2_second_branch() 192 r2 = %[map_prog1_socket] ll; \ in _2_key_2_second_branch() [all …]
|
H A D | verifier_helper_value_access.c | 51 r1 = %[map_hash_48b] ll; \ in access_to_map_full_range() 77 r1 = %[map_hash_48b] ll; \ in access_to_map_partial_range() 107 r1 = %[map_hash_48b] ll; \ in access_to_map_empty_range() 134 r1 = %[map_hash_48b] ll; \ in access_to_map_possibly_empty_range() 163 r1 = %[map_hash_48b] ll; \ in map_out_of_bound_range() 189 r1 = %[map_hash_48b] ll; \ in access_to_map_negative_range() 214 r1 = %[map_hash_48b] ll; \ in via_const_imm_full_range() 242 r1 = %[map_hash_48b] ll; \ in via_const_imm_partial_range() 269 r1 = %[map_hash_48b] ll; \ in via_const_imm_empty_range() 295 r1 = %[map_hash_48b] ll; \ in imm_out_of_bound_range() [all …]
|
H A D | verifier_value_ptr_arith.c | 56 r1 = %[map_hash_16b] ll; \ in value_ptr_unknown_vs_const() 58 l0_%=: r1 = %[map_array_48b] ll; \ in value_ptr_unknown_vs_const() 94 r1 = %[map_hash_16b] ll; \ in value_ptr_const_vs_unknown() 96 l0_%=: r1 = %[map_array_48b] ll; \ in value_ptr_const_vs_unknown() 132 r1 = %[map_hash_16b] ll; \ in ptr_const_vs_const_ne() 134 l0_%=: r1 = %[map_array_48b] ll; \ in ptr_const_vs_const_ne() 166 r1 = %[map_hash_16b] ll; \ in ptr_const_vs_const_eq() 168 l0_%=: r1 = %[map_array_48b] ll; \ in ptr_const_vs_const_eq() 200 r1 = %[map_hash_16b] ll; \ in ptr_unknown_vs_unknown_eq() 202 l0_%=: r1 = %[map_array_48b] ll; \ in ptr_unknown_vs_unknown_eq() [all …]
|
H A D | verifier_helper_restricted.c | 97 r1 = %[map_timer] ll; \ in in_bpf_prog_type_kprobe_2() 101 r2 = %[map_timer] ll; \ in in_bpf_prog_type_kprobe_2() 122 r1 = %[map_timer] ll; \ in bpf_prog_type_perf_event_2() 126 r2 = %[map_timer] ll; \ in bpf_prog_type_perf_event_2() 147 r1 = %[map_timer] ll; \ in in_bpf_prog_type_tracepoint_2() 151 r2 = %[map_timer] ll; \ in in_bpf_prog_type_tracepoint_2() 172 r1 = %[map_timer] ll; \ in bpf_prog_type_raw_tracepoint_2() 176 r2 = %[map_timer] ll; \ in bpf_prog_type_raw_tracepoint_2() 197 r1 = %[map_spin_lock] ll; \ in in_bpf_prog_type_kprobe_3() 220 r1 = %[map_spin_lock] ll; \ in in_bpf_prog_type_tracepoint_3() [all …]
|
H A D | verifier_cgroup_storage.c | 37 r1 = %[cgroup_storage] ll; \ in valid_cgroup_storage_access() 57 r1 = %[map_hash_8b] ll; \ in invalid_cgroup_storage_access_1() 96 r1 = %[cgroup_storage] ll; \ in invalid_cgroup_storage_access_3() 117 r1 = %[cgroup_storage] ll; \ in __flag() 137 r1 = %[cgroup_storage] ll; \ in invalid_cgroup_storage_access_5() 157 r1 = %[cgroup_storage] ll; \ in invalid_cgroup_storage_access_6() 176 r1 = %[percpu_cgroup_storage] ll; \ in per_cpu_cgroup_storage_access() 196 r1 = %[map_hash_8b] ll; \ in cpu_cgroup_storage_access_1() 235 r1 = %[percpu_cgroup_storage] ll; \ in cpu_cgroup_storage_access_3() 256 r1 = %[cgroup_storage] ll; \ in __flag() [all …]
|
H A D | verifier_map_ptr_mixing.c | 93 r2 = %[map_prog1_socket] ll; \ in dummy_prog_loop1_socket() 109 r2 = %[map_prog2_socket] ll; \ in dummy_prog_loop2_socket() 151 r0 = %[map_hash_48b] ll; \ in pointers_for_lookup_hash_array__1() 162 r0 = %[map_array_48b] ll; \ in pointers_for_lookup_hash_array__2() 201 r0 = %[map_array_48b] ll; \ in lookup_hash_map_in_map__1() 212 r0 = %[map_in_map] ll; \ in lookup_hash_map_in_map__2() 228 r2 = %[map_prog2_socket] ll; \ in pointers_for_lookup_tail_tail_1() 230 l0_%=: r2 = %[map_prog1_socket] ll; \ in pointers_for_lookup_tail_tail_1() 251 r2 = %[map_prog2_socket] ll; \ in pointers_for_lookup_tail_tail_2() 253 l0_%=: r2 = %[map_prog2_socket] ll; \ in pointers_for_lookup_tail_tail_2()
|
H A D | verifier_array_access.c | 63 r1 = %[map_hash_48b] ll; \ in an_array_with_a_constant_1() 87 r1 = %[map_hash_48b] ll; \ in __flag() 114 r1 = %[map_hash_48b] ll; \ in __flag() 143 r1 = %[map_hash_48b] ll; \ in __flag() 176 r1 = %[map_hash_48b] ll; \ in an_array_with_a_constant_2() 202 r1 = %[map_hash_48b] ll; \ in __flag() 232 r1 = %[map_hash_48b] ll; \ in __flag() 260 r1 = %[map_hash_48b] ll; \ in __flag() 292 r1 = %[map_hash_48b] ll; \ in __flag() 324 r1 = %[map_hash_48b] ll; \ in __flag() [all …]
|
H A D | verifier_spin_lock.c | 31 r1 = %[map_spin_lock] ll; \ in spin_lock_test1_success() 64 r1 = %[map_spin_lock] ll; \ in lock_test2_direct_ld_st() 98 r1 = %[map_spin_lock] ll; \ in __flag() 132 r1 = %[map_spin_lock] ll; \ in __flag() 165 r1 = %[map_spin_lock] ll; \ in call_within_a_locked_region() 199 r1 = %[map_spin_lock] ll; \ in spin_lock_test6_missing_unlock() 233 r1 = %[map_spin_lock] ll; \ in lock_test7_unlock_without_lock() 267 r1 = %[map_spin_lock] ll; \ in spin_lock_test8_double_lock() 303 r1 = %[map_spin_lock] ll; \ in spin_lock_test9_different_lock() 310 r1 = %[map_spin_lock] ll; \ in spin_lock_test9_different_lock() [all …]
|
H A D | verifier_value_or_null.c | 39 r1 = %[map_hash_8b] ll; \ in share_map_lookup_elem_result() 62 r1 = %[map_hash_8b] ll; \ in map_value_or_null_1() 87 r1 = %[map_hash_8b] ll; \ in map_value_or_null_2() 111 r1 = %[map_hash_8b] ll; \ in map_value_or_null_3() 135 r1 = %[map_hash_8b] ll; \ in multiple_map_lookup_elem_calls() 163 r1 = %[map_hash_8b] ll; \ in with_2nd_lookup_in_branch() 195 r1 = %[map_hash_48b] ll; \ in __flag() 224 r1 = %[map_hash_8b] ll; \ in lookup_and_null_branch_prediction() 250 r1 = %[map_hash_8b] ll; \ in __flag() 256 r1 = %[map_hash_8b] ll; \ in __flag()
|
H A D | verifier_map_in_map.c | 31 r1 = %[map_in_map] ll; \ in map_in_map_access() 60 r1 = %[map_in_map] ll; \ in __flag() 69 r1 = %[map_in_map] ll; \ in __flag() 97 r1 = %[map_in_map] ll; \ in invalid_inner_map_pointer() 126 r1 = %[map_in_map] ll; \ in on_the_inner_map_pointer() 149 r1 = %[map_in_map] ll; \ in map_ptr_is_never_null() 169 r1 = %[map_in_map] ll; \ in map_ptr_is_never_null_inner() 191 r1 = %[map_in_map] ll; \ in map_ptr_is_never_null_inner_spill_fill() 246 * NULL at this point, we'll get "BPF_EXIT instruction in main in __rb_event_submit()
|
H A D | verifier_bounds_mix_sign_unsign.c | 28 r1 = %[map_hash_8b] ll; \ in signed_and_unsigned_positive_bounds() 60 r1 = %[map_hash_8b] ll; \ in checks_mixing_signed_and_unsigned() 92 r1 = %[map_hash_8b] ll; \ in signed_and_unsigned_variant_2() 126 r1 = %[map_hash_8b] ll; \ in signed_and_unsigned_variant_3() 158 r1 = %[map_hash_8b] ll; \ in signed_and_unsigned_variant_4() 190 r1 = %[map_hash_8b] ll; \ in signed_and_unsigned_variant_5() 253 r1 = %[map_hash_8b] ll; \ in signed_and_unsigned_variant_7() 286 r1 = %[map_hash_8b] ll; \ in signed_and_unsigned_variant_8() 319 r1 = %[map_hash_8b] ll; \ in signed_and_unsigned_variant_9() 323 r2 = -9223372036854775808ULL ll; \ in signed_and_unsigned_variant_9() [all …]
|
/linux/drivers/net/ethernet/amd/ |
H A 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 …]
|
H A 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/drivers/media/radio/ |
H A 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/drivers/md/persistent-data/ |
H A D | dm-space-map-common.h | 51 typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result); 52 typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie); 53 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, [all …]
|
H A D | dm-space-map-disk.c | 28 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() 97 r = sm_ll_insert(&smd->ll, b, count, &nr_allocations); in sm_disk_set_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() 137 * Any block we allocate has to be free in both the old and current ll. in sm_disk_new_block() 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() 145 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block() 151 r = sm_ll_inc(&smd->ll, *b, *b + 1, &nr_allocations); in sm_disk_new_block() [all …]
|
H A D | dm-space-map-metadata.c | 171 struct ll_disk ll; member 202 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop() 206 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop() 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() 379 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc); in sm_metadata_count_is_more_than_one() 407 r = sm_ll_insert(&smm->ll, b, count, &nr_allocations); in sm_metadata_set_count() 425 r = sm_ll_inc(&smm->ll, b, e, &nr_allocations); in sm_metadata_inc_blocks() 442 r = sm_ll_dec(&smm->ll, b, e, &nr_allocations); in sm_metadata_dec_blocks() 456 * Any block we allocate has to be free in both the old and current ll. in sm_metadata_new_block_() [all …]
|
/linux/arch/mips/include/asm/ |
H A D | atomic.h | 44 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 62 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \ 71 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument 92 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \ 105 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 125 "1: " #ll " %1, %2 # " #pfx "_fetch_" #op "\n" \ 139 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument 140 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ 141 ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ 142 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) [all …]
|
/linux/include/linux/mlx4/ |
H A 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/include/linux/ |
H 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() 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() 225 * The 128-bit result of the multiplication is in rl.ll and rh.ll, 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() [all …]
|
/linux/lib/ |
H A 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 …]
|
/linux/fs/fat/ |
H A D | fat_test.c | 35 .ts = {.tv_sec = 315532800LL, .tv_nsec = 0L}, 43 .ts = {.tv_sec = 4354819198LL, .tv_nsec = 0L}, 51 .ts = {.tv_sec = 315493200LL, .tv_nsec = 0L}, 59 .ts = {.tv_sec = 4354858798LL, .tv_nsec = 0L}, 67 .ts = {.tv_sec = 825552000LL, .tv_nsec = 0L}, 75 .ts = {.tv_sec = 951782400LL, .tv_nsec = 0L}, 83 .ts = {.tv_sec = 4107542400LL, .tv_nsec = 0L}, 91 .ts = {.tv_sec = 1078014600LL, .tv_nsec = 0L}, 99 .ts = {.tv_sec = 1078097400LL, .tv_nsec = 0L}, 107 .ts = {.tv_sec = 946684799LL, .tv_nsec = 0L}, [all …]
|