Home
last modified time | relevance | path

Searched refs:es (Results 1 – 25 of 189) sorted by relevance

12345678

/Linux-v5.4/fs/ext4/
Dextents_status.c187 struct extent_status *es; in ext4_es_print_tree() local
188 es = rb_entry(node, struct extent_status, rb_node); in ext4_es_print_tree()
190 es->es_lblk, es->es_len, in ext4_es_print_tree()
191 ext4_es_pblock(es), ext4_es_status(es)); in ext4_es_print_tree()
200 static inline ext4_lblk_t ext4_es_end(struct extent_status *es) in ext4_es_end() argument
202 BUG_ON(es->es_lblk + es->es_len < es->es_lblk); in ext4_es_end()
203 return es->es_lblk + es->es_len - 1; in ext4_es_end()
214 struct extent_status *es = NULL; in __es_tree_search() local
217 es = rb_entry(node, struct extent_status, rb_node); in __es_tree_search()
218 if (lblk < es->es_lblk) in __es_tree_search()
[all …]
Dextents_status.h139 int (*match_fn)(struct extent_status *es),
141 struct extent_status *es);
144 struct extent_status *es);
146 int (*matching_fn)(struct extent_status *es),
149 int (*matching_fn)(struct extent_status *es),
152 static inline unsigned int ext4_es_status(struct extent_status *es) in ext4_es_status() argument
154 return es->es_pblk >> ES_SHIFT; in ext4_es_status()
157 static inline unsigned int ext4_es_type(struct extent_status *es) in ext4_es_type() argument
159 return (es->es_pblk & ES_TYPE_MASK) >> ES_SHIFT; in ext4_es_type()
162 static inline int ext4_es_is_written(struct extent_status *es) in ext4_es_is_written() argument
[all …]
Dsuper.c70 struct ext4_super_block *es);
72 struct ext4_super_block *es);
168 struct ext4_super_block *es) in ext4_verify_csum_type() argument
173 return es->s_checksum_type == EXT4_CRC32C_CHKSUM; in ext4_verify_csum_type()
177 struct ext4_super_block *es) in ext4_superblock_csum() argument
183 csum = ext4_chksum(sbi, ~0, (char *)es, offset); in ext4_superblock_csum()
189 struct ext4_super_block *es) in ext4_superblock_csum_verify() argument
194 return es->s_checksum == ext4_superblock_csum(sb, es); in ext4_superblock_csum_verify()
199 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_superblock_csum_set() local
204 es->s_checksum = ext4_superblock_csum(sb, es); in ext4_superblock_csum_set()
[all …]
Dresize.c92 struct ext4_super_block *es = sbi->s_es; in verify_group_input() local
93 ext4_fsblk_t start = ext4_blocks_count(es); in verify_group_input()
502 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks() local
514 reserved_gdb = le16_to_cpu(es->s_reserved_gdt_blocks); in setup_new_flex_group_blocks()
783 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in add_new_gdb() local
890 le16_add_cpu(&es->s_reserved_gdt_blocks, -1); in add_new_gdb()
1193 struct ext4_super_block *es = sbi->s_es; in ext4_add_new_descs() local
1201 le16_to_cpu(es->s_reserved_gdt_blocks) : 0; in ext4_add_new_descs()
1351 struct ext4_super_block *es = sbi->s_es; in ext4_update_super() local
1370 reserved_blocks = ext4_r_blocks_count(es) * 100; in ext4_update_super()
[all …]
Dmmp.c136 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in kmmpd() local
141 int mmp_update_interval = le16_to_cpu(es->s_mmp_update_interval); in kmmpd()
147 mmp_block = le64_to_cpu(es->s_mmp_block); in kmmpd()
181 if (!(le32_to_cpu(es->s_feature_incompat) & in kmmpd()
275 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_multi_mount_protect() local
280 unsigned int mmp_check_interval = le16_to_cpu(es->s_mmp_update_interval); in ext4_multi_mount_protect()
284 if (mmp_block < le32_to_cpu(es->s_first_data_block) || in ext4_multi_mount_protect()
285 mmp_block >= ext4_blocks_count(es)) { in ext4_multi_mount_protect()
/Linux-v5.4/sound/pci/
Des1968.c859 struct esschan *es; in snd_es1968_bob_dec() local
860 list_for_each_entry(es, &chip->substream_list, list) { in snd_es1968_bob_dec()
861 if (max_freq < es->bob_freq) in snd_es1968_bob_dec()
862 max_freq = es->bob_freq; in snd_es1968_bob_dec()
873 snd_es1968_calc_bob_rate(struct es1968 *chip, struct esschan *es, in snd_es1968_calc_bob_rate() argument
878 if (es->fmt & ESS_FMT_STEREO) in snd_es1968_calc_bob_rate()
880 if (es->fmt & ESS_FMT_16BIT) in snd_es1968_calc_bob_rate()
882 freq /= es->frag_size; in snd_es1968_calc_bob_rate()
907 snd_es1968_get_dma_ptr(struct es1968 *chip, struct esschan *es) in snd_es1968_get_dma_ptr() argument
911 offset = apu_get_register(chip, es->apu[0], 5); in snd_es1968_get_dma_ptr()
[all …]
/Linux-v5.4/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_leaf.c628 const struct kvaser_usb_err_summary *es, in kvaser_usb_leaf_rx_error_update_can_state() argument
635 netdev_dbg(priv->netdev, "Error status: 0x%02x\n", es->status); in kvaser_usb_leaf_rx_error_update_can_state()
640 if (es->status & (M16C_STATE_BUS_OFF | M16C_STATE_BUS_RESET)) { in kvaser_usb_leaf_rx_error_update_can_state()
642 } else if (es->status & M16C_STATE_BUS_PASSIVE) { in kvaser_usb_leaf_rx_error_update_can_state()
644 } else if (es->status & M16C_STATE_BUS_ERROR) { in kvaser_usb_leaf_rx_error_update_can_state()
647 if (es->txerr >= 128 || es->rxerr >= 128) in kvaser_usb_leaf_rx_error_update_can_state()
649 else if (es->txerr >= 96 || es->rxerr >= 96) in kvaser_usb_leaf_rx_error_update_can_state()
656 if (!es->status) in kvaser_usb_leaf_rx_error_update_can_state()
660 tx_state = (es->txerr >= es->rxerr) ? new_state : 0; in kvaser_usb_leaf_rx_error_update_can_state()
661 rx_state = (es->txerr <= es->rxerr) ? new_state : 0; in kvaser_usb_leaf_rx_error_update_can_state()
[all …]
/Linux-v5.4/drivers/md/
Ddm-cache-policy-smq.c65 static int space_init(struct entry_space *es, unsigned nr_entries) in space_init() argument
68 es->begin = es->end = NULL; in space_init()
72 es->begin = vzalloc(array_size(nr_entries, sizeof(struct entry))); in space_init()
73 if (!es->begin) in space_init()
76 es->end = es->begin + nr_entries; in space_init()
80 static void space_exit(struct entry_space *es) in space_exit() argument
82 vfree(es->begin); in space_exit()
85 static struct entry *__get_entry(struct entry_space *es, unsigned block) in __get_entry() argument
89 e = es->begin + block; in __get_entry()
90 BUG_ON(e >= es->end); in __get_entry()
[all …]
/Linux-v5.4/drivers/parisc/
Deisa_enumerator.c314 struct eeprom_eisa_slot_info *es, in parse_slot_config() argument
332 print_eisa_id(board, es->eisa_slot_id); in parse_slot_config()
334 slot, board, es->flags&HPEE_FLAG_BOARD_IS_ISA ? "ISA" : "EISA"); in parse_slot_config()
336 maxlen = es->config_data_length < HPEE_MAX_LENGTH ? in parse_slot_config()
337 es->config_data_length : HPEE_MAX_LENGTH; in parse_slot_config()
338 while ((pos < maxlen) && (num_func <= es->num_functions)) { in parse_slot_config()
409 if (pos != es->config_data_length) { in parse_slot_config()
411 pos, es->config_data_length); in parse_slot_config()
415 if (num_func != es->num_functions) { in parse_slot_config()
417 num_func, es->num_functions); in parse_slot_config()
[all …]
/Linux-v5.4/fs/ext2/
Dsuper.c55 struct ext2_super_block *es = sbi->s_es; in ext2_error() local
60 es->s_state |= cpu_to_le16(EXT2_ERROR_FS); in ext2_error()
62 ext2_sync_super(sb, es, 1); in ext2_error()
105 struct ext2_super_block *es = EXT2_SB(sb)->s_es; in ext2_update_dynamic_rev() local
107 if (le32_to_cpu(es->s_rev_level) > EXT2_GOOD_OLD_REV) in ext2_update_dynamic_rev()
115 es->s_first_ino = cpu_to_le32(EXT2_GOOD_OLD_FIRST_INO); in ext2_update_dynamic_rev()
116 es->s_inode_size = cpu_to_le16(EXT2_GOOD_OLD_INODE_SIZE); in ext2_update_dynamic_rev()
117 es->s_rev_level = cpu_to_le32(EXT2_DYNAMIC_REV); in ext2_update_dynamic_rev()
156 struct ext2_super_block *es = sbi->s_es; in ext2_put_super() local
159 es->s_state = cpu_to_le16(sbi->s_mount_state); in ext2_put_super()
[all …]
/Linux-v5.4/scripts/coccinelle/misc/
Dwarn.cocci45 expression list es;
51 es);
55 expression list ok1.es;
60 WARN(1,es);
94 expression list es;
100 es);
104 expression list ok2.es;
109 WARN_ONCE(1,es);
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c912 u16 es; /* # extraction sequence entries */ member
1240 struct ice_sw_fv_section *es; in ice_fill_tbl() local
1317 es = (struct ice_sw_fv_section *)sect; in ice_fill_tbl()
1318 src = (u8 *)es->fv; in ice_fill_tbl()
1319 sect_len = (u32)(le16_to_cpu(es->count) * in ice_fill_tbl()
1320 hw->blk[block_id].es.fvw) * in ice_fill_tbl()
1321 sizeof(*hw->blk[block_id].es.t); in ice_fill_tbl()
1322 dst = (u8 *)hw->blk[block_id].es.t; in ice_fill_tbl()
1323 dst_len = (u32)(hw->blk[block_id].es.count * in ice_fill_tbl()
1324 hw->blk[block_id].es.fvw) * in ice_fill_tbl()
[all …]
/Linux-v5.4/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c828 a->fmt.width = preview_port->es.video.width; in vidioc_g_fbuf()
829 a->fmt.height = preview_port->es.video.height; in vidioc_g_fbuf()
831 a->fmt.bytesperline = preview_port->es.video.width; in vidioc_g_fbuf()
832 a->fmt.sizeimage = (preview_port->es.video.width * in vidioc_g_fbuf()
833 preview_port->es.video.height * 3) >> 1; in vidioc_g_fbuf()
1081 camera_port->es.video.width = f->fmt.pix.width; in mmal_setup_components()
1082 camera_port->es.video.height = f->fmt.pix.height; in mmal_setup_components()
1083 camera_port->es.video.crop.x = 0; in mmal_setup_components()
1084 camera_port->es.video.crop.y = 0; in mmal_setup_components()
1085 camera_port->es.video.crop.width = f->fmt.pix.width; in mmal_setup_components()
[all …]
Dmmal-vchiq.c730 port->es.video.width, port->es.video.height, in dump_port_info()
731 port->es.video.color_space); in dump_port_info()
734 port->es.video.crop.x, in dump_port_info()
735 port->es.video.crop.y, in dump_port_info()
736 port->es.video.crop.width, port->es.video.crop.height); in dump_port_info()
738 port->es.video.frame_rate.num, in dump_port_info()
739 port->es.video.frame_rate.den, in dump_port_info()
740 port->es.video.par.num, port->es.video.par.den); in dump_port_info()
792 memcpy(&m.u.port_info_set.es, &port->es, in port_info_set()
894 memcpy(&port->es, in port_info_get()
[all …]
/Linux-v5.4/tools/perf/pmu-events/
Djevents.c377 es->field = strdup(field); \
378 if (!es->field) \
382 #define FREE_EVENT_FIELD(field) free(es->field)
384 #define TRY_FIXUP_FIELD(field) do { if (es->field && !*field) {\
385 *field = strdup(es->field); \
407 struct event_struct *es, *next; in free_arch_std_events() local
409 list_for_each_entry_safe(es, next, &arch_std_events, list) { in free_arch_std_events()
411 list_del_init(&es->list); in free_arch_std_events()
412 free(es); in free_arch_std_events()
421 struct event_struct *es; in save_arch_std_events() local
[all …]
/Linux-v5.4/drivers/dma/
Dmpc512x_dma.c318 static void mpc_dma_irq_process(struct mpc_dma *mdma, u32 is, u32 es, int off) in mpc_dma_irq_process() argument
322 u32 status = is | es; in mpc_dma_irq_process()
335 if (es & (1 << ch)) in mpc_dma_irq_process()
352 uint es; in mpc_dma_irq() local
355 es = in_be32(&mdma->regs->dmaes); in mpc_dma_irq()
357 if ((es & MPC_DMA_DMAES_VLD) && mdma->error_status == 0) in mpc_dma_irq()
358 mdma->error_status = es; in mpc_dma_irq()
421 uint es; in mpc_dma_tasklet() local
424 es = mdma->error_status; in mpc_dma_tasklet()
429 if (es) { in mpc_dma_tasklet()
[all …]
/Linux-v5.4/fs/gfs2/
Dxattr.c861 struct gfs2_ea_header *ea, struct ea_set *es) in ea_set_simple_noalloc() argument
863 struct gfs2_ea_request *er = es->es_er; in ea_set_simple_noalloc()
872 if (es->ea_split) in ea_set_simple_noalloc()
877 if (es->es_el) in ea_set_simple_noalloc()
878 ea_set_remove_stuffed(ip, es->es_el); in ea_set_simple_noalloc()
890 struct ea_set *es = private; in ea_set_simple_alloc() local
891 struct gfs2_ea_header *ea = es->es_ea; in ea_set_simple_alloc()
894 gfs2_trans_add_meta(ip->i_gl, es->es_bh); in ea_set_simple_alloc()
896 if (es->ea_split) in ea_set_simple_alloc()
903 if (es->es_el) in ea_set_simple_alloc()
[all …]
/Linux-v5.4/tools/perf/util/
Ddb-export.c349 struct export_sample es = { in db_export__sample() local
374 es.comm_db_id = comm->db_id; in db_export__sample()
376 es.db_id = ++dbe->sample_last_db_id; in db_export__sample()
378 err = db_ids_from_al(dbe, al, &es.dso_db_id, &es.sym_db_id, &es.offset); in db_export__sample()
388 es.call_path_id = cp->db_id; in db_export__sample()
397 err = db_ids_from_al(dbe, &addr_al, &es.addr_dso_db_id, in db_export__sample()
398 &es.addr_sym_db_id, &es.addr_offset); in db_export__sample()
403 &addr_al, es.db_id, in db_export__sample()
411 err = dbe->export_sample(dbe, &es); in db_export__sample()
/Linux-v5.4/tools/perf/util/scripting-engines/
Dtrace-event-python.c1121 struct export_sample *es) in python_export_sample_table() argument
1128 tuple_set_u64(t, 0, es->db_id); in python_export_sample_table()
1129 tuple_set_u64(t, 1, es->evsel->db_id); in python_export_sample_table()
1130 tuple_set_u64(t, 2, es->al->machine->db_id); in python_export_sample_table()
1131 tuple_set_u64(t, 3, es->al->thread->db_id); in python_export_sample_table()
1132 tuple_set_u64(t, 4, es->comm_db_id); in python_export_sample_table()
1133 tuple_set_u64(t, 5, es->dso_db_id); in python_export_sample_table()
1134 tuple_set_u64(t, 6, es->sym_db_id); in python_export_sample_table()
1135 tuple_set_u64(t, 7, es->offset); in python_export_sample_table()
1136 tuple_set_u64(t, 8, es->sample->ip); in python_export_sample_table()
[all …]
/Linux-v5.4/arch/x86/kernel/
Dprocess_64.c72 unsigned int ds, es; in __show_regs() local
104 asm("movl %%es,%0" : "=r" (es)); in __show_regs()
120 es, cr0); in __show_regs()
396 savesegment(es, p->thread.es); in copy_thread_tls()
463 loadsegment(es, _ds); in start_thread_common()
552 savesegment(es, prev->es); in __switch_to()
553 if (unlikely(next->es | prev->es)) in __switch_to()
554 loadsegment(es, next->es); in __switch_to()
/Linux-v5.4/arch/x86/boot/
Dcopy.S59 pushw %es
61 popw %es
63 popw %es
Dbioscall.S41 popw %es
52 pushw %es
62 movw %ax, %es
/Linux-v5.4/arch/x86/ia32/
Dia32_signal.c44 #define loadsegment_es(v) loadsegment(es, v)
74 u16 gs, fs, es, ds; in ia32_restore_sigcontext() local
85 es = GET_SEG(es); in ia32_restore_sigcontext()
112 RELOAD_SEG(es); in ia32_restore_sigcontext()
189 put_user_ex(get_user_seg(es), (unsigned int __user *)&sc->es); in ia32_setup_sigcontext()
321 loadsegment(es, __USER32_DS); in ia32_setup_frame()
400 loadsegment(es, __USER32_DS); in ia32_setup_rt_frame()
/Linux-v5.4/drivers/pci/hotplug/
Dibmphp.h591 #define SLOT_ATTN(s, es) ((u8) ((es & HPC_SLOT_BLINK_ATTN) \ argument
608 #define SLOT_PCIX(es) ((u8) ((es & HPC_SLOT_PCIX) \ argument
611 #define SLOT_SPEED(es) ((u8) ((es & HPC_SLOT_SPEED2) \ argument
612 ? ((es & HPC_SLOT_SPEED1) ? HPC_SLOT_SPEED_133 \
616 #define SLOT_BUS_MODE(es) ((u8) ((es & HPC_SLOT_BUS_MODE) \ argument
/Linux-v5.4/drivers/clk/bcm/
Dclk-cygnus.c33 #define ASIU_DIV_VAL(o, es, hs, hw, ls, lw) \ argument
34 { .offset = o, .en_shift = es, .high_shift = hs, \
46 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument
49 #define ASIU_GATE_VAL(o, es) { .offset = o, .en_shift = es } argument

12345678