el 395 arch/alpha/kernel/core_lca.c union el_lca el; el 397 arch/alpha/kernel/core_lca.c el.c = (struct el_common *) la_ptr; el 402 arch/alpha/kernel/core_lca.c vector, get_irq_regs()->pc, (unsigned int) el.c->code); el 411 arch/alpha/kernel/core_lca.c switch ((unsigned int) el.c->code) { el 429 arch/alpha/kernel/core_lca.c switch (el.c->size) { el 433 arch/alpha/kernel/core_lca.c reason, el.c->retry ? ", retryable" : "", el 434 arch/alpha/kernel/core_lca.c el.s->dc_stat); el 435 arch/alpha/kernel/core_lca.c if (el.s->esr & ESR_EAV) { el 436 arch/alpha/kernel/core_lca.c mem_error(el.s->esr, el.s->ear); el 438 arch/alpha/kernel/core_lca.c if (el.s->ioc_stat0 & IOC_ERR) { el 439 arch/alpha/kernel/core_lca.c ioc_error(el.s->ioc_stat0, el.s->ioc_stat1); el 445 arch/alpha/kernel/core_lca.c reason, el.c->retry ? ", retryable" : ""); el 448 arch/alpha/kernel/core_lca.c el.l->pt[0], el.l->exc_addr, el.l->dc_stat); el 449 arch/alpha/kernel/core_lca.c printk(KERN_CRIT " car: %#lx\n", el.l->car); el 450 arch/alpha/kernel/core_lca.c if (el.l->esr & ESR_EAV) { el 451 arch/alpha/kernel/core_lca.c mem_error(el.l->esr, el.l->ear); el 453 arch/alpha/kernel/core_lca.c if (el.l->ioc_stat0 & IOC_ERR) { el 454 arch/alpha/kernel/core_lca.c ioc_error(el.l->ioc_stat0, el.l->ioc_stat1); el 459 arch/alpha/kernel/core_lca.c printk(KERN_CRIT " Unknown errorlog size %d\n", el.c->size); el 467 arch/alpha/kernel/core_lca.c for (i = 0; i < el.c->size / sizeof(long); i += 2) { el 107 arch/arm64/include/asm/debug-monitors.h void enable_debug_monitors(enum dbg_active_el el); el 108 arch/arm64/include/asm/debug-monitors.h void disable_debug_monitors(enum dbg_active_el el); el 80 arch/arm64/kernel/debug-monitors.c void enable_debug_monitors(enum dbg_active_el el) el 89 arch/arm64/kernel/debug-monitors.c if (el == DBG_ACTIVE_EL1 && el 101 arch/arm64/kernel/debug-monitors.c void disable_debug_monitors(enum dbg_active_el el) el 110 arch/arm64/kernel/debug-monitors.c if (el == DBG_ACTIVE_EL1 && el 580 arch/arm64/kernel/hw_breakpoint.c static void toggle_bp_registers(int reg, enum dbg_active_el el, int enable) el 604 arch/arm64/kernel/hw_breakpoint.c if (debug_exception_level(privilege) != el) el 234 arch/mips/include/asm/asmmacro.h .word 0x41000000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel) el 238 arch/mips/include/asm/asmmacro.h .word 0x41800000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel) el 88 arch/unicore32/include/asm/assembler.h .else; .ifc \cond, el el 4231 arch/x86/events/intel/core.c EVENT_ATTR_STR(el-start, el_start, "event=0xc8,umask=0x1"); el 4232 arch/x86/events/intel/core.c EVENT_ATTR_STR(el-commit, el_commit, "event=0xc8,umask=0x2"); el 4233 arch/x86/events/intel/core.c EVENT_ATTR_STR(el-abort, el_abort, "event=0xc8,umask=0x4"); el 4234 arch/x86/events/intel/core.c EVENT_ATTR_STR(el-capacity, el_capacity, "event=0x54,umask=0x2"); el 4235 arch/x86/events/intel/core.c EVENT_ATTR_STR(el-conflict, el_conflict, "event=0x54,umask=0x1"); el 4274 arch/x86/events/intel/core.c EVENT_ATTR_STR(el-capacity-read, el_capacity_read, "event=0x54,umask=0x80"); el 4275 arch/x86/events/intel/core.c EVENT_ATTR_STR(el-capacity-write, el_capacity_write, "event=0x54,umask=0x2"); el 85 arch/x86/kernel/apic/x2apic_uv_x.c u64 el = end & gru_dist_lmask; el 88 arch/x86/kernel/apic/x2apic_uv_x.c return (sl == gru_dist_base && el == gru_dist_base && el 1478 drivers/block/drbd/drbd_bitmap.c unsigned long el = (e+1) & ~((unsigned long)BITS_PER_LONG-1); el 1502 drivers/block/drbd/drbd_bitmap.c last_page = el >> (3 + PAGE_SHIFT); el 1518 drivers/block/drbd/drbd_bitmap.c last_word = MLPP(el >> LN2_BPL); el 1534 drivers/block/drbd/drbd_bitmap.c if (el <= e) el 1535 drivers/block/drbd/drbd_bitmap.c __bm_change_bits_to(device, el, e, 1); el 372 drivers/crypto/hisilicon/sec/sec_algs.c static void sec_alg_free_el(struct sec_request_el *el, el 375 drivers/crypto/hisilicon/sec/sec_algs.c sec_free_hw_sgl(el->out, el->dma_out, info); el 376 drivers/crypto/hisilicon/sec/sec_algs.c sec_free_hw_sgl(el->in, el->dma_in, info); el 377 drivers/crypto/hisilicon/sec/sec_algs.c kfree(el->sgl_in); el 378 drivers/crypto/hisilicon/sec/sec_algs.c kfree(el->sgl_out); el 379 drivers/crypto/hisilicon/sec/sec_algs.c kfree(el); el 385 drivers/crypto/hisilicon/sec/sec_algs.c struct sec_request_el *el, *temp; el 389 drivers/crypto/hisilicon/sec/sec_algs.c list_for_each_entry_safe(el, temp, &sec_req->elements, head) { el 403 drivers/crypto/hisilicon/sec/sec_algs.c ret = sec_queue_send(queue, &el->req, sec_req); el 411 drivers/crypto/hisilicon/sec/sec_algs.c kfifo_put(&queue->softqueue, el); el 635 drivers/crypto/hisilicon/sec/sec_algs.c struct sec_request_el *el; el 639 drivers/crypto/hisilicon/sec/sec_algs.c el = kzalloc(sizeof(*el), GFP_KERNEL); el 640 drivers/crypto/hisilicon/sec/sec_algs.c if (!el) el 642 drivers/crypto/hisilicon/sec/sec_algs.c el->el_length = el_size; el 643 drivers/crypto/hisilicon/sec/sec_algs.c req = &el->req; el 668 drivers/crypto/hisilicon/sec/sec_algs.c el->sgl_in = sgl_in; el 670 drivers/crypto/hisilicon/sec/sec_algs.c ret = sec_alloc_and_fill_hw_sgl(&el->in, &el->dma_in, el->sgl_in, el 675 drivers/crypto/hisilicon/sec/sec_algs.c req->data_addr_lo = lower_32_bits(el->dma_in); el 676 drivers/crypto/hisilicon/sec/sec_algs.c req->data_addr_hi = upper_32_bits(el->dma_in); el 679 drivers/crypto/hisilicon/sec/sec_algs.c el->sgl_out = sgl_out; el 680 drivers/crypto/hisilicon/sec/sec_algs.c ret = sec_alloc_and_fill_hw_sgl(&el->out, &el->dma_out, el 681 drivers/crypto/hisilicon/sec/sec_algs.c el->sgl_out, el 687 drivers/crypto/hisilicon/sec/sec_algs.c req->cipher_destin_addr_lo = lower_32_bits(el->dma_out); el 688 drivers/crypto/hisilicon/sec/sec_algs.c req->cipher_destin_addr_hi = upper_32_bits(el->dma_out); el 692 drivers/crypto/hisilicon/sec/sec_algs.c req->cipher_destin_addr_lo = lower_32_bits(el->dma_in); el 693 drivers/crypto/hisilicon/sec/sec_algs.c req->cipher_destin_addr_hi = upper_32_bits(el->dma_in); el 696 drivers/crypto/hisilicon/sec/sec_algs.c return el; el 699 drivers/crypto/hisilicon/sec/sec_algs.c sec_free_hw_sgl(el->in, el->dma_in, info); el 701 drivers/crypto/hisilicon/sec/sec_algs.c kfree(el); el 721 drivers/crypto/hisilicon/sec/sec_algs.c struct sec_request_el *el, *temp; el 771 drivers/crypto/hisilicon/sec/sec_algs.c el = sec_alg_alloc_and_fill_el(&ctx->req_template, el 779 drivers/crypto/hisilicon/sec/sec_algs.c if (IS_ERR(el)) { el 780 drivers/crypto/hisilicon/sec/sec_algs.c ret = PTR_ERR(el); el 783 drivers/crypto/hisilicon/sec/sec_algs.c el->req.cipher_iv_addr_lo = lower_32_bits(sec_req->dma_iv); el 784 drivers/crypto/hisilicon/sec/sec_algs.c el->req.cipher_iv_addr_hi = upper_32_bits(sec_req->dma_iv); el 785 drivers/crypto/hisilicon/sec/sec_algs.c el->sec_req = sec_req; el 786 drivers/crypto/hisilicon/sec/sec_algs.c list_add_tail(&el->head, &sec_req->elements); el 838 drivers/crypto/hisilicon/sec/sec_algs.c list_for_each_entry_safe(el, temp, &sec_req->elements, head) { el 839 drivers/crypto/hisilicon/sec/sec_algs.c list_del(&el->head); el 840 drivers/crypto/hisilicon/sec/sec_algs.c sec_alg_free_el(el, info); el 129 drivers/input/misc/yealink.c static int setChar(struct yealink_dev *yld, int el, int chr) el 133 drivers/input/misc/yealink.c if (el >= ARRAY_SIZE(lcdMap)) el 139 drivers/input/misc/yealink.c yld->lcdMap[el] = chr; el 141 drivers/input/misc/yealink.c if (lcdMap[el].type == '.') { el 142 drivers/input/misc/yealink.c a = lcdMap[el].u.p.a; el 143 drivers/input/misc/yealink.c m = lcdMap[el].u.p.m; el 153 drivers/input/misc/yealink.c m = lcdMap[el].u.s[i].m; el 158 drivers/input/misc/yealink.c a = lcdMap[el].u.s[i].a; el 631 drivers/input/misc/yealink.c int el, size_t len) el 646 drivers/input/misc/yealink.c setChar(yld, el++, buf[i]); el 440 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define __BIT_VEC64_SET_BIT(el, bit) \ el 442 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h el = ((el) | ((u64)0x1 << (bit))); \ el 445 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define __BIT_VEC64_CLEAR_BIT(el, bit) \ el 447 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h el = ((el) & (~((u64)0x1 << (bit)))); \ el 473 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define NEXT_SGE_MASK_ELEM(el) (((el) + 1) & RX_SGE_MASK_LEN_MASK) el 138 drivers/net/ethernet/mellanox/mlxsw/core.c struct mlxsw_event_listener el; el 1390 drivers/net/ethernet/mellanox/mlxsw/core.c event_listener_item->el.func(®, payload, event_listener_item->priv); el 1403 drivers/net/ethernet/mellanox/mlxsw/core.c const struct mlxsw_event_listener *el, el 1409 drivers/net/ethernet/mellanox/mlxsw/core.c if (__is_event_listener_equal(&el_item->el, el) && el 1417 drivers/net/ethernet/mellanox/mlxsw/core.c const struct mlxsw_event_listener *el, el 1425 drivers/net/ethernet/mellanox/mlxsw/core.c .trap_id = el->trap_id, el 1428 drivers/net/ethernet/mellanox/mlxsw/core.c el_item = __find_event_listener_item(mlxsw_core, el, priv); el 1434 drivers/net/ethernet/mellanox/mlxsw/core.c el_item->el = *el; el 1455 drivers/net/ethernet/mellanox/mlxsw/core.c const struct mlxsw_event_listener *el, el 1462 drivers/net/ethernet/mellanox/mlxsw/core.c .trap_id = el->trap_id, el 1465 drivers/net/ethernet/mellanox/mlxsw/core.c el_item = __find_event_listener_item(mlxsw_core, el, priv); el 119 drivers/net/ethernet/mellanox/mlxsw/core.h const struct mlxsw_event_listener *el, el 122 drivers/net/ethernet/mellanox/mlxsw/core.h const struct mlxsw_event_listener *el, el 189 drivers/net/wireless/ath/ath9k/eeprom_4k.c u32 el; el 198 drivers/net/wireless/ath/ath9k/eeprom_4k.c el = swab16((__force u16)eep->baseEepHeader.length); el 200 drivers/net/wireless/ath/ath9k/eeprom_4k.c el = le16_to_cpu(eep->baseEepHeader.length); el 202 drivers/net/wireless/ath/ath9k/eeprom_4k.c el = min(el / sizeof(u16), SIZE_EEPROM_4K); el 203 drivers/net/wireless/ath/ath9k/eeprom_4k.c if (!ath9k_hw_nvram_validate_checksum(ah, el)) el 186 drivers/net/wireless/ath/ath9k/eeprom_9287.c u32 el; el 196 drivers/net/wireless/ath/ath9k/eeprom_9287.c el = swab16((__force u16)eep->baseEepHeader.length); el 198 drivers/net/wireless/ath/ath9k/eeprom_9287.c el = le16_to_cpu(eep->baseEepHeader.length); el 200 drivers/net/wireless/ath/ath9k/eeprom_9287.c el = min(el / sizeof(u16), SIZE_EEPROM_AR9287); el 201 drivers/net/wireless/ath/ath9k/eeprom_9287.c if (!ath9k_hw_nvram_validate_checksum(ah, el)) el 268 drivers/net/wireless/ath/ath9k/eeprom_def.c u32 el; el 277 drivers/net/wireless/ath/ath9k/eeprom_def.c el = swab16((__force u16)eep->baseEepHeader.length); el 279 drivers/net/wireless/ath/ath9k/eeprom_def.c el = le16_to_cpu(eep->baseEepHeader.length); el 281 drivers/net/wireless/ath/ath9k/eeprom_def.c el = min(el / sizeof(u16), SIZE_EEPROM_DEF); el 282 drivers/net/wireless/ath/ath9k/eeprom_def.c if (!ath9k_hw_nvram_validate_checksum(ah, el)) el 1518 drivers/net/wireless/atmel/at76c50x-usb.c const u8 *el; el 1531 drivers/net/wireless/atmel/at76c50x-usb.c el = ((struct ieee80211_mgmt *)hdr)->u.probe_resp.variable; el 1534 drivers/net/wireless/atmel/at76c50x-usb.c el = ((struct ieee80211_mgmt *)hdr)->u.beacon.variable; el 1540 drivers/net/wireless/atmel/at76c50x-usb.c el = cfg80211_find_ie(WLAN_EID_DS_PARAMS, el, len); el 1541 drivers/net/wireless/atmel/at76c50x-usb.c if (el && el[1] > 0) el 1542 drivers/net/wireless/atmel/at76c50x-usb.c channel = el[2]; el 8 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c #define RADAR_SPEC(m, len, el, eh, wl, wh, \ el 14 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c .e_low = el, \ el 238 drivers/net/wireless/wl3501.h struct iw_mgmt_info_element el; el 249 drivers/net/wireless/wl3501.h struct iw_mgmt_info_element el; el 254 drivers/net/wireless/wl3501.h struct iw_mgmt_info_element el; el 259 drivers/net/wireless/wl3501.h struct iw_mgmt_info_element el; el 267 drivers/net/wireless/wl3501.h struct iw_mgmt_info_element el; el 174 drivers/net/wireless/wl3501_cs.c struct iw_mgmt_info_element *el, el 177 drivers/net/wireless/wl3501_cs.c el->id = id; el 178 drivers/net/wireless/wl3501_cs.c el->len = len; el 179 drivers/net/wireless/wl3501_cs.c memcpy(el->data, value, len); el 593 drivers/net/wireless/wl3501_cs.c .el = { el 612 drivers/net/wireless/wl3501_cs.c .el = { el 619 drivers/net/wireless/wl3501_cs.c .el = { el 631 drivers/net/wireless/wl3501_cs.c .el = { el 643 drivers/net/wireless/wl3501_cs.c .el = { el 653 drivers/net/wireless/wl3501_cs.c iw_copy_mgmt_info_element(&sig.ssid.el, &this->essid.el); el 654 drivers/net/wireless/wl3501_cs.c iw_copy_mgmt_info_element(&this->keep_essid.el, &this->essid.el); el 673 drivers/net/wireless/wl3501_cs.c if (!this->essid.el.len) el 675 drivers/net/wireless/wl3501_cs.c else if (this->essid.el.len == 3 && el 678 drivers/net/wireless/wl3501_cs.c else if (this->essid.el.len != sig.ssid.el.len) el 681 drivers/net/wireless/wl3501_cs.c this->essid.el.len)) el 891 drivers/net/wireless/wl3501_cs.c iw_copy_mgmt_info_element(&this->keep_essid.el, el 892 drivers/net/wireless/wl3501_cs.c &this->bss_set[i].ssid.el); el 900 drivers/net/wireless/wl3501_cs.c iw_copy_mgmt_info_element(&this->keep_essid.el, el 901 drivers/net/wireless/wl3501_cs.c &this->bss_set[i].ssid.el); el 1582 drivers/net/wireless/wl3501_cs.c iwe.u.data.length = this->bss_set[i].ssid.el.len; el 1622 drivers/net/wireless/wl3501_cs.c &this->essid.el, el 1626 drivers/net/wireless/wl3501_cs.c &this->essid.el, "ANY", 3); el 1640 drivers/net/wireless/wl3501_cs.c wrqu->essid.length = this->essid.el.len; el 1641 drivers/net/wireless/wl3501_cs.c memcpy(extra, this->essid.essid, this->essid.el.len); el 1961 drivers/net/wireless/wl3501_cs.c iw_set_mgmt_info_element(IW_MGMT_INFO_ELEMENT_SSID, &this->essid.el, el 935 drivers/scsi/aic94xx/aic94xx_dump.c struct list_head *el; el 937 drivers/scsi/aic94xx/aic94xx_dump.c list_for_each(el, &ascb->list) { el 938 drivers/scsi/aic94xx/aic94xx_dump.c struct asd_ascb *s = list_entry(el, struct asd_ascb, el 716 drivers/scsi/aic94xx/aic94xx_sds.c struct asd_ll_el *el = start; el 721 drivers/scsi/aic94xx/aic94xx_sds.c if (el->id1 == id1) el 723 drivers/scsi/aic94xx/aic94xx_sds.c if (el->id0 == id0) el 724 drivers/scsi/aic94xx/aic94xx_sds.c return el; el 726 drivers/scsi/aic94xx/aic94xx_sds.c el = start + le16_to_cpu(el->next); el 727 drivers/scsi/aic94xx/aic94xx_sds.c } while (el != start); el 968 drivers/scsi/aic94xx/aic94xx_sds.c struct asd_ll_el *el = NULL; el 996 drivers/scsi/aic94xx/aic94xx_sds.c el = kmalloc(size, GFP_KERNEL); el 997 drivers/scsi/aic94xx/aic94xx_sds.c if (!el) { el 1002 drivers/scsi/aic94xx/aic94xx_sds.c err = asd_read_flash_seg(asd_ha, (void *)el, offs, size); el 1009 drivers/scsi/aic94xx/aic94xx_sds.c ps = asd_find_ll_by_id(el, 'h', 0xFF); el 1021 drivers/scsi/aic94xx/aic94xx_sds.c kfree(el); el 115 drivers/scsi/sym53c8xx_2/sym_misc.h #define sym_remque(el) __sym_que_del((el)->blink, (el)->flink) el 1286 fs/cifs/file.c struct list_head locks_to_send, *el; el 1296 fs/cifs/file.c list_for_each(el, &flctx->flc_posix) { el 1317 fs/cifs/file.c el = locks_to_send.next; el 1320 fs/cifs/file.c if (el == &locks_to_send) { el 1333 fs/cifs/file.c lck = list_entry(el, struct lock_to_push, llist); el 176 fs/gfs2/xattr.c struct gfs2_ea_location *el = ef->ef_el; el 178 fs/gfs2/xattr.c el->el_bh = bh; el 179 fs/gfs2/xattr.c el->el_ea = ea; el 180 fs/gfs2/xattr.c el->el_prev = prev; el 189 fs/gfs2/xattr.c struct gfs2_ea_location *el) el 197 fs/gfs2/xattr.c ef.ef_el = el; el 199 fs/gfs2/xattr.c memset(el, 0, sizeof(struct gfs2_ea_location)); el 504 fs/gfs2/xattr.c static int gfs2_ea_get_copy(struct gfs2_inode *ip, struct gfs2_ea_location *el, el 508 fs/gfs2/xattr.c size_t len = GFS2_EA_DATA_LEN(el->el_ea); el 512 fs/gfs2/xattr.c if (GFS2_EA_IS_STUFFED(el->el_ea)) { el 513 fs/gfs2/xattr.c memcpy(data, GFS2_EA2DATA(el->el_ea), len); el 516 fs/gfs2/xattr.c ret = gfs2_iter_unstuffed(ip, el->el_ea, NULL, data); el 524 fs/gfs2/xattr.c struct gfs2_ea_location el; el 529 fs/gfs2/xattr.c error = gfs2_ea_find(ip, GFS2_EATYPE_SYS, name, &el); el 532 fs/gfs2/xattr.c if (!el.el_ea) el 534 fs/gfs2/xattr.c if (!GFS2_EA_DATA_LEN(el.el_ea)) el 537 fs/gfs2/xattr.c len = GFS2_EA_DATA_LEN(el.el_ea); el 543 fs/gfs2/xattr.c error = gfs2_ea_get_copy(ip, &el, data, len); el 549 fs/gfs2/xattr.c brelse(el.el_bh); el 567 fs/gfs2/xattr.c struct gfs2_ea_location el; el 575 fs/gfs2/xattr.c error = gfs2_ea_find(ip, type, name, &el); el 578 fs/gfs2/xattr.c if (!el.el_ea) el 581 fs/gfs2/xattr.c error = gfs2_ea_get_copy(ip, &el, buffer, size); el 583 fs/gfs2/xattr.c error = GFS2_EA_DATA_LEN(el.el_ea); el 584 fs/gfs2/xattr.c brelse(el.el_bh); el 827 fs/gfs2/xattr.c struct gfs2_ea_location *el) el 829 fs/gfs2/xattr.c struct gfs2_ea_header *ea = el->el_ea; el 830 fs/gfs2/xattr.c struct gfs2_ea_header *prev = el->el_prev; el 833 fs/gfs2/xattr.c gfs2_trans_add_meta(ip->i_gl, el->el_bh); el 1031 fs/gfs2/xattr.c const void *value, size_t size, struct gfs2_ea_location *el) el 1046 fs/gfs2/xattr.c es.es_el = el; el 1059 fs/gfs2/xattr.c return ea_alloc_skeleton(ip, &er, blks, ea_set_block, el); el 1063 fs/gfs2/xattr.c struct gfs2_ea_location *el) el 1065 fs/gfs2/xattr.c if (el->el_prev && GFS2_EA2NEXT(el->el_prev) != el->el_ea) { el 1066 fs/gfs2/xattr.c el->el_prev = GFS2_EA2NEXT(el->el_prev); el 1068 fs/gfs2/xattr.c GFS2_EA2NEXT(el->el_prev) == el->el_ea); el 1071 fs/gfs2/xattr.c return ea_remove_unstuffed(ip, el->el_bh, el->el_ea, el->el_prev, 0); el 1074 fs/gfs2/xattr.c static int ea_remove_stuffed(struct gfs2_inode *ip, struct gfs2_ea_location *el) el 1076 fs/gfs2/xattr.c struct gfs2_ea_header *ea = el->el_ea; el 1077 fs/gfs2/xattr.c struct gfs2_ea_header *prev = el->el_prev; el 1084 fs/gfs2/xattr.c gfs2_trans_add_meta(ip->i_gl, el->el_bh); el 1121 fs/gfs2/xattr.c struct gfs2_ea_location el; el 1127 fs/gfs2/xattr.c error = gfs2_ea_find(ip, type, name, &el); el 1130 fs/gfs2/xattr.c if (!el.el_ea) el 1133 fs/gfs2/xattr.c if (GFS2_EA_IS_STUFFED(el.el_ea)) el 1134 fs/gfs2/xattr.c error = ea_remove_stuffed(ip, &el); el 1136 fs/gfs2/xattr.c error = ea_remove_unstuffed(ip, el.el_bh, el.el_ea, el.el_prev, 0); el 1138 fs/gfs2/xattr.c brelse(el.el_bh); el 1162 fs/gfs2/xattr.c struct gfs2_ea_location el; el 1187 fs/gfs2/xattr.c error = gfs2_ea_find(ip, type, name, &el); el 1191 fs/gfs2/xattr.c if (el.el_ea) { el 1193 fs/gfs2/xattr.c brelse(el.el_bh); el 1199 fs/gfs2/xattr.c int unstuffed = !GFS2_EA_IS_STUFFED(el.el_ea); el 1200 fs/gfs2/xattr.c error = ea_set_i(ip, type, name, value, size, &el); el 1202 fs/gfs2/xattr.c ea_set_remove_unstuffed(ip, &el); el 1205 fs/gfs2/xattr.c brelse(el.el_bh); el 588 fs/ocfs2/alloc.c node->el = NULL; el 631 fs/ocfs2/alloc.c dest->p_node[i].el = src->p_node[i].el; el 653 fs/ocfs2/alloc.c dest->p_node[i].el = src->p_node[i].el; el 656 fs/ocfs2/alloc.c src->p_node[i].el = NULL; el 679 fs/ocfs2/alloc.c path->p_node[index].el = &eb->h_list; el 768 fs/ocfs2/alloc.c int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster) el 775 fs/ocfs2/alloc.c for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { el 776 fs/ocfs2/alloc.c rec = &el->l_recs[i]; el 779 fs/ocfs2/alloc.c clusters = ocfs2_rec_clusters(el, rec); el 953 fs/ocfs2/alloc.c struct ocfs2_extent_list *el = NULL; el 958 fs/ocfs2/alloc.c el = et->et_root_el; el 969 fs/ocfs2/alloc.c el = &eb->h_list; el 972 fs/ocfs2/alloc.c BUG_ON(el->l_tree_depth != 0); el 974 fs/ocfs2/alloc.c retval = le16_to_cpu(el->l_count) - le16_to_cpu(el->l_next_free_rec); el 1080 fs/ocfs2/alloc.c static inline u32 ocfs2_sum_rightmost_rec(struct ocfs2_extent_list *el) el 1084 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; el 1086 fs/ocfs2/alloc.c return le32_to_cpu(el->l_recs[i].e_cpos) + el 1087 fs/ocfs2/alloc.c ocfs2_rec_clusters(el, &el->l_recs[i]); el 1099 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 1126 fs/ocfs2/alloc.c el = path_leaf_el(path); el 1127 fs/ocfs2/alloc.c rec = &el->l_recs[le16_to_cpu(el->l_next_free_rec) - 1]; el 1159 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 1166 fs/ocfs2/alloc.c el = &eb->h_list; el 1168 fs/ocfs2/alloc.c el = et->et_root_el; el 1171 fs/ocfs2/alloc.c BUG_ON(!el->l_tree_depth); el 1173 fs/ocfs2/alloc.c new_blocks = le16_to_cpu(el->l_tree_depth); el 1308 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec); el 1309 fs/ocfs2/alloc.c el->l_recs[i].e_blkno = cpu_to_le64(next_blkno); el 1310 fs/ocfs2/alloc.c el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); el 1311 fs/ocfs2/alloc.c el->l_recs[i].e_int_clusters = 0; el 1312 fs/ocfs2/alloc.c le16_add_cpu(&el->l_next_free_rec, 1); el 1458 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 1464 fs/ocfs2/alloc.c el = et->et_root_el; el 1466 fs/ocfs2/alloc.c while(le16_to_cpu(el->l_tree_depth) > 1) { el 1467 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0) { el 1473 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; el 1474 fs/ocfs2/alloc.c blkno = le64_to_cpu(el->l_recs[i].e_blkno); el 1492 fs/ocfs2/alloc.c el = &eb->h_list; el 1494 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) < el 1495 fs/ocfs2/alloc.c le16_to_cpu(el->l_count)) { el 1504 fs/ocfs2/alloc.c el = et->et_root_el; el 1505 fs/ocfs2/alloc.c if (!lowest_bh && (el->l_next_free_rec == el->l_count)) el 1530 fs/ocfs2/alloc.c struct ocfs2_extent_list *el = et->et_root_el; el 1531 fs/ocfs2/alloc.c int depth = le16_to_cpu(el->l_tree_depth); el 1596 fs/ocfs2/alloc.c static void ocfs2_shift_records_right(struct ocfs2_extent_list *el) el 1598 fs/ocfs2/alloc.c int next_free = le16_to_cpu(el->l_next_free_rec); el 1599 fs/ocfs2/alloc.c int count = le16_to_cpu(el->l_count); el 1608 fs/ocfs2/alloc.c memmove(&el->l_recs[1], &el->l_recs[0], num_bytes); el 1611 fs/ocfs2/alloc.c static void ocfs2_rotate_leaf(struct ocfs2_extent_list *el, el 1618 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); el 1619 fs/ocfs2/alloc.c has_empty = ocfs2_is_empty_extent(&el->l_recs[0]); el 1624 fs/ocfs2/alloc.c BUG_ON(el->l_next_free_rec == el->l_count && !has_empty); el 1637 fs/ocfs2/alloc.c el->l_recs[i] = el->l_recs[i+1]; el 1646 fs/ocfs2/alloc.c rec = &el->l_recs[i]; el 1655 fs/ocfs2/alloc.c le16_to_cpu(el->l_count)); el 1658 fs/ocfs2/alloc.c BUG_ON(insert_index >= le16_to_cpu(el->l_count)); el 1665 fs/ocfs2/alloc.c BUG_ON(next_free >= le16_to_cpu(el->l_count)); el 1669 fs/ocfs2/alloc.c memmove(&el->l_recs[insert_index + 1], el 1670 fs/ocfs2/alloc.c &el->l_recs[insert_index], el 1680 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(next_free); el 1684 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(el->l_next_free_rec) > le16_to_cpu(el->l_count)); el 1686 fs/ocfs2/alloc.c el->l_recs[insert_index] = *insert_rec; el 1690 fs/ocfs2/alloc.c static void ocfs2_remove_empty_extent(struct ocfs2_extent_list *el) el 1692 fs/ocfs2/alloc.c int size, num_recs = le16_to_cpu(el->l_next_free_rec); el 1696 fs/ocfs2/alloc.c if (ocfs2_is_empty_extent(&el->l_recs[0])) { el 1699 fs/ocfs2/alloc.c memmove(&el->l_recs[0], &el->l_recs[1], size); el 1700 fs/ocfs2/alloc.c memset(&el->l_recs[num_recs], 0, el 1702 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(num_recs); el 1713 fs/ocfs2/alloc.c static void ocfs2_create_empty_extent(struct ocfs2_extent_list *el) el 1715 fs/ocfs2/alloc.c int next_free = le16_to_cpu(el->l_next_free_rec); el 1717 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); el 1722 fs/ocfs2/alloc.c if (ocfs2_is_empty_extent(&el->l_recs[0])) el 1725 fs/ocfs2/alloc.c mlog_bug_on_msg(el->l_count == el->l_next_free_rec, el 1728 fs/ocfs2/alloc.c le16_to_cpu(el->l_count), el 1729 fs/ocfs2/alloc.c le16_to_cpu(el->l_tree_depth)); el 1731 fs/ocfs2/alloc.c ocfs2_shift_records_right(el); el 1734 fs/ocfs2/alloc.c le16_add_cpu(&el->l_next_free_rec, 1); el 1735 fs/ocfs2/alloc.c memset(&el->l_recs[0], 0, sizeof(struct ocfs2_extent_rec)); el 1797 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 1800 fs/ocfs2/alloc.c el = root_el; el 1801 fs/ocfs2/alloc.c while (el->l_tree_depth) { el 1802 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0) { el 1806 fs/ocfs2/alloc.c le16_to_cpu(el->l_tree_depth)); el 1812 fs/ocfs2/alloc.c for(i = 0; i < le16_to_cpu(el->l_next_free_rec) - 1; i++) { el 1813 fs/ocfs2/alloc.c rec = &el->l_recs[i]; el 1821 fs/ocfs2/alloc.c ocfs2_rec_clusters(el, rec); el 1826 fs/ocfs2/alloc.c blkno = le64_to_cpu(el->l_recs[i].e_blkno); el 1831 fs/ocfs2/alloc.c le16_to_cpu(el->l_tree_depth), i); el 1845 fs/ocfs2/alloc.c el = &eb->h_list; el 1847 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) > el 1848 fs/ocfs2/alloc.c le16_to_cpu(el->l_count)) { el 1853 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec), el 1854 fs/ocfs2/alloc.c le16_to_cpu(el->l_count)); el 1909 fs/ocfs2/alloc.c struct ocfs2_extent_list *el = &eb->h_list; el 1913 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_tree_depth) == 0) { el 2044 fs/ocfs2/alloc.c struct ocfs2_extent_list *el, *left_el, *right_el; el 2071 fs/ocfs2/alloc.c el = left_path->p_node[i].el; el 2073 fs/ocfs2/alloc.c left_rec = &el->l_recs[idx]; el 2075 fs/ocfs2/alloc.c el = right_path->p_node[i].el; el 2076 fs/ocfs2/alloc.c right_rec = &el->l_recs[0]; el 2087 fs/ocfs2/alloc.c left_el = left_path->p_node[i].el; el 2088 fs/ocfs2/alloc.c right_el = right_path->p_node[i].el; el 2096 fs/ocfs2/alloc.c el = left_path->p_node[subtree_index].el; el 2097 fs/ocfs2/alloc.c left_el = left_path->p_node[subtree_index + 1].el; el 2098 fs/ocfs2/alloc.c right_el = right_path->p_node[subtree_index + 1].el; el 2100 fs/ocfs2/alloc.c ocfs2_adjust_root_records(el, left_el, right_el, el 2216 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 2227 fs/ocfs2/alloc.c el = path->p_node[i].el; el 2233 fs/ocfs2/alloc.c for(j = 0; j < le16_to_cpu(el->l_next_free_rec); j++) { el 2234 fs/ocfs2/alloc.c if (le64_to_cpu(el->l_recs[j].e_blkno) == blkno) { el 2253 fs/ocfs2/alloc.c *cpos = le32_to_cpu(el->l_recs[j - 1].e_cpos); el 2254 fs/ocfs2/alloc.c *cpos = *cpos + ocfs2_rec_clusters(el, el 2255 fs/ocfs2/alloc.c &el->l_recs[j - 1]); el 2324 fs/ocfs2/alloc.c static int ocfs2_leftmost_rec_contains(struct ocfs2_extent_list *el, u32 cpos) el 2326 fs/ocfs2/alloc.c int next_free = le16_to_cpu(el->l_next_free_rec); el 2333 fs/ocfs2/alloc.c rec = &el->l_recs[0]; el 2338 fs/ocfs2/alloc.c rec = &el->l_recs[1]; el 2341 fs/ocfs2/alloc.c range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); el 2530 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 2544 fs/ocfs2/alloc.c el = &eb->h_list; el 2545 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(el->l_next_free_rec) == 0); el 2546 fs/ocfs2/alloc.c idx = le16_to_cpu(el->l_next_free_rec) - 1; el 2547 fs/ocfs2/alloc.c rec = &el->l_recs[idx]; el 2548 fs/ocfs2/alloc.c range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); el 2551 fs/ocfs2/alloc.c el = path->p_node[i].el; el 2552 fs/ocfs2/alloc.c idx = le16_to_cpu(el->l_next_free_rec) - 1; el 2553 fs/ocfs2/alloc.c rec = &el->l_recs[idx]; el 2571 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 2582 fs/ocfs2/alloc.c el = &eb->h_list; el 2583 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) > 1) { el 2589 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec)); el 2596 fs/ocfs2/alloc.c el->l_next_free_rec = 0; el 2597 fs/ocfs2/alloc.c memset(&el->l_recs[0], 0, sizeof(struct ocfs2_extent_rec)); el 2618 fs/ocfs2/alloc.c struct ocfs2_extent_list *root_el = left_path->p_node[subtree_index].el; el 2811 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 2825 fs/ocfs2/alloc.c el = path->p_node[i].el; el 2831 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); el 2832 fs/ocfs2/alloc.c for(j = 0; j < le16_to_cpu(el->l_next_free_rec); j++) { el 2833 fs/ocfs2/alloc.c if (le64_to_cpu(el->l_recs[j].e_blkno) == blkno) { el 2852 fs/ocfs2/alloc.c *cpos = le32_to_cpu(el->l_recs[j + 1].e_cpos); el 2881 fs/ocfs2/alloc.c struct ocfs2_extent_list *el = path_leaf_el(path); el 2883 fs/ocfs2/alloc.c if (!ocfs2_is_empty_extent(&el->l_recs[0])) el 2893 fs/ocfs2/alloc.c ocfs2_remove_empty_extent(el); el 3026 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 3091 fs/ocfs2/alloc.c el = et->et_root_el; el 3092 fs/ocfs2/alloc.c el->l_tree_depth = 0; el 3093 fs/ocfs2/alloc.c el->l_next_free_rec = 0; el 3094 fs/ocfs2/alloc.c memset(&el->l_recs[0], 0, sizeof(struct ocfs2_extent_rec)); el 3154 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 3156 fs/ocfs2/alloc.c el = path_leaf_el(path); el 3157 fs/ocfs2/alloc.c if (!ocfs2_is_empty_extent(&el->l_recs[0])) el 3186 fs/ocfs2/alloc.c el = &eb->h_list; el 3193 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) > 1) el 3196 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0) { el 3257 fs/ocfs2/alloc.c static void ocfs2_cleanup_merge(struct ocfs2_extent_list *el, el 3260 fs/ocfs2/alloc.c struct ocfs2_extent_rec *rec = &el->l_recs[index]; el 3275 fs/ocfs2/alloc.c BUG_ON(ocfs2_is_empty_extent(&el->l_recs[0])); el 3277 fs/ocfs2/alloc.c memmove(&el->l_recs[1], &el->l_recs[0], size); el 3285 fs/ocfs2/alloc.c memset(&el->l_recs[0], 0, sizeof(struct ocfs2_extent_rec)); el 3356 fs/ocfs2/alloc.c struct ocfs2_extent_list *el = path_leaf_el(left_path); el 3360 fs/ocfs2/alloc.c BUG_ON(index >= le16_to_cpu(el->l_next_free_rec)); el 3361 fs/ocfs2/alloc.c left_rec = &el->l_recs[index]; el 3363 fs/ocfs2/alloc.c if (index == le16_to_cpu(el->l_next_free_rec) - 1 && el 3364 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec) == le16_to_cpu(el->l_count)) { el 3424 fs/ocfs2/alloc.c BUG_ON(index == le16_to_cpu(el->l_next_free_rec) - 1); el 3425 fs/ocfs2/alloc.c right_rec = &el->l_recs[index + 1]; el 3443 fs/ocfs2/alloc.c ocfs2_cleanup_merge(el, index); el 3520 fs/ocfs2/alloc.c struct ocfs2_extent_list *el = path_leaf_el(right_path); el 3528 fs/ocfs2/alloc.c right_rec = &el->l_recs[index]; el 3585 fs/ocfs2/alloc.c left_rec = &el->l_recs[index - 1]; el 3586 fs/ocfs2/alloc.c if (ocfs2_is_empty_extent(&el->l_recs[0])) el 3611 fs/ocfs2/alloc.c ocfs2_cleanup_merge(el, index); el 3623 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec) == 1) { el 3664 fs/ocfs2/alloc.c struct ocfs2_extent_list *el = path_leaf_el(path); el 3665 fs/ocfs2/alloc.c struct ocfs2_extent_rec *rec = &el->l_recs[split_index]; el 3691 fs/ocfs2/alloc.c rec = &el->l_recs[split_index]; el 3724 fs/ocfs2/alloc.c BUG_ON(!ocfs2_is_empty_extent(&el->l_recs[0])); el 3742 fs/ocfs2/alloc.c rec = &el->l_recs[split_index]; el 3863 fs/ocfs2/alloc.c struct ocfs2_extent_list *el, el 3870 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); el 3873 fs/ocfs2/alloc.c i = ocfs2_search_extent_list(el, le32_to_cpu(insert_rec->e_cpos)); el 3875 fs/ocfs2/alloc.c rec = &el->l_recs[i]; el 3886 fs/ocfs2/alloc.c rec = &el->l_recs[i]; el 3899 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0 || el 3900 fs/ocfs2/alloc.c ((le16_to_cpu(el->l_next_free_rec) == 1) && el 3901 fs/ocfs2/alloc.c ocfs2_is_empty_extent(&el->l_recs[0]))) { el 3902 fs/ocfs2/alloc.c el->l_recs[0] = *insert_rec; el 3903 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(1); el 3911 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; el 3912 fs/ocfs2/alloc.c rec = &el->l_recs[i]; el 3917 fs/ocfs2/alloc.c mlog_bug_on_msg(le16_to_cpu(el->l_next_free_rec) >= el 3918 fs/ocfs2/alloc.c le16_to_cpu(el->l_count), el 3923 fs/ocfs2/alloc.c le16_to_cpu(el->l_tree_depth), el 3924 fs/ocfs2/alloc.c le16_to_cpu(el->l_count), el 3925 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec), el 3926 fs/ocfs2/alloc.c le32_to_cpu(el->l_recs[i].e_cpos), el 3927 fs/ocfs2/alloc.c le16_to_cpu(el->l_recs[i].e_leaf_clusters), el 3931 fs/ocfs2/alloc.c el->l_recs[i] = *insert_rec; el 3932 fs/ocfs2/alloc.c le16_add_cpu(&el->l_next_free_rec, 1); el 3947 fs/ocfs2/alloc.c ocfs2_rotate_leaf(el, insert_rec); el 3957 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 3965 fs/ocfs2/alloc.c el = path->p_node[i].el; el 3967 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); el 3975 fs/ocfs2/alloc.c rec = &el->l_recs[next_free - 1]; el 3994 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 4010 fs/ocfs2/alloc.c el = path_leaf_el(right_path); el 4011 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); el 4013 fs/ocfs2/alloc.c (next_free == 1 && ocfs2_is_empty_extent(&el->l_recs[0]))) { el 4080 fs/ocfs2/alloc.c struct ocfs2_extent_list *left_el = NULL, *right_el, *insert_el, *el; el 4087 fs/ocfs2/alloc.c el = right_el; el 4089 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); el 4092 fs/ocfs2/alloc.c BUG_ON(ocfs2_is_empty_extent(&el->l_recs[0])); el 4124 fs/ocfs2/alloc.c el = left_el; el 4138 fs/ocfs2/alloc.c el = left_el; el 4140 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); el 4144 fs/ocfs2/alloc.c rec = &el->l_recs[index]; el 4248 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 4250 fs/ocfs2/alloc.c el = et->et_root_el; el 4259 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_tree_depth) == 0) { el 4260 fs/ocfs2/alloc.c ocfs2_insert_at_leaf(et, insert_rec, el, type); el 4353 fs/ocfs2/alloc.c struct ocfs2_extent_list *el, int index, el 4368 fs/ocfs2/alloc.c rec = &el->l_recs[index - 1]; el 4411 fs/ocfs2/alloc.c if (split_rec->e_cpos == el->l_recs[index].e_cpos) el 4419 fs/ocfs2/alloc.c if (index < (le16_to_cpu(el->l_next_free_rec) - 1)) el 4420 fs/ocfs2/alloc.c rec = &el->l_recs[index + 1]; el 4421 fs/ocfs2/alloc.c else if (le16_to_cpu(el->l_next_free_rec) == le16_to_cpu(el->l_count) && el 4481 fs/ocfs2/alloc.c struct ocfs2_extent_list *el, el 4487 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); el 4489 fs/ocfs2/alloc.c for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { el 4490 fs/ocfs2/alloc.c contig_type = ocfs2_et_extent_contig(et, &el->l_recs[i], el 4501 fs/ocfs2/alloc.c &el->l_recs[insert->ins_contig_index]; el 4526 fs/ocfs2/alloc.c struct ocfs2_extent_list *el, el 4535 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(el->l_tree_depth) != 0); el 4537 fs/ocfs2/alloc.c if (!el->l_next_free_rec) el 4540 fs/ocfs2/alloc.c if (ocfs2_is_empty_extent(&el->l_recs[0])) { el 4542 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 1) el 4546 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; el 4547 fs/ocfs2/alloc.c rec = &el->l_recs[i]; el 4580 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 4586 fs/ocfs2/alloc.c el = et->et_root_el; el 4587 fs/ocfs2/alloc.c insert->ins_tree_depth = le16_to_cpu(el->l_tree_depth); el 4589 fs/ocfs2/alloc.c if (el->l_tree_depth) { el 4604 fs/ocfs2/alloc.c el = &eb->h_list; el 4615 fs/ocfs2/alloc.c *free_records = le16_to_cpu(el->l_count) - el 4616 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec); el 4619 fs/ocfs2/alloc.c ocfs2_figure_contig_type(et, insert, el, insert_rec); el 4620 fs/ocfs2/alloc.c ocfs2_figure_appending_type(insert, el, insert_rec); el 4643 fs/ocfs2/alloc.c el = path_leaf_el(path); el 4653 fs/ocfs2/alloc.c ocfs2_figure_contig_type(et, insert, el, insert_rec); el 4684 fs/ocfs2/alloc.c ocfs2_figure_appending_type(insert, el, insert_rec); el 4985 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 4999 fs/ocfs2/alloc.c el = path_leaf_el(path); el 5000 fs/ocfs2/alloc.c split_index = ocfs2_search_extent_list(el, cpos); el 5019 fs/ocfs2/alloc.c struct ocfs2_extent_list *el, el 5032 fs/ocfs2/alloc.c el->l_recs[split_index] = *split_rec; el 5067 fs/ocfs2/alloc.c struct ocfs2_extent_list *el = path_leaf_el(path); el 5069 fs/ocfs2/alloc.c struct ocfs2_extent_rec *rec = &el->l_recs[split_index]; el 5080 fs/ocfs2/alloc.c ret = ocfs2_figure_merge_contig_type(et, path, el, el 5110 fs/ocfs2/alloc.c ctxt.c_has_empty_extent = ocfs2_is_empty_extent(&el->l_recs[0]); el 5118 fs/ocfs2/alloc.c ret = ocfs2_replace_extent_rec(handle, et, path, el, el 5163 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 5178 fs/ocfs2/alloc.c el = path_leaf_el(left_path); el 5180 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); el 5191 fs/ocfs2/alloc.c rec = &el->l_recs[index]; el 5282 fs/ocfs2/alloc.c struct ocfs2_extent_list *rightmost_el, *el; el 5290 fs/ocfs2/alloc.c el = path_leaf_el(path); el 5291 fs/ocfs2/alloc.c rec = &el->l_recs[index]; el 5354 fs/ocfs2/alloc.c struct ocfs2_extent_list *el = path_leaf_el(path); el 5358 fs/ocfs2/alloc.c if (ocfs2_is_empty_extent(&el->l_recs[0]) && index > 0) { el 5377 fs/ocfs2/alloc.c if (index == (le16_to_cpu(el->l_next_free_rec) - 1) && el 5390 fs/ocfs2/alloc.c rec = &el->l_recs[index]; el 5412 fs/ocfs2/alloc.c if (left_cpos && le16_to_cpu(el->l_next_free_rec) > 1) { el 5449 fs/ocfs2/alloc.c rec_range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); el 5456 fs/ocfs2/alloc.c ocfs2_cleanup_merge(el, index); el 5458 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); el 5464 fs/ocfs2/alloc.c rec = &el->l_recs[next_free - 1]; el 5516 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 5538 fs/ocfs2/alloc.c el = path_leaf_el(path); el 5539 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); el 5565 fs/ocfs2/alloc.c rec = &el->l_recs[index]; el 5566 fs/ocfs2/alloc.c rec_range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); el 5574 fs/ocfs2/alloc.c ocfs2_rec_clusters(el, rec)); el 5603 fs/ocfs2/alloc.c el = path_leaf_el(path); el 5604 fs/ocfs2/alloc.c index = ocfs2_search_extent_list(el, cpos); el 5618 fs/ocfs2/alloc.c rec = &el->l_recs[index]; el 5620 fs/ocfs2/alloc.c ocfs2_rec_clusters(el, rec); el 5626 fs/ocfs2/alloc.c ocfs2_rec_clusters(el, rec)); el 7229 fs/ocfs2/alloc.c struct ocfs2_extent_list *el; el 7290 fs/ocfs2/alloc.c el = path_leaf_el(path); el 7291 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0) { el 7300 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; el 7301 fs/ocfs2/alloc.c rec = &el->l_recs[i]; el 7303 fs/ocfs2/alloc.c range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); el 7333 fs/ocfs2/alloc.c trunc_len = ocfs2_rec_clusters(el, rec); el 228 fs/ocfs2/alloc.h int ocfs2_search_extent_list(struct ocfs2_extent_list *el, u32 v_cluster); el 234 fs/ocfs2/alloc.h static inline unsigned int ocfs2_rec_clusters(struct ocfs2_extent_list *el, el 244 fs/ocfs2/alloc.h if (el->l_tree_depth) el 273 fs/ocfs2/alloc.h struct ocfs2_extent_list *el; el 285 fs/ocfs2/alloc.h #define path_root_el(_path) ((_path)->p_node[0].el) el 288 fs/ocfs2/alloc.h #define path_leaf_el(_path) ((_path)->p_node[(_path)->p_tree_depth].el) el 766 fs/ocfs2/dir.c struct ocfs2_extent_list *el, el 777 fs/ocfs2/dir.c if (el->l_tree_depth) { el 778 fs/ocfs2/dir.c ret = ocfs2_find_leaf(INODE_CACHE(inode), el, major_hash, el 786 fs/ocfs2/dir.c el = &eb->h_list; el 788 fs/ocfs2/dir.c if (el->l_tree_depth) { el 798 fs/ocfs2/dir.c for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { el 799 fs/ocfs2/dir.c rec = &el->l_recs[i]; el 812 fs/ocfs2/dir.c ocfs2_rec_clusters(el, rec)); el 845 fs/ocfs2/dir.c struct ocfs2_extent_list *el, el 856 fs/ocfs2/dir.c ret = ocfs2_dx_dir_lookup_rec(inode, el, name_hash, &cpos, &blkno, el 3159 fs/ocfs2/dir.c struct ocfs2_extent_list *el = &fe->id2.i_list; el 3234 fs/ocfs2/dir.c status = ocfs2_reserve_new_metadata(osb, el, &meta_ac); el 3252 fs/ocfs2/dir.c credits = ocfs2_calc_extend_credits(sb, el); el 283 fs/ocfs2/extent_map.c struct ocfs2_extent_list *el; el 292 fs/ocfs2/extent_map.c el = &eb->h_list; el 294 fs/ocfs2/extent_map.c if (el->l_tree_depth) { el 303 fs/ocfs2/extent_map.c next_free = le16_to_cpu(el->l_next_free_rec); el 306 fs/ocfs2/extent_map.c (next_free == 1 && ocfs2_is_empty_extent(&el->l_recs[0]))) el 318 fs/ocfs2/extent_map.c static int ocfs2_search_for_hole_index(struct ocfs2_extent_list *el, el 324 fs/ocfs2/extent_map.c for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { el 325 fs/ocfs2/extent_map.c rec = &el->l_recs[i]; el 346 fs/ocfs2/extent_map.c struct ocfs2_extent_list *el, el 355 fs/ocfs2/extent_map.c i = ocfs2_search_for_hole_index(el, v_cluster); el 357 fs/ocfs2/extent_map.c if (i == le16_to_cpu(el->l_next_free_rec) && eb_bh) { el 376 fs/ocfs2/extent_map.c el = &next_eb->h_list; el 377 fs/ocfs2/extent_map.c i = ocfs2_search_for_hole_index(el, v_cluster); el 381 fs/ocfs2/extent_map.c if (i == le16_to_cpu(el->l_next_free_rec)) { el 389 fs/ocfs2/extent_map.c *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; el 407 fs/ocfs2/extent_map.c struct ocfs2_extent_list *el; el 416 fs/ocfs2/extent_map.c el = &di->id2.i_list; el 417 fs/ocfs2/extent_map.c tree_height = le16_to_cpu(el->l_tree_depth); el 420 fs/ocfs2/extent_map.c ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, el 428 fs/ocfs2/extent_map.c el = &eb->h_list; el 430 fs/ocfs2/extent_map.c if (el->l_tree_depth) { el 440 fs/ocfs2/extent_map.c i = ocfs2_search_extent_list(el, v_cluster); el 449 fs/ocfs2/extent_map.c el, eb_bh, el 461 fs/ocfs2/extent_map.c rec = &el->l_recs[i]; el 470 fs/ocfs2/extent_map.c ocfs2_rec_clusters(el, rec)); el 493 fs/ocfs2/extent_map.c if (i == (le16_to_cpu(el->l_next_free_rec) - 1)) { el 534 fs/ocfs2/extent_map.c struct ocfs2_extent_list *el, el 543 fs/ocfs2/extent_map.c if (el->l_tree_depth) { el 544 fs/ocfs2/extent_map.c ret = ocfs2_find_leaf(INODE_CACHE(inode), el, v_cluster, el 552 fs/ocfs2/extent_map.c el = &eb->h_list; el 554 fs/ocfs2/extent_map.c if (el->l_tree_depth) { el 564 fs/ocfs2/extent_map.c i = ocfs2_search_extent_list(el, v_cluster); el 570 fs/ocfs2/extent_map.c rec = &el->l_recs[i]; el 578 fs/ocfs2/extent_map.c ocfs2_rec_clusters(el, rec)); el 587 fs/ocfs2/extent_map.c *num_clusters = ocfs2_rec_clusters(el, rec) - coff; el 50 fs/ocfs2/extent_map.h struct ocfs2_extent_list *el, el 58 fs/ocfs2/extent_map.h struct ocfs2_extent_list *el, el 1613 fs/ocfs2/file.c static int ocfs2_find_rec(struct ocfs2_extent_list *el, u32 pos) el 1618 fs/ocfs2/file.c for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { el 1620 fs/ocfs2/file.c rec = &el->l_recs[i]; el 1638 fs/ocfs2/file.c struct ocfs2_extent_list *el, el 1647 fs/ocfs2/file.c range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); el 1705 fs/ocfs2/file.c struct ocfs2_extent_list *el = NULL; el 1785 fs/ocfs2/file.c el = path_leaf_el(path); el 1787 fs/ocfs2/file.c i = ocfs2_find_rec(el, trunc_end); el 1821 fs/ocfs2/file.c rec = &el->l_recs[i]; el 1823 fs/ocfs2/file.c ocfs2_calc_trunc_pos(inode, el, rec, trunc_start, &trunc_cpos, el 61 fs/ocfs2/move_extents.c struct ocfs2_extent_list *el; el 91 fs/ocfs2/move_extents.c el = path_leaf_el(path); el 93 fs/ocfs2/move_extents.c index = ocfs2_search_extent_list(el, cpos); el 101 fs/ocfs2/move_extents.c rec = &el->l_recs[index]; el 959 fs/ocfs2/refcounttree.c struct ocfs2_extent_list *el, el 970 fs/ocfs2/refcounttree.c if (index < le16_to_cpu(el->l_next_free_rec) - 1) { el 975 fs/ocfs2/refcounttree.c *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); el 1032 fs/ocfs2/refcounttree.c tmp_el = left_path->p_node[subtree_root].el; el 1065 fs/ocfs2/refcounttree.c struct ocfs2_extent_list *el; el 1081 fs/ocfs2/refcounttree.c el = &rb->rf_list; el 1084 fs/ocfs2/refcounttree.c if (el->l_tree_depth) { el 1085 fs/ocfs2/refcounttree.c ret = ocfs2_find_leaf(ci, el, low_cpos, &eb_bh); el 1092 fs/ocfs2/refcounttree.c el = &eb->h_list; el 1094 fs/ocfs2/refcounttree.c if (el->l_tree_depth) { el 1104 fs/ocfs2/refcounttree.c for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { el 1105 fs/ocfs2/refcounttree.c rec = &el->l_recs[i]; el 1115 fs/ocfs2/refcounttree.c eb, el, i, &cpos_end); el 1662 fs/ocfs2/refcounttree.c struct ocfs2_extent_list *el; el 1713 fs/ocfs2/refcounttree.c el = path_leaf_el(path); el 1715 fs/ocfs2/refcounttree.c for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) el 1716 fs/ocfs2/refcounttree.c if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) el 1719 fs/ocfs2/refcounttree.c BUG_ON(i == le16_to_cpu(el->l_next_free_rec)); el 1721 fs/ocfs2/refcounttree.c el->l_recs[i].e_cpos = cpu_to_le32(new_cpos); el 2628 fs/ocfs2/refcounttree.c struct ocfs2_extent_list *el, el 2636 fs/ocfs2/refcounttree.c int tree_height = le16_to_cpu(el->l_tree_depth), i; el 2647 fs/ocfs2/refcounttree.c ret = ocfs2_find_leaf(INODE_CACHE(inode), el, cpos, &eb_bh); el 2654 fs/ocfs2/refcounttree.c el = &eb->h_list; el 2656 fs/ocfs2/refcounttree.c if (el->l_tree_depth) { el 2666 fs/ocfs2/refcounttree.c for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { el 2667 fs/ocfs2/refcounttree.c rec = &el->l_recs[i]; el 2801 fs/ocfs2/refcounttree.c if (i + 1 == le16_to_cpu(el->l_next_free_rec) && el 2815 fs/ocfs2/refcounttree.c el = &eb->h_list; el 3063 fs/ocfs2/refcounttree.c struct ocfs2_extent_list *el; el 3091 fs/ocfs2/refcounttree.c el = path_leaf_el(path); el 3093 fs/ocfs2/refcounttree.c index = ocfs2_search_extent_list(el, cpos); el 325 fs/ocfs2/suballoc.c struct ocfs2_extent_list *el = &bg->bg_list; el 329 fs/ocfs2/suballoc.c if (!el->l_next_free_rec) el 330 fs/ocfs2/suballoc.c el->l_count = cpu_to_le16(ocfs2_extent_recs_per_gd(osb->sb)); el 331 fs/ocfs2/suballoc.c rec = &el->l_recs[le16_to_cpu(el->l_next_free_rec)]; el 339 fs/ocfs2/suballoc.c le16_add_cpu(&el->l_next_free_rec, 1); el 498 fs/ocfs2/suballoc.c struct ocfs2_extent_list *el = &bg->bg_list; el 509 fs/ocfs2/suballoc.c while ((needed > 0) && (le16_to_cpu(el->l_next_free_rec) < el 510 fs/ocfs2/suballoc.c le16_to_cpu(el->l_count))) { el 552 fs/ocfs2/suballoc.c struct ocfs2_extent_list *el; el 559 fs/ocfs2/suballoc.c el = &bg->bg_list; el 560 fs/ocfs2/suballoc.c for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { el 561 fs/ocfs2/suballoc.c rec = &el->l_recs[i]; el 1111 fs/ocfs2/xattr.c struct ocfs2_extent_list *el; el 1113 fs/ocfs2/xattr.c el = &xv->xr_list; el 1121 fs/ocfs2/xattr.c &num_clusters, el, NULL); el 2656 fs/ocfs2/xattr.c struct ocfs2_extent_list *el = &di->id2.i_list; el 2657 fs/ocfs2/xattr.c free = (le16_to_cpu(el->l_count) - el 2658 fs/ocfs2/xattr.c le16_to_cpu(el->l_next_free_rec)) * el 2746 fs/ocfs2/xattr.c struct ocfs2_extent_list *el = &di->id2.i_list; el 2747 fs/ocfs2/xattr.c le16_add_cpu(&el->l_count, -(xattrsize / el 3203 fs/ocfs2/xattr.c struct ocfs2_extent_list *el = el 3205 fs/ocfs2/xattr.c meta_add += ocfs2_extend_meta_needed(el); el 3207 fs/ocfs2/xattr.c el); el 3228 fs/ocfs2/xattr.c struct ocfs2_extent_list *el = &def_xv.xv.xr_list; el 3229 fs/ocfs2/xattr.c meta_add += ocfs2_extend_meta_needed(el); el 3231 fs/ocfs2/xattr.c el); el 3690 fs/ocfs2/xattr.c struct ocfs2_extent_list *el) el 3698 fs/ocfs2/xattr.c if (el->l_tree_depth) { el 3699 fs/ocfs2/xattr.c ret = ocfs2_find_leaf(INODE_CACHE(inode), el, name_hash, el 3707 fs/ocfs2/xattr.c el = &eb->h_list; el 3709 fs/ocfs2/xattr.c if (el->l_tree_depth) { el 3718 fs/ocfs2/xattr.c for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { el 3719 fs/ocfs2/xattr.c rec = &el->l_recs[i]; el 3731 fs/ocfs2/xattr.c ocfs2_rec_clusters(el, rec)); el 3933 fs/ocfs2/xattr.c struct ocfs2_extent_list *el = &xb_root->xt_list; el 3938 fs/ocfs2/xattr.c if (le16_to_cpu(el->l_next_free_rec) == 0) el 3947 fs/ocfs2/xattr.c &num_clusters, el); el 4088 fs/ocfs2/xattr.c struct ocfs2_extent_list *el = &xb->xb_attrs.xb_root.xt_list; el 4093 fs/ocfs2/xattr.c if (!el->l_next_free_rec || !rec_func) el 4098 fs/ocfs2/xattr.c &e_cpos, &num_clusters, el); el 5277 fs/ocfs2/xattr.c struct ocfs2_extent_list *el = &xb_root->xt_list; el 5299 fs/ocfs2/xattr.c &num_clusters, el); el 5900 fs/ocfs2/xattr.c struct ocfs2_extent_list *el = &xv->xr_list; el 5906 fs/ocfs2/xattr.c &num_clusters, el, &ext_flags); el 6526 fs/ocfs2/xattr.c struct ocfs2_extent_list *el = &new_di->id2.i_list; el 6527 fs/ocfs2/xattr.c le16_add_cpu(&el->l_count, -(inline_size / el 227 kernel/user_namespace.c const struct uid_gid_extent *el = e; el 233 kernel/user_namespace.c first = el->lower_first; el 235 kernel/user_namespace.c first = el->first; el 237 kernel/user_namespace.c last = first + el->count - 1; el 14 lib/reed_solomon/decode_rs.c int deg_lambda, el, deg_omega; el 133 lib/reed_solomon/decode_rs.c el = no_eras; el 161 lib/reed_solomon/decode_rs.c if (2 * el <= r + no_eras - 1) { el 162 lib/reed_solomon/decode_rs.c el = r + no_eras - el; el 73 lib/test_list_sort.c struct debug_el *el; el 84 lib/test_list_sort.c el = kmalloc(sizeof(*el), GFP_KERNEL); el 85 lib/test_list_sort.c if (!el) el 89 lib/test_list_sort.c el->value = prandom_u32() % (TEST_LIST_LEN / 3); el 90 lib/test_list_sort.c el->serial = i; el 91 lib/test_list_sort.c el->poison1 = TEST_POISON1; el 92 lib/test_list_sort.c el->poison2 = TEST_POISON2; el 93 lib/test_list_sort.c elts[i] = el; el 94 lib/test_list_sort.c list_add_tail(&el->list, &head); el 115 lib/test_list_sort.c el = container_of(cur, struct debug_el, list); el 117 lib/test_list_sort.c if (cmp_result == 0 && el->serial >= el1->serial) { el 123 lib/test_list_sort.c if (check(el, el1)) { el 277 tools/perf/util/arm-spe-pkt-decoder.c int ret, ns, el, idx = packet->index; el 424 tools/perf/util/arm-spe-pkt-decoder.c el = (packet->payload & EL_FLAG) >> 61; el 427 tools/perf/util/arm-spe-pkt-decoder.c (idx == 1) ? "TGT" : "PC", payload, el, ns); el 91 tools/perf/util/stat.c ID(ELISION_START, cpu/el-start/),