/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | main.h | 23 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes] 24 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes) 26 #define PAD_BYTES(nr_bytes) P4D_BYTES( __LINE__ , (nr_bytes))
|
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | main.h | 25 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes] 26 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes) 28 #define PAD_BYTES(nr_bytes) P4D_BYTES(__LINE__ , (nr_bytes))
|
/linux-master/drivers/md/ |
H A 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);
|
H A D | dm-ps-service-time.c | 277 static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) argument 289 if (!best || (st_compare_load(pi, best, nr_bytes) < 0)) 305 size_t nr_bytes) 309 atomic_add(nr_bytes, &pi->in_flight_size); 315 size_t nr_bytes, u64 start_time) 319 atomic_sub(nr_bytes, &pi->in_flight_size); 304 st_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument 314 st_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) argument
|
H A D | dm-ps-queue-length.c | 191 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) argument 224 size_t nr_bytes) 234 size_t nr_bytes, u64 start_time) 223 ql_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument 233 ql_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) argument
|
H A D | dm-mpath.c | 110 size_t nr_bytes; member in struct:dm_mpath_io 303 mpio->nr_bytes = bio->bi_iter.bi_size; 379 size_t nr_bytes) 385 path = pg->ps.type->select_path(&pg->ps, nr_bytes); 402 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) argument 426 pgpath = choose_path_in_pg(m, pg, nr_bytes); 435 pgpath = choose_path_in_pg(m, pg, nr_bytes); 450 pgpath = choose_path_in_pg(m, pg, nr_bytes); 512 size_t nr_bytes = blk_rq_bytes(rq); local 522 pgpath = choose_pgpath(m, nr_bytes); 377 choose_path_in_pg(struct multipath *m, struct priority_group *pg, size_t nr_bytes) argument [all...] |
H A D | dm-ps-historical-service-time.c | 431 size_t nr_bytes) 462 size_t nr_bytes) 493 size_t nr_bytes, u64 start_time) 430 hst_select_path(struct path_selector *ps, size_t nr_bytes) argument 461 hst_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument 492 hst_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) argument
|
H A D | dm-ps-round-robin.c | 189 static struct dm_path *rr_select_path(struct path_selector *ps, size_t nr_bytes) argument
|
H A D | dm-rq.c | 83 unsigned int nr_bytes = info->orig->bi_iter.bi_size; local 110 tio->completed += nr_bytes;
|
H A D | dm-ps-io-affinity.c | 197 size_t nr_bytes) 196 ioa_select_path(struct path_selector *ps, size_t nr_bytes) argument
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | nx_huge_pages_test.c | 113 uint64_t nr_bytes; local 136 nr_bytes = HPAGE_SLOT_NPAGES * vm->page_size; 148 virt_map_level(vm, HPAGE_GVA, HPAGE_GPA, nr_bytes, PG_LEVEL_4K); 150 virt_map_level(vm, HPAGE_GVA, HPAGE_GPA, nr_bytes, PG_LEVEL_2M); 153 memset(hva, RETURN_OPCODE, nr_bytes);
|
H A D | private_mem_conversions_test.c | 350 size_t nr_bytes = min_t(size_t, vm->page_size, size - i); local 354 memcmp_h(hva, gpa + i, uc.args[3], nr_bytes); 358 memset(hva, uc.args[4], nr_bytes);
|
/linux-master/drivers/acpi/ |
H A D | nvs.c | 103 unsigned int nr_bytes; local 111 nr_bytes = PAGE_SIZE - (start & ~PAGE_MASK); 112 entry->size = (size < nr_bytes) ? size : nr_bytes;
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | max_guest_memory_test.c | 93 uint64_t gpa, nr_bytes; local 103 nr_bytes = ((end_gpa - start_gpa) / nr_vcpus) & 105 TEST_ASSERT(nr_bytes, "C'mon, no way you have %d CPUs", nr_vcpus); 107 for (i = 0, gpa = start_gpa; i < nr_vcpus; i++, gpa += nr_bytes) { 110 info[i].end_gpa = gpa + nr_bytes;
|
/linux-master/include/trace/events/ |
H A D | block.h | 107 TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes), 109 TP_ARGS(rq, error, nr_bytes), 123 __entry->nr_sector = nr_bytes >> 9; 141 * @nr_bytes: number of completed bytes 151 TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes), 153 TP_ARGS(rq, error, nr_bytes) 160 * @nr_bytes: number of completed bytes 167 TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes), 169 TP_ARGS(rq, error, nr_bytes)
|
/linux-master/block/ |
H A D | t10-pi.c | 184 * @nr_bytes: total bytes to prepare 193 static void t10_pi_type1_complete(struct request *rq, unsigned int nr_bytes) argument 196 unsigned intervals = nr_bytes >> bi->interval_exp; 254 static void t10_pi_type3_complete(struct request *rq, unsigned int nr_bytes) argument 434 static void ext_pi_type1_complete(struct request *rq, unsigned int nr_bytes) argument 437 unsigned intervals = nr_bytes >> bi->interval_exp;
|
/linux-master/drivers/platform/olpc/ |
H A D | olpc-xo175-ec.c | 479 size_t nr_bytes; local 507 nr_bytes = resp_len; 509 nr_bytes = (size_t)ret; 512 resp_len = min(resp_len, nr_bytes); 525 priv->expected_resp_len = nr_bytes; 552 } else if (priv->resp_len != nr_bytes) { 554 cmd, priv->resp_len, nr_bytes); 561 * resp_len <= priv->resp_len and priv->resp_len == nr_bytes.
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_fwlog.c | 36 int i, nr_bytes; local 39 nr_bytes = rings->size * ICE_AQ_MAX_BUF_LEN; 40 mem = vzalloc(nr_bytes);
|
/linux-master/drivers/iio/humidity/ |
H A D | am2315.c | 76 static u16 am2315_crc(u8 *data, u8 nr_bytes) argument 81 while (nr_bytes--) {
|
/linux-master/fs/proc/ |
H A D | vmcore.c | 135 ssize_t nr_bytes; local 148 nr_bytes = PAGE_SIZE - offset; 150 nr_bytes = count; 154 tmp = iov_iter_zero(nr_bytes, iter); 158 nr_bytes, 161 tmp = copy_oldmem_page(iter, pfn, nr_bytes, 164 if (tmp < nr_bytes) { 169 *ppos += nr_bytes; 170 count -= nr_bytes; 171 read += nr_bytes; [all...] |
/linux-master/net/rds/ |
H A D | rdma.c | 618 unsigned int nr_bytes; local 703 nr_bytes = 0; 761 rdsdebug("RDS: nr_bytes %u nr %u iov->bytes %llu iov->addr %llx\n", 762 nr_bytes, nr, iov->bytes, iov->addr); 764 nr_bytes += iov->bytes; 786 if (nr_bytes > args->remote_vec.bytes) { 787 rdsdebug("RDS nr_bytes %u remote_bytes %u do not match\n", 788 nr_bytes, 793 op->op_bytes = nr_bytes;
|
/linux-master/tools/lib/bpf/ |
H A D | btf_dump.c | 1829 int nr_bytes; local 1835 nr_bytes = d->ptr_sz; 1837 nr_bytes = t->size; 1839 if (nr_bytes < 1 || nr_bytes > 16) { 1840 pr_warn("unexpected size %d for id [%u]\n", nr_bytes, id); 1844 if (memcmp(data, bytecmp, nr_bytes) == 0) 2260 __u8 nr_bytes = (bits_offset + bit_sz + 7) / 8; local 2265 * Return nr_bytes in success case to make it 2268 return data + nr_bytes > [all...] |
/linux-master/mm/ |
H A D | memcontrol.c | 271 unsigned int nr_bytes; local 288 * 92 bytes are added to stock->nr_bytes 295 nr_bytes = atomic_read(&objcg->nr_charged_bytes); 296 WARN_ON_ONCE(nr_bytes & (PAGE_SIZE - 1)); 297 nr_pages = nr_bytes >> PAGE_SHIFT; 2264 unsigned int nr_bytes; member in struct:memcg_stock_pcp 3378 stock->nr_bytes = atomic_read(&objcg->nr_charged_bytes) 3425 static bool consume_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) argument 3434 if (objcg == READ_ONCE(stock->cached_objcg) && stock->nr_bytes >= nr_bytes) { 3453 unsigned int nr_bytes = stock->nr_bytes & (PAGE_SIZE - 1); local 3522 refill_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes, bool allow_uncharge) argument 3558 unsigned int nr_pages, nr_bytes; local [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | xfarray.c | 447 size_t nr_bytes = sizeof(struct xfarray_sortinfo); local 470 nr_bytes += max_stack_depth * sizeof(xfarray_idx_t) * 2; 473 nr_bytes += max_t(size_t, 477 si = kvzalloc(nr_bytes, XCHK_GFP_FLAGS); 490 trace_xfarray_sort(si, nr_bytes);
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 505 bytes += ring->tx_info[ring_index].nr_bytes; 1055 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size; 1062 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); 1065 ring->bytes += tx_info->nr_bytes; 1104 tx_info->nr_bytes, 1202 tx_info->nr_bytes = max_t(unsigned int, length, ETH_ZLEN);
|