/linux-master/drivers/w1/slaves/ |
H A D | w1_ds2780.c | 27 size_t count, int io) 34 count = min_t(int, count, DS2780_DATA_SIZE - addr); 40 w1_write_block(sl->master, buf, count); 44 count = w1_read_block(sl->master, buf, count); 48 return count; 51 int w1_ds2780_io(struct device *dev, char *buf, int addr, size_t count, argument 62 ret = w1_ds2780_do_io(dev, buf, addr, count, io); 91 loff_t off, size_t count) 26 w1_ds2780_do_io(struct device *dev, char *buf, int addr, size_t count, int io) argument 89 w1_slave_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument [all...] |
H A D | w1_ds2408.c | 69 size_t count) 72 "Reading %s kobj: %p, off: %0#10x, count: %zu, buff addr: %p", 73 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); 74 if (count != 1 || off != 0) 81 loff_t off, size_t count) 84 "Reading %s kobj: %p, off: %0#10x, count: %zu, buff addr: %p", 85 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); 86 if (count != 1 || off != 0) 94 loff_t off, size_t count) 97 "Reading %s kobj: %p, off: %0#10x, count 67 state_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 79 output_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 92 activity_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 105 cond_search_mask_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 118 cond_search_polarity_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 129 status_control_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 162 output_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 212 activity_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 242 status_control_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument [all...] |
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | debugfs.c | 26 size_t count, loff_t *ppos) 34 size_t count, loff_t *ppos) 49 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos); 56 const char __user *user_buf, size_t count, 65 buf = memdup_user_nul(user_buf, min(count, len - 1)); 83 ret = count; 93 size_t count, loff_t *ppos) 113 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); 121 const char __user *user_buf, size_t count, 129 buf = memdup_user_nul(user_buf, min(count, le 25 write_file_dummy(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 33 lbs_dev_info(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 55 lbs_sleepparams_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 92 lbs_sleepparams_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 120 lbs_host_sleep_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 162 lbs_host_sleep_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 217 lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 269 lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 338 lbs_lowrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 346 lbs_lowrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 354 lbs_lowsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 362 lbs_lowsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 370 lbs_failcount_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 378 lbs_failcount_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 386 lbs_highrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 394 lbs_highrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 402 lbs_highsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 410 lbs_highsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 417 lbs_bcnmiss_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 425 lbs_bcnmiss_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 433 lbs_rdmac_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 457 lbs_rdmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 473 lbs_wrmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 503 lbs_rdbbp_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 528 lbs_rdbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 545 lbs_wrbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 575 lbs_rdrf_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 600 lbs_rdrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 616 lbs_wrrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 806 lbs_debugfs_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm_sdma.c | 50 /* Allocate a new job for @count PTE updates */ 52 unsigned int count) 64 ndw += count * 2; 161 * @count: number of page entries to copy 167 unsigned count) 175 trace_amdgpu_vm_copy_ptes(pe, src, count, p->immediate); 177 amdgpu_vm_copy_pte(p->adev, ib, pe, src, count); 187 * @count: number of page entries to update 196 uint64_t addr, unsigned count, 202 trace_amdgpu_vm_set_ptes(pe, addr, count, inc 51 amdgpu_vm_sdma_alloc_job(struct amdgpu_vm_update_params *p, unsigned int count) argument 165 amdgpu_vm_sdma_copy_ptes(struct amdgpu_vm_update_params *p, struct amdgpu_bo *bo, uint64_t pe, unsigned count) argument 194 amdgpu_vm_sdma_set_ptes(struct amdgpu_vm_update_params *p, struct amdgpu_bo *bo, uint64_t pe, uint64_t addr, unsigned count, uint32_t incr, uint64_t flags) argument 226 amdgpu_vm_sdma_update(struct amdgpu_vm_update_params *p, struct amdgpu_bo_vm *vmbo, uint64_t pe, uint64_t addr, unsigned count, uint32_t incr, uint64_t flags) argument [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | intel_wakeref.c | 27 if (!atomic_read(&wf->count)) { 39 smp_mb__before_atomic(); /* release wf->count */ 42 atomic_inc(&wf->count); 43 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); 57 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); 58 if (unlikely(!atomic_dec_and_test(&wf->count))) 92 if (atomic_add_unless(&wf->count, -1, 1)) 109 atomic_set(&wf->count, 0); 142 if (!refcount_dec_and_lock_irqsave(&wf->count, &wf->lock, &flags)) 156 refcount_set(&wf->count, 205 size_t count; local [all...] |
/linux-master/arch/parisc/lib/ |
H A D | iomap.c | 106 static void ioport_read8r(const void __iomem *addr, void *dst, unsigned long count) argument 108 insb(ADDR2PORT(addr), dst, count); local 111 static void ioport_read16r(const void __iomem *addr, void *dst, unsigned long count) argument 113 insw(ADDR2PORT(addr), dst, count); local 116 static void ioport_read32r(const void __iomem *addr, void *dst, unsigned long count) argument 118 insl(ADDR2PORT(addr), dst, count); local 231 static void iomem_read8r(const void __iomem *addr, void *dst, unsigned long count) argument 233 while (count--) { 239 static void iomem_read16r(const void __iomem *addr, void *dst, unsigned long count) argument 241 while (count 247 iomem_read32r(const void __iomem *addr, void *dst, unsigned long count) argument 430 ioread8_rep(const void __iomem *addr, void *dst, unsigned long count) argument 442 ioread16_rep(const void __iomem *addr, void *dst, unsigned long count) argument 454 ioread32_rep(const void __iomem *addr, void *dst, unsigned long count) argument 466 iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) argument 478 iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) argument 490 iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_debugfs.c | 157 * @count: the length of the user's data 162 size_t count, loff_t *ppos) 171 if (*ppos != 0 || count > 8) 174 cmd_buf = memdup_user_nul(buf, count); 206 return count; 221 * @count: the size of the user's buffer 225 char __user *buffer, size_t count, 235 return simple_read_from_buffer(buffer, count, ppos, buff, strlen(buff)); 242 * @count: the length of the user's data 247 size_t count, loff_ 161 ice_debugfs_module_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument 224 ice_debugfs_nr_messages_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 246 ice_debugfs_nr_messages_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument 299 ice_debugfs_enable_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 322 ice_debugfs_enable_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument 394 ice_debugfs_log_size_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 417 ice_debugfs_log_size_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument 484 ice_debugfs_data_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 533 ice_debugfs_data_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/arch/mips/kernel/ |
H A D | rtlx.c | 242 ssize_t rtlx_read(int index, void __user *buff, size_t count) argument 258 count = min(count, 263 fl = min(count, (size_t)lx->buffer_size - lx->lx_read); 270 if (count - fl) 271 failed = copy_to_user(buff + fl, lx->lx_buffer, count - fl); 274 count -= failed; 277 lx->lx_read = (lx->lx_read + count) % lx->buffer_size; 281 return count; 284 ssize_t rtlx_write(int index, const void __user *buffer, size_t count) argument 361 file_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) argument 373 file_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/ata/pata_parport/ |
H A D | frpw.c | 56 static void frpw_read_block_int(struct pi_adapter *pi, char *buf, int count, argument 64 for (k = 0; k < count; k++) { 76 for (k = 0; k < count; k++) { 86 for (k = 0; k < count; k++) 94 for (k = 0; k < count - 2; k++) 97 buf[count - 2] = r4(); 98 buf[count - 1] = r4(); 104 for (k = 0; k < count / 2 - 1; k++) 107 buf[count - 2] = r4(); 108 buf[count 126 frpw_read_block(struct pi_adapter *pi, char *buf, int count) argument 131 frpw_write_block(struct pi_adapter *pi, char *buf, int count) argument [all...] |
H A D | epat.c | 85 static void epat_read_block(struct pi_adapter *pi, char *buf, int count) argument 94 for (k = 0; k < count; k++) { 95 if (k == count-1) 112 for (k = 0; k < count; k++) { 113 if (k == count - 1) 126 for (k = 0; k < count - 1; k++) { 132 buf[count - 1] = r0(); 138 for (k = 0; k < count - 1; k++) 141 buf[count - 1] = r4(); 147 for (k = 0; k < count / 168 epat_write_block(struct pi_adapter *pi, char *buf, int count) argument [all...] |
H A D | epia.c | 126 static void epia_read_block(struct pi_adapter *pi, char *buf, int count) argument 135 for (k = 0; k < count; k++) { 147 for (k = 0; k < count; k++) { 158 for (k = 0; k < count; k++) { 166 if (count > 512) 169 for (k = 0; k < count; k++) 174 if (count > 512) 177 for (k = 0; k < count / 2; k++) 182 if (count > 512) 185 for (k = 0; k < count / 192 epia_write_block(struct pi_adapter *pi, char *buf, int count) argument [all...] |
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_diag.c | 134 size_t count, loff_t *off); 136 size_t count, loff_t *off); 152 size_t count, loff_t *off); 213 * @cntp: Pointer to max (byte) count for transfer starting at offset 331 * @count: number of bytes to copy (multiple of 32 bits) 340 u32 regoffs, size_t count) 352 if (count >= limit) 353 count = limit; 354 reg_end = reg_addr + (count / sizeof(u64)); 377 * @count 339 qib_read_umem64(struct qib_devdata *dd, void __user *uaddr, u32 regoffs, size_t count) argument 383 qib_write_umem64(struct qib_devdata *dd, u32 regoffs, const void __user *uaddr, size_t count) argument 428 qib_read_umem32(struct qib_devdata *dd, void __user *uaddr, u32 regoffs, size_t count) argument 474 qib_write_umem32(struct qib_devdata *dd, u32 regoffs, const void __user *uaddr, size_t count) argument 547 qib_diagpkt_write(struct file *fp, const char __user *data, size_t count, loff_t *off) argument 759 qib_diag_read(struct file *fp, char __user *data, size_t count, loff_t *off) argument 833 qib_diag_write(struct file *fp, const char __user *data, size_t count, loff_t *off) argument [all...] |
/linux-master/drivers/misc/ibmasm/ |
H A D | ibmasmfs.c | 259 static ssize_t command_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 268 if (count == 0 || count > IBMASM_CMD_MAX_BUFFER_SIZE) 286 len = min(count, cmd->buffer_size); 296 static ssize_t command_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset) argument 304 if (count == 0 || count > IBMASM_CMD_MAX_BUFFER_SIZE) 313 cmd = ibmasm_new_command(command_data->sp, count); 317 if (copy_from_user(cmd->buffer, ubuff, count)) { 334 return count; 368 event_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 411 event_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset) argument 452 r_heartbeat_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 480 r_heartbeat_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset) argument 502 remote_settings_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument 515 remote_settings_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset) argument [all...] |
/linux-master/include/linux/ |
H A D | uio.h | 37 size_t count; member in struct:iov_iter_state 47 * Hack alert: overlay ubuf_iovec with iovec + count, so 72 size_t count; member in struct:iov_iter::__anon25::__anon26 100 state->count = iter->count; 260 unsigned long nr_segs, size_t count); 262 unsigned long nr_segs, size_t count); 264 unsigned long nr_segs, size_t count); 265 void iov_iter_discard(struct iov_iter *i, unsigned int direction, size_t count); 267 loff_t start, size_t count); 288 iov_iter_truncate(struct iov_iter *i, u64 count) argument 304 iov_iter_reexpand(struct iov_iter *i, size_t count) argument 337 iov_iter_ubuf(struct iov_iter *i, unsigned int direction, void __user *buf, size_t count) argument [all...] |
/linux-master/drivers/misc/eeprom/ |
H A D | at24.c | 89 void (*read_post)(unsigned int off, char *buf, size_t count); 124 void (*read_post)(unsigned int off, char *buf, size_t count); 144 static void at24_read_post_vaio(unsigned int off, char *buf, size_t count) argument 157 for (i = 0; i < count; i++) { 315 unsigned int offset, size_t count) 322 * the next slave address: truncate the count to the slave boundary, 328 if (count > remainder) 329 count = remainder; 332 if (count > at24_io_limit) 333 count 314 at24_adjust_read_count(struct at24_data *at24, unsigned int offset, size_t count) argument 338 at24_regmap_read(struct at24_data *at24, char *buf, unsigned int offset, size_t count) argument 361 count, offset, ret, jiffies); local 380 at24_adjust_write_count(struct at24_data *at24, unsigned int offset, size_t count) argument 397 at24_regmap_write(struct at24_data *at24, const char *buf, unsigned int offset, size_t count) argument 417 count, offset, ret, jiffies); local 427 at24_read(void *priv, unsigned int off, void *val, size_t count) argument 471 at24_write(void *priv, unsigned int off, void *val, size_t count) argument [all...] |
/linux-master/arch/alpha/include/asm/ |
H A D | vga.h | 33 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) argument 36 memsetw_io((u16 __iomem *) s, c, count); 38 memset16(s, c, count / 2); 42 extern void scr_memcpyw(u16 *d, const u16 *s, unsigned int count);
|
/linux-master/include/uapi/linux/netfilter/ |
H A D | xt_connbytes.h | 21 __aligned_u64 from; /* count to be matched */ 22 __aligned_u64 to; /* count to be matched */ 23 } count; member in struct:xt_connbytes_info
|
/linux-master/sound/firewire/ |
H A D | packets-buffer.h | 22 unsigned int count, unsigned int packet_size,
|
H A D | packets-buffer.c | 17 * @count: the number of packets 22 unsigned int count, unsigned int packet_size, 30 b->packets = kmalloc_array(count, sizeof(*b->packets), GFP_KERNEL); 42 pages = DIV_ROUND_UP(count, packets_per_page); 49 for (i = 0; i < count; ++i) { 21 iso_packets_buffer_init(struct iso_packets_buffer *b, struct fw_unit *unit, unsigned int count, unsigned int packet_size, enum dma_data_direction direction) argument
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-vbi.h | 14 size_t count);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-sysparam.c | 123 struct kobj_attribute *kobj_attr, const char *buf, size_t count) 130 if (count > MAX_PARAM_DATA_LEN) 131 count = MAX_PARAM_DATA_LEN; 134 memcpy(param_data_buf, buf, count); 139 ret = count; 148 int count, i; local 181 count = of_property_count_strings(sysparam, "param-name"); 182 if (count < 0) { 188 id = kcalloc(count, sizeof(*id), GFP_KERNEL); 195 size = kcalloc(count, sizeo 122 sys_param_store(struct kobject *kobj, struct kobj_attribute *kobj_attr, const char *buf, size_t count) argument [all...] |
/linux-master/include/linux/mfd/da9150/ |
H A D | core.h | 71 void da9150_read_qif(struct da9150 *da9150, u8 addr, int count, u8 *buf); 72 void da9150_write_qif(struct da9150 *da9150, u8 addr, int count, const u8 *buf); 78 void da9150_bulk_read(struct da9150 *da9150, u16 reg, int count, u8 *buf); 79 void da9150_bulk_write(struct da9150 *da9150, u16 reg, int count, const u8 *buf);
|
/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | bh.h | 23 int wsm_release_tx_buffer(struct cw1200_common *priv, int count);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | if0000.h | 16 __u8 count; member in struct:nvif_client_devlist_v0
|
/linux-master/tools/perf/scripts/perl/ |
H A D | rw-by-file.pl | 31 $common_pid, $common_comm, $common_callchain, $nr, $fd, $buf, $count) = @_; 34 $reads{$fd}{bytes_requested} += $count; 42 $common_pid, $common_comm, $common_callchain, $nr, $fd, $buf, $count) = @_; 45 $writes{$fd}{bytes_written} += $count; 89 printf("%-40s %10s\n", "event", "count");
|