/kernel/linux/linux-5.10/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))
|
/kernel/linux/linux-5.10/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))
|
/kernel/linux/linux-6.6/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))
|
/kernel/linux/linux-6.6/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))
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-taskfile.c | 240 unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); in ide_pio_bytes() local 249 nr_bytes = min_t(unsigned, nr_bytes, (PAGE_SIZE - offset)); in ide_pio_bytes() 253 cmd->nleft -= nr_bytes; in ide_pio_bytes() 254 cmd->cursg_ofs += nr_bytes; in ide_pio_bytes() 263 hwif->tp_ops->output_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 265 hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 269 len -= nr_bytes; in ide_pio_bytes() 277 unsigned int nr_bytes; in ide_pio_datablock() local 290 nr_bytes in ide_pio_datablock() 302 int nr_bytes = cmd->nbytes - cmd->nleft; ide_error_cmd() local [all...] |
H A D | ide-io.c | 58 unsigned int nr_bytes) in ide_end_rq() 70 if (!blk_update_request(rq, error, nr_bytes)) { in ide_end_rq() 125 int ide_complete_rq(ide_drive_t *drive, blk_status_t error, unsigned int nr_bytes) in ide_complete_rq() argument 136 nr_bytes = blk_rq_sectors(rq) << 9; in ide_complete_rq() 138 rc = ide_end_rq(drive, rq, error, nr_bytes); in ide_complete_rq() 246 void ide_init_sg_cmd(struct ide_cmd *cmd, unsigned int nr_bytes) in ide_init_sg_cmd() argument 248 cmd->nbytes = cmd->nleft = nr_bytes; in ide_init_sg_cmd() 57 ide_end_rq(ide_drive_t *drive, struct request *rq, blk_status_t error, unsigned int nr_bytes) ide_end_rq() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | nx_huge_pages_test.c | 113 uint64_t nr_bytes; in run_test() local 136 nr_bytes = HPAGE_SLOT_NPAGES * vm->page_size; in run_test() 148 virt_map_level(vm, HPAGE_GVA, HPAGE_GPA, nr_bytes, PG_LEVEL_4K); in run_test() 150 virt_map_level(vm, HPAGE_GVA, HPAGE_GPA, nr_bytes, PG_LEVEL_2M); in run_test() 153 memset(hva, RETURN_OPCODE, nr_bytes); in run_test()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-path-selector.h | 55 size_t nr_bytes); 75 size_t nr_bytes); 77 size_t nr_bytes, u64 start_time);
|
H A D | dm-service-time.c | 274 static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) in st_select_path() argument 286 if (!best || (st_compare_load(pi, best, nr_bytes) < 0)) in st_select_path() 302 size_t nr_bytes) in st_start_io() 306 atomic_add(nr_bytes, &pi->in_flight_size); in st_start_io() 312 size_t nr_bytes, u64 start_time) in st_end_io() 316 atomic_sub(nr_bytes, &pi->in_flight_size); in st_end_io() 301 st_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) st_start_io() argument 311 st_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) st_end_io() argument
|
H A D | dm-queue-length.c | 187 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) in ql_select_path() argument 220 size_t nr_bytes) in ql_start_io() 230 size_t nr_bytes, u64 start_time) in ql_end_io() 219 ql_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) ql_start_io() argument 229 ql_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) ql_end_io() argument
|
H A D | dm-mpath.c | 107 size_t nr_bytes; member 296 mpio->nr_bytes = bio->bi_iter.bi_size; in multipath_init_per_bio_data() 370 size_t nr_bytes) in choose_path_in_pg() 376 path = pg->ps.type->select_path(&pg->ps, nr_bytes); in choose_path_in_pg() 393 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) in choose_pgpath() argument 417 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 426 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 441 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 505 size_t nr_bytes = blk_rq_bytes(rq); in multipath_clone_and_map() local 515 pgpath = choose_pgpath(m, nr_bytes); in multipath_clone_and_map() 368 choose_path_in_pg(struct multipath *m, struct priority_group *pg, size_t nr_bytes) choose_path_in_pg() argument [all...] |
/kernel/linux/linux-6.6/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) 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() 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() 319 atomic_sub(nr_bytes, &pi->in_flight_size); in st_end_io() 304 st_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) st_start_io() argument 314 st_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) st_end_io() 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) in ql_select_path() argument 224 size_t nr_bytes) in ql_start_io() 234 size_t nr_bytes, u64 start_time) in ql_end_io() 223 ql_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) ql_start_io() argument 233 ql_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) ql_end_io() argument
|
H A 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() 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() 377 choose_path_in_pg(struct multipath *m, struct priority_group *pg, size_t nr_bytes) choose_path_in_pg() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | nvs.c | 101 unsigned int nr_bytes; in suspend_nvs_register() local 109 nr_bytes = PAGE_SIZE - (start & ~PAGE_MASK); in suspend_nvs_register() 110 entry->size = (size < nr_bytes) ? size : nr_bytes; in suspend_nvs_register()
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/ |
H A D | max_guest_memory_test.c | 96 uint64_t gpa, nr_bytes; in spawn_workers() local 106 nr_bytes = ((end_gpa - start_gpa) / nr_vcpus) & in spawn_workers() 108 TEST_ASSERT(nr_bytes, "C'mon, no way you have %d CPUs", nr_vcpus); in spawn_workers() 110 for (i = 0, gpa = start_gpa; i < nr_vcpus; i++, gpa += nr_bytes) { in spawn_workers() 113 info[i].end_gpa = gpa + nr_bytes; in spawn_workers()
|
/kernel/linux/linux-6.6/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)
|
/kernel/linux/linux-5.10/drivers/platform/olpc/ |
H A 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() 561 * resp_len <= priv->resp_len and priv->resp_len == nr_bytes. in olpc_xo175_ec_cmd()
|
/kernel/linux/linux-6.6/drivers/platform/olpc/ |
H A 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() 561 * resp_len <= priv->resp_len and priv->resp_len == nr_bytes. in olpc_xo175_ec_cmd()
|
/kernel/linux/linux-5.10/block/ |
H A D | t10-pi.c | 175 * @nr_bytes: total bytes to prepare 184 static void t10_pi_type1_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type1_complete() argument 186 unsigned intervals = nr_bytes >> rq->q->integrity.interval_exp; in t10_pi_type1_complete() 245 static void t10_pi_type3_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type3_complete() argument
|
/kernel/linux/linux-6.6/block/ |
H A D | t10-pi.c | 175 * @nr_bytes: total bytes to prepare 184 static void t10_pi_type1_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type1_complete() argument 186 unsigned intervals = nr_bytes >> rq->q->integrity.interval_exp; in t10_pi_type1_complete() 243 static void t10_pi_type3_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type3_complete() argument 412 static void ext_pi_type1_complete(struct request *rq, unsigned int nr_bytes) in ext_pi_type1_complete() argument 414 unsigned intervals = nr_bytes >> rq->q->integrity.interval_exp; in ext_pi_type1_complete()
|
/kernel/linux/linux-5.10/fs/proc/ |
H A D | vmcore.c | 111 size_t nr_bytes; in read_from_oldmem() local 122 nr_bytes = PAGE_SIZE - offset; in read_from_oldmem() 124 nr_bytes = count; in read_from_oldmem() 130 memset(buf, 0, nr_bytes); in read_from_oldmem() 131 else if (clear_user(buf, nr_bytes)) in read_from_oldmem() 136 nr_bytes, in read_from_oldmem() 140 tmp = copy_oldmem_page(pfn, buf, nr_bytes, in read_from_oldmem() 146 *ppos += nr_bytes; in read_from_oldmem() 147 count -= nr_bytes; in read_from_oldmem() 148 buf += nr_bytes; in read_from_oldmem() [all...] |
/kernel/linux/linux-6.6/fs/proc/ |
H A 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() [all...] |