Searched refs:div_factor (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/kernel/ |
H A D | test_kprobes.c | 23 #define div_factor 3 macro 32 return (value / div_factor); kprobe_target() 37 preh_val = (rand1 / div_factor); kp_pre_handler() 44 if (preh_val != (rand1 / div_factor)) { kp_post_handler() 48 posth_val = preh_val + div_factor; kp_post_handler() 85 return (value / div_factor) + 1; kprobe_target2() 90 preh_val = (rand1 / div_factor) + 1; kp_pre_handler2() 97 if (preh_val != (rand1 / div_factor) + 1) { kp_post_handler2() 101 posth_val = preh_val + div_factor; kp_post_handler2() 235 krph_val = (rand1 / div_factor); entry_handler() 243 if (ret != (rand1 / div_factor)) { return_handler() 286 if (ret != (rand1 / div_factor) + 1) { return_handler2() 346 } while (rand1 <= div_factor); init_test_probes()
|
/linux-4.4.14/fs/btrfs/ |
H A D | math.h | 26 static inline u64 div_factor(u64 num, int factor) div_factor() function
|
H A D | volumes.c | 3409 size_to_free = div_factor(old_size, 1); list_for_each_entry() 4557 max_chunk_size = min(div_factor(fs_devices->total_rw_bytes, 1), __btrfs_alloc_chunk()
|
H A D | extent-tree.c | 4252 if (num_allocated + 2 * 1024 * 1024 < div_factor(num_bytes, 8)) should_alloc_chunk() 5085 min_bytes = div_factor(global_rsv->size, min_factor); btrfs_cond_migrate_bytes() 5221 num_bytes = div_factor(block_rsv->size, min_factor); btrfs_block_rsv_check()
|
/linux-4.4.14/drivers/ide/ |
H A D | ide-proc.c | 286 int rc, mul_factor, div_factor; ide_settings_proc_show() local 307 div_factor = setting->divf ? setting->divf(drive) : 1; ide_settings_proc_show() 311 seq_printf(m, "%-16d", rc * mul_factor / div_factor); ide_settings_proc_show() 314 seq_printf(m, "%-16d%-16d", (setting->min * mul_factor + div_factor - 1) / div_factor, setting->max * mul_factor / div_factor); ide_settings_proc_show() 338 int for_real = 0, mul_factor, div_factor; ide_settings_proc_write() local 421 div_factor = setting->divf ? setting->divf(drive) : 1; ide_settings_proc_write() 422 ide_write_setting(drive, setting, val * div_factor / mul_factor); ide_settings_proc_write()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | ix2505v.c | 138 u32 div_factor, N , A, x; ix2505v_set_params() local 161 div_factor = (frequency * ref) / 40; /* local osc = 4Mhz */ ix2505v_set_params() 162 x = div_factor / psc; ix2505v_set_params()
|
Completed in 613 milliseconds