/linux-master/drivers/vfio/pci/nvgrace-gpu/ |
H A D | main.c | 318 char __user *buf, size_t count, loff_t *ppos) 331 ret = vfio_pci_core_read(core_vdev, buf, count, ppos); 335 if (vfio_pci_core_range_intersect_range(pos, count, PCI_BASE_ADDRESS_2, 340 else if (vfio_pci_core_range_intersect_range(pos, count, 359 *ppos -= count; 364 return count; 369 const char __user *buf, size_t count, loff_t *ppos) 380 if (vfio_pci_core_range_intersect_range(pos, count, PCI_BASE_ADDRESS_2, 384 else if (vfio_pci_core_range_intersect_range(pos, count, PCI_BASE_ADDRESS_4, 397 return vfio_pci_core_write(core_vdev, buf, count, ppo 317 nvgrace_gpu_read_config_emu(struct vfio_device *core_vdev, char __user *buf, size_t count, loff_t *ppos) argument 368 nvgrace_gpu_write_config_emu(struct vfio_device *core_vdev, const char __user *buf, size_t count, loff_t *ppos) argument 498 nvgrace_gpu_read_mem(struct nvgrace_gpu_pci_core_device *nvdev, char __user *buf, size_t count, loff_t *ppos) argument 547 nvgrace_gpu_read(struct vfio_device *core_vdev, char __user *buf, size_t count, loff_t *ppos) argument 615 nvgrace_gpu_write_mem(struct nvgrace_gpu_pci_core_device *nvdev, size_t count, loff_t *ppos, const char __user *buf) argument 657 nvgrace_gpu_write(struct vfio_device *core_vdev, const char __user *buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/thermal/intel/int340x_thermal/ |
H A D | acpi_thermal_rel.c | 91 *trt_count = p->package.count; 124 /* don't count bad entries */ 167 *art_count = p->package.count - 1; 198 /* don't count bad entries */ 237 if (p->package.count > 0) { 253 *psvt_count = p->package.count - 1; 266 for (i = 1; i < p->package.count; i++) { 280 if (package->package.count >= ACPI_NR_PSVT_ELEMENTS) { 334 /* don't count bad entries */ 369 int count; local 406 int count; local 439 int i, ret, count, psvt_len; local 493 int count = 0; local [all...] |
/linux-master/sound/oss/dmasound/ |
H A D | dmasound_paula.c | 160 ssize_t count, used; local 164 count = min_t(unsigned long, userCount, frameLeft) & ~1; 165 used = count; 166 if (copy_from_user(p, userPtr, count)) 171 count = min_t(unsigned long, userCount, frameLeft)>>1 & ~1; 172 used = count*2; 173 while (count > 0) { 177 count--; 194 ssize_t count, used; \ 198 count [all...] |
/linux-master/drivers/nvme/target/ |
H A D | configfs.c | 79 const char *page, size_t count) 97 return count; 111 const char *page, size_t count) 125 return count; 139 const char *page, size_t count) 143 if (count > NVMF_TRADDR_SIZE) { 153 return count; 184 const char *page, size_t count) 218 return count; 232 const char *page, size_t count) 78 nvmet_addr_adrfam_store(struct config_item *item, const char *page, size_t count) argument 110 nvmet_addr_portid_store(struct config_item *item, const char *page, size_t count) argument 138 nvmet_addr_traddr_store(struct config_item *item, const char *page, size_t count) argument 183 nvmet_addr_treq_store(struct config_item *item, const char *page, size_t count) argument 231 nvmet_addr_trsvcid_store(struct config_item *item, const char *page, size_t count) argument 258 nvmet_param_inline_data_size_store(struct config_item *item, const char *page, size_t count) argument 284 nvmet_param_max_queue_size_store(struct config_item *item, const char *page, size_t count) argument 311 nvmet_param_pi_enable_store(struct config_item *item, const char *page, size_t count) argument 357 nvmet_addr_trtype_store(struct config_item *item, const char *page, size_t count) argument 416 nvmet_addr_tsas_store(struct config_item *item, const char *page, size_t count) argument 480 nvmet_ns_device_path_store(struct config_item *item, const char *page, size_t count) argument 522 nvmet_ns_p2pmem_store(struct config_item *item, const char *page, size_t count) argument 561 nvmet_ns_device_uuid_store(struct config_item *item, const char *page, size_t count) argument 589 nvmet_ns_device_nguid_store(struct config_item *item, const char *page, size_t count) argument 635 nvmet_ns_ana_grpid_store(struct config_item *item, const char *page, size_t count) argument 669 nvmet_ns_enable_store(struct config_item *item, const char *page, size_t count) argument 694 nvmet_ns_buffered_io_store(struct config_item *item, const char *page, size_t count) argument 717 nvmet_ns_revalidate_size_store(struct config_item *item, const char *page, size_t count) argument 836 nvmet_passthru_device_path_store(struct config_item *item, const char *page, size_t count) argument 877 nvmet_passthru_enable_store(struct config_item *item, const char *page, size_t count) argument 902 nvmet_passthru_admin_timeout_store(struct config_item *item, const char *page, size_t count) argument 921 nvmet_passthru_io_timeout_store(struct config_item *item, const char *page, size_t count) argument 940 nvmet_passthru_clear_ids_store(struct config_item *item, const char *page, size_t count) argument 1144 nvmet_subsys_attr_allow_any_host_store(struct config_item *item, const char *page, size_t count) argument 1190 nvmet_subsys_attr_version_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1222 nvmet_subsys_attr_version_store(struct config_item *item, const char *page, size_t count) argument 1254 nvmet_subsys_attr_serial_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1283 nvmet_subsys_attr_serial_store(struct config_item *item, const char *page, size_t count) argument 1367 nvmet_subsys_attr_model_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1402 nvmet_subsys_attr_model_store(struct config_item *item, const char *page, size_t count) argument 1426 nvmet_subsys_attr_ieee_oui_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1450 nvmet_subsys_attr_ieee_oui_store(struct config_item *item, const char *page, size_t count) argument 1474 nvmet_subsys_attr_firmware_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1512 nvmet_subsys_attr_firmware_store(struct config_item *item, const char *page, size_t count) argument 1535 nvmet_subsys_attr_pi_enable_store(struct config_item *item, const char *page, size_t count) argument 1668 nvmet_referral_enable_store(struct config_item *item, const char *page, size_t count) argument 1779 nvmet_ana_group_ana_state_store(struct config_item *item, const char *page, size_t count) argument 2017 nvmet_host_dhchap_key_store(struct config_item *item, const char *page, size_t count) argument 2044 nvmet_host_dhchap_ctrl_key_store(struct config_item *item, const char *page, size_t count) argument 2070 nvmet_host_dhchap_hash_store(struct config_item *item, const char *page, size_t count) argument 2096 nvmet_host_dhchap_dhgroup_store(struct config_item *item, const char *page, size_t count) argument 2185 nvmet_root_discovery_nqn_store(struct config_item *item, const char *page, size_t count) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_timeline.c | 69 unsigned long count, max; member in struct:mock_hwsp_freelist 90 unsigned int count, 96 while (count--) { 122 idx = state->count++ % state->max; 129 min(state->count, state->max), 132 count = i915_prandom_u32_max_state(min(state->count, state->max), 134 while (count--) { 135 idx = --state->count % state->max; 172 state.count 89 __mock_hwsp_timeline(struct mock_hwsp_freelist *state, unsigned int count, unsigned int flags) argument 291 unsigned long end_time, count; local 531 unsigned long count, n; local 605 unsigned long count, n; local 1021 unsigned long count = 0; local 1350 unsigned long count; local [all...] |
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | debugfs.c | 418 size_t count, loff_t *ppos) 427 rval = simple_read_from_buffer(buf, count, ppos, counters, avail); 433 size_t count, loff_t *ppos) 442 rval = simple_read_from_buffer(buf, count, ppos, names, avail); 458 size_t count, loff_t *ppos) 467 rval = simple_read_from_buffer(buf, count, ppos, names, avail); 473 size_t count, loff_t *ppos) 482 rval = simple_read_from_buffer(buf, count, ppos, counters, avail); 501 size_t count, loff_t *ppos) 544 ret = simple_read_from_buffer(buf, count, ppo 417 dev_counters_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 432 dev_names_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 457 portnames_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 472 portcntrs_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 500 asic_flags_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 549 asic_flags_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 595 dc8051_memory_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 635 debugfs_lcb_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 669 debugfs_lcb_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 705 qsfp_debugfs_dump(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 725 __i2c_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos, u32 target) argument 765 i2c1_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 772 i2c2_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 779 __i2c_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos, u32 target) argument 825 i2c1_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 832 i2c2_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 839 __qsfp_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos, u32 target) argument 872 qsfp1_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 879 qsfp2_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 886 __qsfp_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos, u32 target) argument 930 qsfp1_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 937 qsfp2_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 1046 exprom_wp_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 1052 exprom_wp_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/arch/s390/tools/ |
H A D | gen_opcode_table.c | 34 int count; member in struct:insn_group 183 int i, count; local 187 count = 0; 192 count++; 196 printf("}; /* %d */\n\n", count); 207 int i, count; local 210 count = 0; 217 count++; 219 printf("}; /* %d */\n\n", count); 252 group->count [all...] |
/linux-master/arch/mips/bcm63xx/ |
H A D | nvram.c | 59 int count; local 68 count = mac_addr_used; 70 while (count--) {
|
/linux-master/include/linux/ |
H A D | gnss.h | 34 size_t count); 47 unsigned int count; member in struct:gnss_device 64 size_t count);
|
/linux-master/arch/mips/kernel/ |
H A D | csrc-sb1250.c | 26 unsigned int count; local 30 count = G_SCD_TIMER_CNT(__raw_readq(addr)); 32 return SB1250_HPT_VALUE - count;
|
H A D | csrc-r4k.c | 34 unsigned int count; local 41 : "=r" (count)); 43 return count; 51 * Older QEMUs have a broken implementation of RDHWR for the CP0 count 117 * R2 onwards makes the count accessible to user mode so it can be used
|
/linux-master/sound/pci/oxygen/ |
H A D | oxygen_io.c | 120 unsigned int count, succeeded; local 128 for (count = 5; count > 0; --count) { 145 unsigned int count; local 152 for (count = 5; count > 0; --count) { 187 unsigned int count; local 193 for (count [all...] |
/linux-master/drivers/irqchip/ |
H A D | irq-ath79-cpu.c | 59 int err, i, count; local 62 count = of_count_phandle_with_args( 65 for (i = 0; i < count; i++) {
|
/linux-master/tools/lib/ |
H A D | argv_split.c | 21 int count = 0; local 26 count++; 31 return count; 54 * @argcp: returned argument count
|
/linux-master/samples/rpmsg/ |
H A D | rpmsg_client_sample.c | 18 static int count = 100; variable 19 module_param(count, int, 0644); 38 if (idata->rx_count >= count) {
|
/linux-master/arch/um/kernel/ |
H A D | exitcode.c | 40 const char __user *buffer, size_t count, loff_t *pos) 46 size = min(count, sizeof(buf)); 55 return count; 39 exitcode_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument
|
/linux-master/arch/sh/drivers/dma/ |
H A D | dma-pvr2.c | 19 static int count; variable 29 if (count++ < 10) 61 __raw_writel(chan->count, PVR2_DMA_COUNT);
|
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-spe.c | 40 unsigned int pos, unsigned int count, 47 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 55 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, 39 evr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | si_dma.c | 64 * @count: number of page entries to update 71 unsigned count) 73 while (count) { 74 unsigned bytes = count * 8; 87 count -= bytes / 8; 98 * @count: number of page entries to update 107 uint64_t addr, unsigned count, 113 while (count) { 114 ndw = count * 2; 122 for (; ndw > 0; ndw -= 2, --count, p 68 si_dma_vm_copy_pages(struct radeon_device *rdev, struct radeon_ib *ib, uint64_t pe, uint64_t src, unsigned count) argument 104 si_dma_vm_write_pages(struct radeon_device *rdev, struct radeon_ib *ib, uint64_t pe, uint64_t addr, unsigned count, uint32_t incr, uint32_t flags) argument 151 si_dma_vm_set_pages(struct radeon_device *rdev, struct radeon_ib *ib, uint64_t pe, uint64_t addr, unsigned count, uint32_t incr, uint32_t flags) argument [all...] |
/linux-master/arch/s390/boot/ |
H A D | string.c | 9 int strncmp(const char *cs, const char *ct, size_t count) argument 13 while (count) { 20 count--;
|
/linux-master/sound/isa/gus/ |
H A D | gus_dma.c | 25 unsigned int count, 33 snd_printdd("dma_transfer: addr=0x%x, buf=0x%lx, count=0x%x\n", 34 addr, buf_addr, count); 55 count++; 56 count &= ~1; /* align */ 60 count++; 61 count &= ~1; /* align */ 64 snd_dma_program(gus->gf1.dma1, buf_addr, count, dma_cmd & SNDRV_GF1_DMA_READ ? DMA_MODE_READ : DMA_MODE_WRITE); 66 snd_printk(KERN_DEBUG "address = 0x%x, count = 0x%x, dma_cmd = 0x%x\n", 67 address << 1, count, dma_cm 22 snd_gf1_dma_program(struct snd_gus_card * gus, unsigned int addr, unsigned long buf_addr, unsigned int count, unsigned int cmd) argument [all...] |
/linux-master/arch/powerpc/mm/book3s32/ |
H A D | tlb.c | 54 int count; local 67 count = ((pmd_end - start) >> PAGE_SHIFT) + 1; 68 flush_hash_pages(ctx, start, pmd_val(*pmd), count);
|
/linux-master/mm/ |
H A D | cma_debug.c | 92 static int cma_free_mem(struct cma *cma, int count) argument 96 while (count) { 101 if (mem->n <= count) { 103 count -= mem->n; 106 cma_release(cma, mem->p, count); 107 mem->p += count; 108 mem->n -= count; 109 count = 0; 131 static int cma_alloc_mem(struct cma *cma, int count) argument 140 p = cma_alloc(cma, count, [all...] |
/linux-master/drivers/xen/ |
H A D | gntdev-common.h | 52 int count; member in struct:gntdev_grant_map 86 struct gntdev_grant_map *gntdev_alloc_map(struct gntdev_priv *priv, int count, 93 bool gntdev_test_page_count(unsigned int count);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_user_extensions.c | 18 unsigned int count, 45 if (name < count) { 46 name = array_index_nospec(name, count); 16 i915_user_extensions(struct i915_user_extension __user *ext, const i915_user_extension_fn *tbl, unsigned int count, void *data) argument
|