Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/fs/ext4/
Dextents_status.c184 struct extent_status *es; in ext4_es_print_tree() local
185 es = rb_entry(node, struct extent_status, rb_node); in ext4_es_print_tree()
187 es->es_lblk, es->es_len, in ext4_es_print_tree()
188 ext4_es_pblock(es), ext4_es_status(es)); in ext4_es_print_tree()
197 static inline ext4_lblk_t ext4_es_end(struct extent_status *es) in ext4_es_end() argument
199 BUG_ON(es->es_lblk + es->es_len < es->es_lblk); in ext4_es_end()
200 return es->es_lblk + es->es_len - 1; in ext4_es_end()
211 struct extent_status *es = NULL; in __es_tree_search() local
214 es = rb_entry(node, struct extent_status, rb_node); in __es_tree_search()
215 if (lblk < es->es_lblk) in __es_tree_search()
[all …]
Dextents_status.h95 struct extent_status *es);
97 struct extent_status *es);
99 static inline unsigned int ext4_es_status(struct extent_status *es) in ext4_es_status() argument
101 return es->es_pblk >> ES_SHIFT; in ext4_es_status()
104 static inline unsigned int ext4_es_type(struct extent_status *es) in ext4_es_type() argument
106 return (es->es_pblk & ES_TYPE_MASK) >> ES_SHIFT; in ext4_es_type()
109 static inline int ext4_es_is_written(struct extent_status *es) in ext4_es_is_written() argument
111 return (ext4_es_type(es) & EXTENT_STATUS_WRITTEN) != 0; in ext4_es_is_written()
114 static inline int ext4_es_is_unwritten(struct extent_status *es) in ext4_es_is_unwritten() argument
116 return (ext4_es_type(es) & EXTENT_STATUS_UNWRITTEN) != 0; in ext4_es_is_unwritten()
[all …]
Dsuper.c69 struct ext4_super_block *es);
71 struct ext4_super_block *es);
144 struct ext4_super_block *es) in ext4_verify_csum_type() argument
149 return es->s_checksum_type == EXT4_CRC32C_CHKSUM; in ext4_verify_csum_type()
153 struct ext4_super_block *es) in ext4_superblock_csum() argument
159 csum = ext4_chksum(sbi, ~0, (char *)es, offset); in ext4_superblock_csum()
165 struct ext4_super_block *es) in ext4_superblock_csum_verify() argument
170 return es->s_checksum == ext4_superblock_csum(sb, es); in ext4_superblock_csum_verify()
175 struct ext4_super_block *es = EXT4_SB(sb)->s_es; in ext4_superblock_csum_set() local
180 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()
498 struct ext4_super_block *es = sbi->s_es; in setup_new_flex_group_blocks() local
510 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
888 le16_add_cpu(&es->s_reserved_gdt_blocks, -1); in add_new_gdb()
1185 struct ext4_super_block *es = sbi->s_es; in ext4_add_new_descs() local
1193 le16_to_cpu(es->s_reserved_gdt_blocks) : 0; in ext4_add_new_descs()
1343 struct ext4_super_block *es = sbi->s_es; in ext4_update_super() local
1362 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-v4.19/sound/pci/
Des1968.c873 struct esschan *es; in snd_es1968_bob_dec() local
874 list_for_each_entry(es, &chip->substream_list, list) { in snd_es1968_bob_dec()
875 if (max_freq < es->bob_freq) in snd_es1968_bob_dec()
876 max_freq = es->bob_freq; in snd_es1968_bob_dec()
887 snd_es1968_calc_bob_rate(struct es1968 *chip, struct esschan *es, in snd_es1968_calc_bob_rate() argument
892 if (es->fmt & ESS_FMT_STEREO) in snd_es1968_calc_bob_rate()
894 if (es->fmt & ESS_FMT_16BIT) in snd_es1968_calc_bob_rate()
896 freq /= es->frag_size; in snd_es1968_calc_bob_rate()
921 snd_es1968_get_dma_ptr(struct es1968 *chip, struct esschan *es) in snd_es1968_get_dma_ptr() argument
925 offset = apu_get_register(chip, es->apu[0], 5); in snd_es1968_get_dma_ptr()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/drivers/parisc/
Deisa_enumerator.c319 struct eeprom_eisa_slot_info *es, in parse_slot_config() argument
337 print_eisa_id(board, es->eisa_slot_id); in parse_slot_config()
339 slot, board, es->flags&HPEE_FLAG_BOARD_IS_ISA ? "ISA" : "EISA"); in parse_slot_config()
341 maxlen = es->config_data_length < HPEE_MAX_LENGTH ? in parse_slot_config()
342 es->config_data_length : HPEE_MAX_LENGTH; in parse_slot_config()
343 while ((pos < maxlen) && (num_func <= es->num_functions)) { in parse_slot_config()
414 if (pos != es->config_data_length) { in parse_slot_config()
416 pos, es->config_data_length); in parse_slot_config()
420 if (num_func != es->num_functions) { in parse_slot_config()
422 num_func, es->num_functions); in parse_slot_config()
[all …]
/Linux-v4.19/fs/ext2/
Dsuper.c54 struct ext2_super_block *es = sbi->s_es; in ext2_error() local
59 es->s_state |= cpu_to_le16(EXT2_ERROR_FS); in ext2_error()
61 ext2_sync_super(sb, es, 1); in ext2_error()
104 struct ext2_super_block *es = EXT2_SB(sb)->s_es; in ext2_update_dynamic_rev() local
106 if (le32_to_cpu(es->s_rev_level) > EXT2_GOOD_OLD_REV) in ext2_update_dynamic_rev()
114 es->s_first_ino = cpu_to_le32(EXT2_GOOD_OLD_FIRST_INO); in ext2_update_dynamic_rev()
115 es->s_inode_size = cpu_to_le16(EXT2_GOOD_OLD_INODE_SIZE); in ext2_update_dynamic_rev()
116 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 …]
Dballoc.c490 struct ext2_super_block * es = sbi->s_es; in ext2_free_blocks() local
493 if (block < le32_to_cpu(es->s_first_data_block) || in ext2_free_blocks()
495 block + count > le32_to_cpu(es->s_blocks_count)) { in ext2_free_blocks()
506 block_group = (block - le32_to_cpu(es->s_first_data_block)) / in ext2_free_blocks()
508 bit = (block - le32_to_cpu(es->s_first_data_block)) % in ext2_free_blocks()
1248 struct ext2_super_block *es; in ext2_new_blocks() local
1270 es = EXT2_SB(sb)->s_es; in ext2_new_blocks()
1295 if (goal < le32_to_cpu(es->s_first_data_block) || in ext2_new_blocks()
1296 goal >= le32_to_cpu(es->s_blocks_count)) in ext2_new_blocks()
1297 goal = le32_to_cpu(es->s_first_data_block); in ext2_new_blocks()
[all …]
/Linux-v4.19/scripts/coccinelle/misc/
Dwarn.cocci44 expression list es;
50 es);
54 expression list ok1.es;
59 WARN(1,es);
93 expression list es;
99 es);
103 expression list ok2.es;
108 WARN_ONCE(1,es);
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c821 a->fmt.width = preview_port->es.video.width; in vidioc_g_fbuf()
822 a->fmt.height = preview_port->es.video.height; in vidioc_g_fbuf()
824 a->fmt.bytesperline = preview_port->es.video.width; in vidioc_g_fbuf()
825 a->fmt.sizeimage = (preview_port->es.video.width * in vidioc_g_fbuf()
826 preview_port->es.video.height * 3) >> 1; in vidioc_g_fbuf()
1071 camera_port->es.video.width = f->fmt.pix.width; in mmal_setup_components()
1072 camera_port->es.video.height = f->fmt.pix.height; in mmal_setup_components()
1073 camera_port->es.video.crop.x = 0; in mmal_setup_components()
1074 camera_port->es.video.crop.y = 0; in mmal_setup_components()
1075 camera_port->es.video.crop.width = f->fmt.pix.width; in mmal_setup_components()
[all …]
Dmmal-vchiq.c716 port->es.video.width, port->es.video.height, in dump_port_info()
717 port->es.video.color_space); in dump_port_info()
720 port->es.video.crop.x, in dump_port_info()
721 port->es.video.crop.y, in dump_port_info()
722 port->es.video.crop.width, port->es.video.crop.height); in dump_port_info()
724 port->es.video.frame_rate.num, in dump_port_info()
725 port->es.video.frame_rate.den, in dump_port_info()
726 port->es.video.par.num, port->es.video.par.den); in dump_port_info()
778 memcpy(&m.u.port_info_set.es, &port->es, in port_info_set()
880 memcpy(&port->es, in port_info_get()
[all …]
/Linux-v4.19/tools/perf/util/
Ddb-export.c355 struct export_sample es = { in db_export__sample() local
385 es.comm_db_id = comm->db_id; in db_export__sample()
388 es.db_id = ++dbe->sample_last_db_id; in db_export__sample()
390 err = db_ids_from_al(dbe, al, &es.dso_db_id, &es.sym_db_id, &es.offset); in db_export__sample()
400 es.call_path_id = cp->db_id; in db_export__sample()
409 err = db_ids_from_al(dbe, &addr_al, &es.addr_dso_db_id, in db_export__sample()
410 &es.addr_sym_db_id, &es.addr_offset); in db_export__sample()
415 &addr_al, es.db_id, in db_export__sample()
423 err = dbe->export_sample(dbe, &es); in db_export__sample()
/Linux-v4.19/tools/perf/pmu-events/
Djevents.c372 es->field = strdup(field); \
373 if (!es->field) \
377 #define FREE_EVENT_FIELD(field) free(es->field)
379 #define TRY_FIXUP_FIELD(field) do { if (es->field && !*field) {\
380 *field = strdup(es->field); \
402 struct event_struct *es, *next; in free_arch_std_events() local
404 list_for_each_entry_safe(es, next, &arch_std_events, list) { in free_arch_std_events()
406 list_del(&es->list); in free_arch_std_events()
407 free(es); in free_arch_std_events()
416 struct event_struct *es; in save_arch_std_events() local
[all …]
/Linux-v4.19/arch/x86/kernel/
Dprocess_64.c70 unsigned int ds, cs, es; in __show_regs() local
103 asm("movl %%es,%0" : "=r" (es)); in __show_regs()
119 es, cr0); in __show_regs()
310 savesegment(es, p->thread.es); in copy_thread_tls()
377 loadsegment(es, _ds); in start_thread_common()
468 savesegment(es, prev->es); in __switch_to()
469 if (unlikely(next->es | prev->es)) in __switch_to()
470 loadsegment(es, next->es); in __switch_to()
/Linux-v4.19/drivers/dma/
Dmpc512x_dma.c330 static void mpc_dma_irq_process(struct mpc_dma *mdma, u32 is, u32 es, int off) in mpc_dma_irq_process() argument
334 u32 status = is | es; in mpc_dma_irq_process()
347 if (es & (1 << ch)) in mpc_dma_irq_process()
364 uint es; in mpc_dma_irq() local
367 es = in_be32(&mdma->regs->dmaes); in mpc_dma_irq()
369 if ((es & MPC_DMA_DMAES_VLD) && mdma->error_status == 0) in mpc_dma_irq()
370 mdma->error_status = es; in mpc_dma_irq()
433 uint es; in mpc_dma_tasklet() local
436 es = mdma->error_status; in mpc_dma_tasklet()
441 if (es) { in mpc_dma_tasklet()
[all …]
/Linux-v4.19/fs/gfs2/
Dxattr.c864 struct gfs2_ea_header *ea, struct ea_set *es) in ea_set_simple_noalloc() argument
866 struct gfs2_ea_request *er = es->es_er; in ea_set_simple_noalloc()
875 if (es->ea_split) in ea_set_simple_noalloc()
880 if (es->es_el) in ea_set_simple_noalloc()
881 ea_set_remove_stuffed(ip, es->es_el); in ea_set_simple_noalloc()
893 struct ea_set *es = private; in ea_set_simple_alloc() local
894 struct gfs2_ea_header *ea = es->es_ea; in ea_set_simple_alloc()
897 gfs2_trans_add_meta(ip->i_gl, es->es_bh); in ea_set_simple_alloc()
899 if (es->ea_split) in ea_set_simple_alloc()
906 if (es->es_el) in ea_set_simple_alloc()
[all …]
/Linux-v4.19/arch/x86/boot/
Dstring.c71 const char *es = s; in strnlen() local
72 while (*es && maxlen) { in strnlen()
73 es++; in strnlen()
77 return (es - s); in strnlen()
Dcopy.S61 pushw %es
63 popw %es
65 popw %es
Dbioscall.S44 popw %es
55 pushw %es
65 movw %ax, %es
/Linux-v4.19/arch/x86/power/
Dcpu.c109 savesegment(es, ctxt->es); in __save_processor_state()
227 loadsegment(es, __USER_DS); in __restore_processor_state()
248 loadsegment(ds, ctxt->es); in __restore_processor_state()
249 loadsegment(es, ctxt->es); in __restore_processor_state()
/Linux-v4.19/drivers/pci/hotplug/
Dibmphp.h592 #define SLOT_ATTN(s, es) ((u8) ((es & HPC_SLOT_BLINK_ATTN) \ argument
609 #define SLOT_PCIX(es) ((u8) ((es & HPC_SLOT_PCIX) \ argument
612 #define SLOT_SPEED(es) ((u8) ((es & HPC_SLOT_SPEED2) \ argument
613 ? ((es & HPC_SLOT_SPEED1) ? HPC_SLOT_SPEED_133 \
617 #define SLOT_BUS_MODE(es) ((u8) ((es & HPC_SLOT_BUS_MODE) \ argument
/Linux-v4.19/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