/linux-master/drivers/gpu/drm/lib/ |
H A D | drm_random.h | 20 unsigned int *drm_random_order(unsigned int count, 23 unsigned int count,
|
/linux-master/include/linux/ |
H A D | lockref.h | 14 * both the lock and the count word, or using memory transactions, for 32 int count; member in struct:lockref::__anon10::__anon11 49 return ((int)l->count < 0);
|
H A D | logic_pio.h | 35 size_t dwidth, unsigned int count); 37 size_t dwidth, unsigned int count); 47 void logic_insb(unsigned long addr, void *buffer, unsigned int count); 48 void logic_insl(unsigned long addr, void *buffer, unsigned int count); 49 void logic_insw(unsigned long addr, void *buffer, unsigned int count); 50 void logic_outsb(unsigned long addr, const void *buffer, unsigned int count); 51 void logic_outsw(unsigned long addr, const void *buffer, unsigned int count); 52 void logic_outsl(unsigned long addr, const void *buffer, unsigned int count);
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rif_counter_scale.sh | 52 local count=$1; shift 56 for ((i = 1; i <= count; i++)); do 73 local count=$1; shift 78 for ((i = 1; i <= count; i++)); do 81 for ((i = 1; i <= count; i++)); do 93 local count=$1; shift 96 for ((i = count; i > 0; i /= 2)); do 102 for ((i = count; i > 0; i /= 2)); do
|
H A D | rif_mac_profile_scale.sh | 14 local count=$1; shift 18 for ((i = 1; i <= count; i++)); do 37 local count=$1; shift 40 rif_mac_profiles_create $count $should_fail 45 [[ $occ -eq $count ]] 46 check_err_fail $should_fail $? "Attempt to use $count profiles (actual result $occ)"
|
/linux-master/drivers/s390/cio/ |
H A D | vfio_ccw_async.c | 15 char __user *buf, size_t count, 23 if (pos + count > sizeof(*region)) 28 if (copy_to_user(buf, (void *)region + pos, count)) 31 ret = count; 37 const char __user *buf, size_t count, 45 if (pos + count > sizeof(*region)) 52 if (copy_from_user((void *)region + pos, buf, count)) { 59 ret = region->ret_code ? region->ret_code : count; 14 vfio_ccw_async_region_read(struct vfio_ccw_private *private, char __user *buf, size_t count, loff_t *ppos) argument 36 vfio_ccw_async_region_write(struct vfio_ccw_private *private, const char __user *buf, size_t count, loff_t *ppos) argument
|
/linux-master/include/net/ |
H A D | ax88796.h | 33 void (*block_output)(struct net_device *dev, int count, 35 void (*block_input)(struct net_device *dev, int count,
|
/linux-master/arch/x86/lib/ |
H A D | memcpy_32.c | 15 __visible void *memset(void *s, int c, size_t count) argument 17 return __memset(s, c, count);
|
/linux-master/drivers/counter/ |
H A D | i8254.c | 57 static int i8254_count_read(struct counter_device *const counter, struct counter_count *const count, argument 66 ret = regmap_write(priv->map, I8254_CONTROL_REG, I8254_COUNTER_LATCH(count->id)); 71 ret = regmap_noinc_read(priv->map, I8254_COUNTER_REG(count->id), value, sizeof(value)); 85 struct counter_count *const count, 97 struct counter_count *const count, 108 switch (priv->out_mode[count->id]) { 126 struct counter_count *const count, u64 *const ceiling) 132 switch (priv->out_mode[count->id]) { 135 *ceiling = (priv->preset[count->id] == 0) ? U16_MAX : priv->preset[count 84 i8254_function_read(struct counter_device *const counter, struct counter_count *const count, enum counter_function *const function) argument 96 i8254_action_read(struct counter_device *const counter, struct counter_count *const count, struct counter_synapse *const synapse, enum counter_synapse_action *const action) argument 125 i8254_count_ceiling_read(struct counter_device *const counter, struct counter_count *const count, u64 *const ceiling) argument 156 i8254_count_mode_read(struct counter_device *const counter, struct counter_count *const count, enum counter_count_mode *const count_mode) argument 187 i8254_count_mode_write(struct counter_device *const counter, struct counter_count *const count, const enum counter_count_mode count_mode) argument 232 i8254_count_floor_read(struct counter_device *const counter, struct counter_count *const count, u64 *const floor) argument 258 i8254_count_preset_read(struct counter_device *const counter, struct counter_count *const count, u64 *const preset) argument 268 i8254_count_preset_write(struct counter_device *const counter, struct counter_count *const count, const u64 preset) argument [all...] |
/linux-master/security/apparmor/ |
H A D | procattr.c | 106 int count = 0; local 125 for (count = 0; (hat < end) && count < 16; ++count) { 127 hats[count] = hat; 128 AA_DEBUG("%s: (pid %d) Magic 0x%llx count %d hat '%s'\n" 129 , __func__, current->pid, token, count, hat); 133 AA_DEBUG("%s: (pid %d) Magic 0x%llx count %d Hat '%s'\n", 134 __func__, current->pid, token, count, "<NULL>"); 136 return aa_change_hat(hats, count, toke [all...] |
/linux-master/tools/testing/selftests/media_tests/ |
H A D | media_device_test.c | 48 int count; local 76 count = rand(); 91 printf("Running test for %d iterations\n", count); 93 while (count > 0) { 98 printf("Media device model %s driver %s - count %d\n", 99 mdi.model, mdi.driver, count); 101 count--;
|
/linux-master/arch/mips/generic/ |
H A D | board-ranchu.c | 37 unsigned int start, count; local 63 count = read_c0_count() - start; 72 count += 5000; 73 count -= count % 10000; 77 return count;
|
/linux-master/fs/xfs/ |
H A D | xfs_bio_io.c | 7 static inline unsigned int bio_max_vecs(unsigned int count) argument 9 return bio_max_segs(howmany(count, PAGE_SIZE)); 16 unsigned int count, 22 unsigned int left = count; 27 flush_kernel_vmap_range(data, count); 57 invalidate_kernel_vmap_range(data, count); 13 xfs_rw_bdev( struct block_device *bdev, sector_t sector, unsigned int count, char *data, enum req_op op) argument
|
/linux-master/arch/s390/include/asm/ |
H A D | io.h | 61 #define memcpy_fromio(dst, src, count) zpci_memcpy_fromio(dst, src, count) 62 #define memcpy_toio(dst, src, count) zpci_memcpy_toio(dst, src, count) 63 #define memset_io(dst, val, count) zpci_memset_io(dst, val, count)
|
/linux-master/include/drm/ |
H A D | drm_debugfs.h | 143 int count, struct dentry *root, 145 int drm_debugfs_remove_files(const struct drm_info_list *files, int count, 152 const struct drm_debugfs_info *files, int count); 158 int count, struct dentry *root, 163 int count, struct dentry *root, 176 int count) 157 drm_debugfs_create_files(const struct drm_info_list *files, int count, struct dentry *root, struct drm_minor *minor) argument 162 drm_debugfs_remove_files(const struct drm_info_list *files, int count, struct dentry *root, struct drm_minor *minor) argument 174 drm_debugfs_add_files(struct drm_device *dev, const struct drm_debugfs_info *files, int count) argument
|
/linux-master/arch/m68k/include/asm/ |
H A D | kmap.h | 37 int count) 39 __builtin_memset((void __force *) addr, val, count); 44 int count) 46 __builtin_memcpy(dst, (void __force *) src, count); 51 int count) 53 __builtin_memcpy((void __force *) dst, src, count); 36 memset_io(volatile void __iomem *addr, unsigned char val, int count) argument 43 memcpy_fromio(void *dst, const volatile void __iomem *src, int count) argument 50 memcpy_toio(volatile void __iomem *dst, const void *src, int count) argument
|
/linux-master/tools/testing/selftests/lsm/ |
H A D | lsm_get_self_attr_test.c | 155 int count; local 189 count = lsm_get_self_attr(LSM_ATTR_CURRENT, ctx, &size, 0); 190 ASSERT_EQ(cnt_current, count); 194 for (i = 1; i < count; i++) { 201 count = lsm_get_self_attr(LSM_ATTR_EXEC, ctx, &size, 0); 202 ASSERT_GE(cnt_exec, count); 203 if (count > 0) { 208 for (i = 1; i < count; i++) { 215 count = lsm_get_self_attr(LSM_ATTR_FSCREATE, ctx, &size, 0); 216 ASSERT_GE(cnt_fscreate, count); [all...] |
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 124 static ssize_t xgbe_common_read(char __user *buffer, size_t count, argument 137 if (count < strlen(buf)) { 142 len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); 148 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, argument 158 if (count >= sizeof(workarea)) 162 buffer, count); 175 size_t count, loff_t *ppos) 179 return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xgmac_reg); 184 size_t count, loff_t *ppos) 188 return xgbe_common_write(buffer, count, ppo 174 xgmac_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 182 xgmac_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument 192 xgmac_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 203 xgmac_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument 234 xpcs_mmd_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 242 xpcs_mmd_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument 251 xpcs_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 259 xpcs_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument 268 xpcs_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 280 xpcs_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument 319 xprop_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 327 xprop_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument 337 xprop_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 348 xprop_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument 379 xi2c_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 387 xi2c_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument 397 xi2c_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 408 xi2c_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_debugfs.c | 14 size_t count, loff_t *ppos, 30 if (count < strlen(buf)) { 35 len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); 45 * @count: the size of the user's buffer 49 size_t count, loff_t *ppos) 51 return ixgbe_dbg_common_ops_read(filp, buffer, count, ppos, 59 * @count: the length of the user's data 64 size_t count, loff_t *ppos) 72 if (count >= sizeof(ixgbe_dbg_reg_ops_buf)) 79 count); 13 ixgbe_dbg_common_ops_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos, char *dbg_buf) argument 48 ixgbe_dbg_reg_ops_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 62 ixgbe_dbg_reg_ops_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument 131 ixgbe_dbg_netdev_ops_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) argument 145 ixgbe_dbg_netdev_ops_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/base/refcount/src/ |
H A D | refcount.c | 30 u32 count; member in struct:ia_css_refcount_entry 51 "%s(): Ref count not initialized!\n", __func__); 76 "%s(): Size of 0 for Ref count init!\n", __func__); 81 "%s(): Ref count is already initialized\n", __func__); 115 entry->count = 0; 148 "%s(): Ref count IDS do not match!\n", __func__); 153 entry->count += 1; 156 entry->count = 1; 178 "%s(): Ref count IDS do not match!\n", __func__); 181 if (entry->count > 225 u32 count = 0; local [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | string_32.h | 13 extern char *strncpy(char *dest, const char *src, size_t count); 19 extern char *strncat(char *dest, const char *src, size_t count); 25 extern int strncmp(const char *cs, const char *ct, size_t count); 50 * as the count is constant. 163 extern void *memchr(const void *cs, int c, size_t count); 165 static inline void *__memset_generic(void *s, char c, size_t count) argument 171 : "a" (c), "1" (s), "0" (count) 177 #define __constant_count_memset(s, c, count) __memset_generic((s), (c), (count)) 181 extern size_t strnlen(const char *s, size_t count); [all...] |
/linux-master/drivers/w1/slaves/ |
H A D | w1_ds2431.c | 43 * Check the file size bounds and adjusts count as needed. 46 static inline size_t w1_f2d_fix_count(loff_t off, size_t count, size_t size) argument 51 if ((off + count) > size) 54 return count; 62 * count must not exceed W1_F2D_READ_MAXLEN. 64 static int w1_f2d_readblock(struct w1_slave *sl, int off, int count, char *buf) argument 79 w1_read_block(sl->master, buf, count); 85 w1_read_block(sl->master, cmp, count); 87 if (!memcmp(cmp, buf, count)) 99 loff_t off, size_t count) 97 eeprom_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 203 eeprom_write(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_ds2430.c | 44 * Check the file size bounds and adjusts count as needed. 47 static inline size_t w1_f14_fix_count(loff_t off, size_t count, size_t size) argument 52 if ((off + count) > size) 55 return count; 63 * count must not exceed W1_F14_READ_MAXLEN. 65 static int w1_f14_readblock(struct w1_slave *sl, int off, int count, char *buf) argument 79 w1_read_block(sl->master, buf, count); 85 w1_read_block(sl->master, cmp, count); 87 if (!memcmp(cmp, buf, count)) 99 loff_t off, size_t count) 97 eeprom_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 204 eeprom_write(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_ds2805.c | 40 * Check the file size bounds and adjusts count as needed. 43 static inline size_t w1_f0d_fix_count(loff_t off, size_t count, size_t size) argument 48 if ((off + count) > size) 51 return count; 59 * count must not exceed W1_F0D_READ_MAXLEN. 61 static int w1_f0d_readblock(struct w1_slave *sl, int off, int count, char *buf) argument 76 w1_read_block(sl->master, buf, count); 82 w1_read_block(sl->master, cmp, count); 84 if (!memcmp(cmp, buf, count)) 96 char *buf, loff_t off, size_t count) 94 w1_f0d_read_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 202 w1_f0d_write_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument [all...] |
/linux-master/sound/firewire/fireworks/ |
H A D | fireworks_hwdep.c | 28 long count = 0; local 37 count += sizeof(type); 78 count += till_end; 95 return count; 99 hwdep_read_locked(struct snd_efw *efw, char __user *buf, long count, argument 113 count = min_t(long, count, sizeof(event.lock_status)); 115 if (copy_to_user(buf, &event, count)) 118 return count; 122 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, argument 158 hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, loff_t *offset) argument [all...] |