/linux-6.12.1/drivers/net/wireless/broadcom/b43legacy/ |
D | main.h | 25 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes] argument 26 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes) argument 28 #define PAD_BYTES(nr_bytes) P4D_BYTES(__LINE__ , (nr_bytes)) argument
|
/linux-6.12.1/drivers/net/wireless/broadcom/b43/ |
D | main.h | 23 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes] argument 24 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes) argument 26 #define PAD_BYTES(nr_bytes) P4D_BYTES( __LINE__ , (nr_bytes)) argument
|
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | nx_huge_pages_test.c | 110 uint64_t nr_bytes; in run_test() local 133 nr_bytes = HPAGE_SLOT_NPAGES * vm->page_size; in run_test() 145 virt_map_level(vm, HPAGE_GVA, HPAGE_GPA, nr_bytes, PG_LEVEL_4K); in run_test() 147 virt_map_level(vm, HPAGE_GVA, HPAGE_GPA, nr_bytes, PG_LEVEL_2M); in run_test() 150 memset(hva, RETURN_OPCODE, nr_bytes); in run_test()
|
D | private_mem_conversions_test.c | 349 size_t nr_bytes = min_t(size_t, vm->page_size, size - i); in __test_mem_conversions() local 353 memcmp_h(hva, gpa + i, uc.args[3], nr_bytes); in __test_mem_conversions() 357 memset(hva, uc.args[4], nr_bytes); in __test_mem_conversions()
|
/linux-6.12.1/drivers/md/ |
D | dm-path-selector.h | 70 struct dm_path *(*select_path)(struct path_selector *ps, size_t nr_bytes); 90 size_t nr_bytes); 92 size_t nr_bytes, u64 start_time);
|
D | dm-ps-service-time.c | 277 static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) in st_select_path() argument 289 if (!best || (st_compare_load(pi, best, nr_bytes) < 0)) in st_select_path() 305 size_t nr_bytes) in st_start_io() argument 309 atomic_add(nr_bytes, &pi->in_flight_size); in st_start_io() 315 size_t nr_bytes, u64 start_time) in st_end_io() argument 319 atomic_sub(nr_bytes, &pi->in_flight_size); in st_end_io()
|
D | dm-ps-queue-length.c | 191 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) in ql_select_path() argument 224 size_t nr_bytes) in ql_start_io() argument 234 size_t nr_bytes, u64 start_time) in ql_end_io() argument
|
D | dm-mpath.c | 110 size_t nr_bytes; member 303 mpio->nr_bytes = bio->bi_iter.bi_size; in multipath_init_per_bio_data() 379 size_t nr_bytes) in choose_path_in_pg() argument 385 path = pg->ps.type->select_path(&pg->ps, nr_bytes); in choose_path_in_pg() 402 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) in choose_pgpath() argument 426 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 435 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 450 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 512 size_t nr_bytes = blk_rq_bytes(rq); in multipath_clone_and_map() local 522 pgpath = choose_pgpath(m, nr_bytes); in multipath_clone_and_map() [all …]
|
D | dm-ps-historical-service-time.c | 431 size_t nr_bytes) in hst_select_path() argument 462 size_t nr_bytes) in hst_start_io() argument 493 size_t nr_bytes, u64 start_time) in hst_end_io() argument
|
D | dm-rq.c | 83 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio() local 110 tio->completed += nr_bytes; in end_clone_bio()
|
D | dm-ps-round-robin.c | 189 static struct dm_path *rr_select_path(struct path_selector *ps, size_t nr_bytes) in rr_select_path() argument
|
/linux-6.12.1/drivers/acpi/ |
D | nvs.c | 103 unsigned int nr_bytes; in suspend_nvs_register() local 111 nr_bytes = PAGE_SIZE - (start & ~PAGE_MASK); in suspend_nvs_register() 112 entry->size = (size < nr_bytes) ? size : nr_bytes; in suspend_nvs_register()
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | max_guest_memory_test.c | 91 uint64_t gpa, nr_bytes; in spawn_workers() local 101 nr_bytes = ((end_gpa - start_gpa) / nr_vcpus) & in spawn_workers() 103 TEST_ASSERT(nr_bytes, "C'mon, no way you have %d CPUs", nr_vcpus); in spawn_workers() 105 for (i = 0, gpa = start_gpa; i < nr_vcpus; i++, gpa += nr_bytes) { in spawn_workers() 108 info[i].end_gpa = gpa + nr_bytes; in spawn_workers()
|
/linux-6.12.1/include/trace/events/ |
D | block.h | 120 TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes), 122 TP_ARGS(rq, error, nr_bytes), 137 __entry->nr_sector = nr_bytes >> 9; 169 TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes), 171 TP_ARGS(rq, error, nr_bytes) 185 TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes), 187 TP_ARGS(rq, error, nr_bytes)
|
/linux-6.12.1/block/ |
D | t10-pi.c | 176 static void t10_pi_type1_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type1_complete() argument 179 unsigned intervals = nr_bytes >> bi->interval_exp; in t10_pi_type1_complete() 339 static void ext_pi_type1_complete(struct request *rq, unsigned int nr_bytes) in ext_pi_type1_complete() argument 342 unsigned intervals = nr_bytes >> bi->interval_exp; in ext_pi_type1_complete() 462 void blk_integrity_complete(struct request *rq, unsigned int nr_bytes) in blk_integrity_complete() argument 470 ext_pi_type1_complete(rq, nr_bytes); in blk_integrity_complete() 472 t10_pi_type1_complete(rq, nr_bytes); in blk_integrity_complete()
|
/linux-6.12.1/drivers/platform/olpc/ |
D | olpc-xo175-ec.c | 479 size_t nr_bytes; in olpc_xo175_ec_cmd() local 507 nr_bytes = resp_len; in olpc_xo175_ec_cmd() 509 nr_bytes = (size_t)ret; in olpc_xo175_ec_cmd() 512 resp_len = min(resp_len, nr_bytes); in olpc_xo175_ec_cmd() 525 priv->expected_resp_len = nr_bytes; in olpc_xo175_ec_cmd() 552 } else if (priv->resp_len != nr_bytes) { in olpc_xo175_ec_cmd() 554 cmd, priv->resp_len, nr_bytes); in olpc_xo175_ec_cmd()
|
/linux-6.12.1/mm/ |
D | memcontrol.c | 133 unsigned int nr_bytes; in obj_cgroup_release() local 157 nr_bytes = atomic_read(&objcg->nr_charged_bytes); in obj_cgroup_release() 158 WARN_ON_ONCE(nr_bytes & (PAGE_SIZE - 1)); in obj_cgroup_release() 159 nr_pages = nr_bytes >> PAGE_SHIFT; in obj_cgroup_release() 1704 unsigned int nr_bytes; member 2704 stock->nr_bytes = atomic_read(&objcg->nr_charged_bytes) in mod_objcg_state() 2750 static bool consume_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in consume_obj_stock() argument 2759 if (objcg == READ_ONCE(stock->cached_objcg) && stock->nr_bytes >= nr_bytes) { in consume_obj_stock() 2760 stock->nr_bytes -= nr_bytes; in consume_obj_stock() 2776 if (stock->nr_bytes) { in drain_obj_stock() [all …]
|
/linux-6.12.1/fs/proc/ |
D | vmcore.c | 135 ssize_t nr_bytes; in read_from_oldmem() local 148 nr_bytes = PAGE_SIZE - offset; in read_from_oldmem() 150 nr_bytes = count; in read_from_oldmem() 154 tmp = iov_iter_zero(nr_bytes, iter); in read_from_oldmem() 158 nr_bytes, in read_from_oldmem() 161 tmp = copy_oldmem_page(iter, pfn, nr_bytes, in read_from_oldmem() 164 if (tmp < nr_bytes) { in read_from_oldmem() 169 *ppos += nr_bytes; in read_from_oldmem() 170 count -= nr_bytes; in read_from_oldmem() 171 read += nr_bytes; in read_from_oldmem()
|
/linux-6.12.1/net/rds/ |
D | rdma.c | 618 unsigned int nr_bytes; in rds_cmsg_rdma_args() local 703 nr_bytes = 0; in rds_cmsg_rdma_args() 762 nr_bytes, nr, iov->bytes, iov->addr); in rds_cmsg_rdma_args() 764 nr_bytes += iov->bytes; in rds_cmsg_rdma_args() 786 if (nr_bytes > args->remote_vec.bytes) { in rds_cmsg_rdma_args() 788 nr_bytes, in rds_cmsg_rdma_args() 793 op->op_bytes = nr_bytes; in rds_cmsg_rdma_args()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_fwlog.c | 36 int i, nr_bytes; in ice_fwlog_alloc_ring_buffs() local 39 nr_bytes = rings->size * ICE_AQ_MAX_BUF_LEN; in ice_fwlog_alloc_ring_buffs() 40 mem = vzalloc(nr_bytes); in ice_fwlog_alloc_ring_buffs()
|
/linux-6.12.1/drivers/iio/humidity/ |
D | am2315.c | 76 static u16 am2315_crc(u8 *data, u8 nr_bytes) in am2315_crc() argument 81 while (nr_bytes--) { in am2315_crc()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | xfarray.c | 447 size_t nr_bytes = sizeof(struct xfarray_sortinfo); in xfarray_sortinfo_alloc() local 470 nr_bytes += max_stack_depth * sizeof(xfarray_idx_t) * 2; in xfarray_sortinfo_alloc() 473 nr_bytes += max_t(size_t, in xfarray_sortinfo_alloc() 477 si = kvzalloc(nr_bytes, XCHK_GFP_FLAGS); in xfarray_sortinfo_alloc() 493 trace_xfarray_sort(si, nr_bytes); in xfarray_sortinfo_alloc()
|
/linux-6.12.1/tools/lib/bpf/ |
D | btf_dump.c | 1831 int nr_bytes; in btf_dump_base_type_check_zero() local 1837 nr_bytes = d->ptr_sz; in btf_dump_base_type_check_zero() 1839 nr_bytes = t->size; in btf_dump_base_type_check_zero() 1841 if (nr_bytes < 1 || nr_bytes > 16) { in btf_dump_base_type_check_zero() 1842 pr_warn("unexpected size %d for id [%u]\n", nr_bytes, id); in btf_dump_base_type_check_zero() 1846 if (memcmp(data, bytecmp, nr_bytes) == 0) in btf_dump_base_type_check_zero() 2267 __u8 nr_bytes = (bits_offset + bit_sz + 7) / 8; in btf_dump_type_data_check_overflow() local 2275 return data + nr_bytes > d->typed_dump->data_end ? -E2BIG : nr_bytes; in btf_dump_type_data_check_overflow()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 505 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq() 1055 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size; in mlx4_en_xmit() 1062 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); in mlx4_en_xmit() 1065 ring->bytes += tx_info->nr_bytes; in mlx4_en_xmit() 1104 tx_info->nr_bytes, in mlx4_en_xmit() 1202 tx_info->nr_bytes = max_t(unsigned int, length, ETH_ZLEN); in mlx4_en_xmit_frame()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 248 uint64_t nr_bytes, int level) in virt_map_level() argument 251 uint64_t nr_pages = nr_bytes / pg_size; in virt_map_level() 254 TEST_ASSERT(nr_bytes % pg_size == 0, in virt_map_level() 256 nr_bytes, pg_size); in virt_map_level()
|