Home
last modified time | relevance | path

Searched defs:ofs (Results 1 – 25 of 183) sorted by relevance

12345678

/linux-3.3/fs/logfs/
Ddev_mtd.c14 #define PAGE_OFS(ofs) ((ofs) & (PAGE_SIZE-1)) argument
16 static int logfs_mtd_read(struct super_block *sb, loff_t ofs, size_t len, in logfs_mtd_read()
35 static int loffs_mtd_write(struct super_block *sb, loff_t ofs, size_t len, in loffs_mtd_write()
72 static int logfs_mtd_erase_mapping(struct super_block *sb, loff_t ofs, in logfs_mtd_erase_mapping()
90 static int logfs_mtd_erase(struct super_block *sb, loff_t ofs, size_t len, in logfs_mtd_erase()
148 static struct page *logfs_mtd_find_first_sb(struct super_block *sb, u64 *ofs) in logfs_mtd_find_first_sb()
165 static struct page *logfs_mtd_find_last_sb(struct super_block *sb, u64 *ofs) in logfs_mtd_find_last_sb()
183 static int __logfs_mtd_writeseg(struct super_block *sb, u64 ofs, pgoff_t index, in __logfs_mtd_writeseg()
205 static void logfs_mtd_writeseg(struct super_block *sb, u64 ofs, size_t len) in logfs_mtd_writeseg()
234 static int logfs_mtd_can_write_buf(struct super_block *sb, u64 ofs) in logfs_mtd_can_write_buf()
Ddev_bdev.c15 #define PAGE_OFS(ofs) ((ofs) & (PAGE_SIZE-1)) argument
91 static int __bdev_writeseg(struct super_block *sb, u64 ofs, pgoff_t index, in __bdev_writeseg()
150 static void bdev_writeseg(struct super_block *sb, u64 ofs, size_t len) in bdev_writeseg()
188 static int do_erase(struct super_block *sb, u64 ofs, pgoff_t index, in do_erase()
270 static struct page *bdev_find_first_sb(struct super_block *sb, u64 *ofs) in bdev_find_first_sb()
280 static struct page *bdev_find_last_sb(struct super_block *sb, u64 *ofs) in bdev_find_last_sb()
305 static int bdev_can_write_buf(struct super_block *sb, u64 ofs) in bdev_can_write_buf()
Dsegment.c41 s32 ofs; in logfs_get_free_bytes() local
70 int __logfs_buf_write(struct logfs_area *area, u64 ofs, void *buf, size_t len, in __logfs_buf_write()
108 u64 ofs = dev_ofs(sb, area->a_segno, area->a_used_bytes); in pad_partial_page() local
129 u64 ofs = dev_ofs(sb, area->a_segno, area->a_used_bytes); in pad_full_pages() local
297 s64 ofs; in __logfs_segment_write() local
399 int wbuf_read(struct super_block *sb, u64 ofs, size_t len, void *buf) in wbuf_read()
455 static int read_obj_header(struct super_block *sb, u64 ofs, in read_obj_header()
567 u64 ofs, u64 bix, level_t level) in __logfs_segment_read()
656 u64 ofs, u64 bix, level_t level) in logfs_segment_read()
715 u64 ofs, start, end; in freeseg() local
[all …]
Djournal.c119 u64 ofs; in read_area() local
159 static int __read_je_header(struct super_block *sb, u64 ofs, in __read_je_header()
184 static int __read_je_payload(struct super_block *sb, u64 ofs, in __read_je_payload()
211 static int __read_je(struct super_block *sb, u64 ofs, in __read_je()
222 static int read_je(struct super_block *sb, u64 ofs) in read_je()
264 u64 ofs, seg_ofs = dev_ofs(sb, segno, 0); in logfs_read_segment() local
395 u64 ofs; in journal_erase_segment() local
558 u64 ofs; in write_wbuf() local
632 s32 ofs; in logfs_get_free_bytes() local
658 s64 ofs; in logfs_write_je_buf() local
/linux-3.3/drivers/net/wireless/iwlwifi/
Diwl-io.h36 static inline void iwl_write8(struct iwl_bus *bus, u32 ofs, u8 val) in iwl_write8()
42 static inline void iwl_write32(struct iwl_bus *bus, u32 ofs, u32 val) in iwl_write32()
48 static inline u32 iwl_read32(struct iwl_bus *bus, u32 ofs) in iwl_read32()
Diwl-bus.h188 static inline void bus_write8(struct iwl_bus *bus, u32 ofs, u8 val) in bus_write8()
193 static inline void bus_write32(struct iwl_bus *bus, u32 ofs, u32 val) in bus_write32()
198 static inline u32 bus_read32(struct iwl_bus *bus, u32 ofs) in bus_read32()
/linux-3.3/arch/mips/include/asm/
Dtitan_dep.h19 #define TITAN_READ(ofs) \ argument
21 #define TITAN_READ_16(ofs) \ argument
23 #define TITAN_READ_8(ofs) \ argument
26 #define TITAN_WRITE(ofs, data) \ argument
28 #define TITAN_WRITE_16(ofs, data) \ argument
30 #define TITAN_WRITE_8(ofs, data) \ argument
223 #define RM9K_WRITE(ofs, data) *(volatile u_int32_t *)(RM9000x2_BASE_ADDR+ofs) = data argument
224 #define RM9K_WRITE_8(ofs, data) *(volatile u8 *)(RM9000x2_BASE_ADDR+ofs) = data argument
225 #define RM9K_WRITE_16(ofs, data) *(volatile u16 *)(RM9000x2_BASE_ADDR+ofs) = data argument
227 #define RM9K_READ(ofs, val) *(val) = *(volatile u_int32_t *)(RM9000x2_BASE_ADDR+ofs) argument
[all …]
/linux-3.3/security/selinux/ss/
Debitmap.h43 unsigned int ofs; in ebitmap_start_positive() local
62 unsigned int ofs; in ebitmap_next_positive() local
85 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); in ebitmap_node_get_bit() local
97 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); in ebitmap_node_set_bit() local
107 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit); in ebitmap_node_clr_bit() local
/linux-3.3/drivers/mtd/maps/
Dpci.c41 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8()
60 static map_word mtd_pci_read32(struct map_info *_map, unsigned long ofs) in mtd_pci_read32()
75 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8()
90 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32()
150 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) in intel_iq80310_translate()
238 intel_dc21285_translate(struct map_pci_info *map, unsigned long ofs) in intel_dc21285_translate()
Dmap_funcs.c12 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs) in simple_map_read()
17 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write()
Dixp2000.c44 static inline unsigned long flash_bank_setup(struct map_info *map, unsigned long ofs) in flash_bank_setup()
72 static map_word ixp2000_flash_read8(struct map_info *map, unsigned long ofs) in ixp2000_flash_read8()
93 static void ixp2000_flash_write8(struct map_info *map, map_word d, unsigned long ofs) in ixp2000_flash_write8()
Ddc21285.c54 static map_word dc21285_read8(struct map_info *map, unsigned long ofs) in dc21285_read8()
61 static map_word dc21285_read16(struct map_info *map, unsigned long ofs) in dc21285_read16()
68 static map_word dc21285_read32(struct map_info *map, unsigned long ofs) in dc21285_read32()
Dgpio-addr-flash.c63 static void gf_set_gpios(struct async_state *state, unsigned long ofs) in gf_set_gpios()
82 static map_word gf_read(struct map_info *map, unsigned long ofs) in gf_read()
125 static void gf_write(struct map_info *map, map_word d1, unsigned long ofs) in gf_write()
/linux-3.3/fs/jffs2/
Dsummary.c114 uint32_t ofs) in jffs2_sum_add_inode_mem()
132 uint32_t ofs) in jffs2_sum_add_dirent_mem()
156 int jffs2_sum_add_xattr_mem(struct jffs2_summary *s, struct jffs2_raw_xattr *rx, uint32_t ofs) in jffs2_sum_add_xattr_mem()
174 int jffs2_sum_add_xref_mem(struct jffs2_summary *s, struct jffs2_raw_xref *rr, uint32_t ofs) in jffs2_sum_add_xref_mem()
247 unsigned long count, uint32_t ofs) in jffs2_sum_add_kvec()
370 uint32_t ofs, uint32_t len, in sum_link_node_ref()
572 int ret, ofs; in jffs2_sum_scan_sumnode() local
Dscan.c283 uint32_t ofs, uint32_t len) in jffs2_fill_scan_buf()
321 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node()
377 struct jffs2_raw_xref *rr, uint32_t ofs, in jffs2_scan_xref_node()
439 uint32_t ofs, prevofs, max_ofs; in jffs2_scan_eraseblock() local
952 struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s) in jffs2_scan_inode_node()
1007 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s) in jffs2_scan_dirent_node()
/linux-3.3/arch/powerpc/kernel/vdso64/
Dsigtramp.S56 #define rsave(regno, ofs) \ argument
114 #define vsave_msr2(regno, ofs) \ argument
124 #define vsave(regno, ofs) \ argument
/linux-3.3/arch/powerpc/kernel/vdso32/
Dsigtramp.S57 #define rsave(regno, ofs) \ argument
114 #define vsave_msr2(regno, ofs) \ argument
124 #define vsave(regno, ofs) \ argument
/linux-3.3/drivers/mtd/devices/
Ddoc2001plus.c121 unsigned long ofs, unsigned char xtraflags1, in DoC_Address()
184 unsigned int ofs = *from & 0x3ff; in DoC_GetDataOffset() local
210 unsigned int ofs, cmd; in DoC_GetECCOffset() local
226 unsigned int ofs, cmd; in DoC_GetFlagsOffset() local
236 unsigned int ofs, cmd; in DoC_GetHdrOffset() local
817 static int doc_read_oob(struct mtd_info *mtd, loff_t ofs, in doc_read_oob()
900 static int doc_write_oob(struct mtd_info *mtd, loff_t ofs, in doc_write_oob()
1012 __u32 ofs = instr->addr; in doc_erase() local
Ddoc2001.c114 static inline void DoC_Address(void __iomem * docptr, int numbytes, unsigned long ofs, in DoC_Address()
613 static int doc_read_oob(struct mtd_info *mtd, loff_t ofs, in doc_read_oob()
670 static int doc_write_oob(struct mtd_info *mtd, loff_t ofs, in doc_write_oob()
752 __u32 ofs = instr->addr; in doc_erase() local
/linux-3.3/arch/mips/txx9/generic/
Dirq_tx4939.c57 int ofs; in tx4939_irq_unmask() local
75 int ofs; in tx4939_irq_mask() local
109 int ofs; in tx4939_irq_set_type() local
/linux-3.3/drivers/mtd/lpddr/
Dlpddr_cmds.c529 unsigned long ofs, last_end = 0; in lpddr_point() local
583 unsigned long ofs; in lpddr_unpoint() local
638 unsigned long ofs, vec_seek, i; in lpddr_writev() local
682 unsigned long ofs, len; in lpddr_erase() local
744 static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in lpddr_lock()
749 static int lpddr_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in lpddr_unlock()
/linux-3.3/drivers/net/arcnet/
Darc-rawmode.c94 int ofs; in rx() local
172 int ofs; in prepare_tx() local
Drfc1051.c131 int ofs; in rx() local
223 int ofs; in prepare_tx() local
/linux-3.3/drivers/mtd/chips/
Dfwh_lock.h79 static int fwh_lock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len) in fwh_lock_varsize()
90 static int fwh_unlock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len) in fwh_unlock_varsize()
/linux-3.3/arch/mips/kernel/
Dirq_txx9.c70 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_unmask() local
86 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_mask() local
117 int ofs; in txx9_irq_set_type() local

12345678