Searched refs:offs (Results 26 - 50 of 384) sorted by relevance

1234567891011>>

/linux-master/crypto/async_tx/
H A Dasync_raid6_recov.c154 struct page **blocks, unsigned int *offs,
169 p_off = offs[disks-2];
171 q_off = offs[disks-1];
174 a_off = offs[faila];
176 b_off = offs[failb];
204 struct page **blocks, unsigned int *offs,
232 p_off = offs[disks-2];
234 q_off = offs[disks-1];
236 g_off = offs[good];
243 dp_off = offs[fail
153 __2data_recov_4(int disks, size_t bytes, int faila, int failb, struct page **blocks, unsigned int *offs, struct async_submit_ctl *submit) argument
203 __2data_recov_5(int disks, size_t bytes, int faila, int failb, struct page **blocks, unsigned int *offs, struct async_submit_ctl *submit) argument
294 __2data_recov_n(int disks, size_t bytes, int faila, int failb, struct page **blocks, unsigned int *offs, struct async_submit_ctl *submit) argument
393 async_raid6_2data_recov(int disks, size_t bytes, int faila, int failb, struct page **blocks, unsigned int *offs, struct async_submit_ctl *submit) argument
471 async_raid6_datap_recov(int disks, size_t bytes, int faila, struct page **blocks, unsigned int *offs, struct async_submit_ctl *submit) argument
[all...]
/linux-master/fs/crypto/
H A Dcrypto.c111 unsigned int len, unsigned int offs,
137 sg_set_page(&dst, dest_page, len, offs);
139 sg_set_page(&src, src_page, len, offs);
159 * @offs: offset within @page of the data to encrypt, in bytes
182 unsigned int offs,
192 (offs >> du_bits);
199 if (WARN_ON_ONCE(len <= 0 || !IS_ALIGNED(len | offs, du_size)))
206 for (i = offs; i < offs + len; i += du_size, index++) {
227 * @offs
108 fscrypt_crypt_data_unit(const struct fscrypt_inode_info *ci, fscrypt_direction_t rw, u64 index, struct page *src_page, struct page *dest_page, unsigned int len, unsigned int offs, gfp_t gfp_flags) argument
180 fscrypt_encrypt_pagecache_blocks(struct page *page, unsigned int len, unsigned int offs, gfp_t gfp_flags) argument
240 fscrypt_encrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num, gfp_t gfp_flags) argument
266 fscrypt_decrypt_pagecache_blocks(struct folio *folio, size_t len, size_t offs) argument
315 fscrypt_decrypt_block_inplace(const struct inode *inode, struct page *page, unsigned int len, unsigned int offs, u64 lblk_num) argument
[all...]
/linux-master/drivers/mtd/parsers/
H A Dscpart.c53 uint32_t offs; local
71 for (offs = MAP_OFFS_IN_BLK;
72 offs < master->erasesize - sizeof(*tmpdesc);
73 offs += sizeof(*tmpdesc)) {
74 tmpdesc = (struct sc_part_desc *)&buf[offs];
107 loff_t offs = 0; local
112 (offs < master->size) &&
113 !mtd_block_isbad(master, offs)) {
114 res2 = mtd_read(master, offs, PART_MAGIC_LEN, &retlen, rdbuf);
120 pr_debug("Signature found at 0x%llx\n", offs);
[all...]
/linux-master/tools/perf/util/
H A Ddebuginfo.h25 int debuginfo__get_text_offset(struct debuginfo *dbg, Dwarf_Addr *offs,
44 Dwarf_Addr *offs __maybe_unused,
/linux-master/drivers/ata/pata_parport/
H A Dpata_parport.h34 #define out_p(offs, byte) do { outb(byte, pi->port + offs); delay_p; } while (0)
35 #define in_p(offs) (delay_p, inb(pi->port + offs))
/linux-master/fs/ubifs/
H A Dlog.c156 * @offs: starting offset of the bud
164 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) argument
204 if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) {
225 bud->start = offs;
231 ref->offs = cpu_to_le32(bud->start);
319 c->cmt_bud_bytes += wbuf->offs - bud->start;
322 wbuf->offs - bud->start, c->cmt_bud_bytes);
323 bud->start = wbuf->offs;
395 int offs = c->jheads[i].wbuf.offs; local
611 add_node(struct ubifs_info *c, void *buf, int *lnum, int *offs, void *node) argument
647 int lnum, err, first = 1, write_lnum, offs = 0; local
[all...]
H A Dreplay.c30 * @offs: node offset
46 int offs; member in struct:replay_entry
247 r->lnum, r->offs, r->len, r->deletion, r->sqnum);
253 err = ubifs_tnc_add_nm(c, &r->key, r->lnum, r->offs,
278 err = ubifs_tnc_add(c, &r->key, r->lnum, r->offs,
366 * @offs: node offset
383 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, argument
390 dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs);
402 r->offs = offs;
433 insert_dent(struct ubifs_info *c, int lnum, int offs, int len, const u8 *hash, union ubifs_key *key, const char *name, int nlen, unsigned long long sqnum, int deletion, int *used) argument
670 int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start; local
890 add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead, unsigned long long sqnum) argument
947 unsigned int offs = le32_to_cpu(ref->offs); local
983 replay_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf) argument
[all...]
H A Dtnc.c61 else if (old_idx->offs < o->offs)
63 else if (old_idx->offs > o->offs)
79 * @offs: offset of obsoleted index node
98 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) argument
106 old_idx->offs = offs;
126 return insert_old_idx(c, zbr->lnum, zbr->offs);
130 c->zroot.offs);
483 int offs = zbr->offs; local
1045 matches_position(struct ubifs_zbranch *zbr, int lnum, int offs) argument
1070 resolve_collision_directly(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, int lnum, int offs) argument
1478 ubifs_tnc_locate(struct ubifs_info *c, const union ubifs_key *key, void *node, int *lnum, int *offs) argument
1554 int n, err = 0, lnum = -1, offs; local
1684 read_wbuf(struct ubifs_wbuf *wbuf, void *buf, int len, int lnum, int offs) argument
1791 int lnum = bu->zbranch[0].lnum, offs = bu->zbranch[0].offs, len, err, i; local
2311 ubifs_tnc_add(struct ubifs_info *c, const union ubifs_key *key, int lnum, int offs, int len, const u8 *hash) argument
2362 ubifs_tnc_replace(struct ubifs_info *c, const union ubifs_key *key, int old_lnum, int old_offs, int lnum, int offs, int len) argument
2446 ubifs_tnc_add_nm(struct ubifs_info *c, const union ubifs_key *key, int lnum, int offs, int len, const u8 *hash, const struct fscrypt_name *nm) argument
3223 lookup_znode(struct ubifs_info *c, union ubifs_key *key, int level, int lnum, int offs) argument
3352 is_idx_node_in_tnc(struct ubifs_info *c, union ubifs_key *key, int level, int lnum, int offs) argument
3379 is_leaf_node_in_tnc(struct ubifs_info *c, union ubifs_key *key, int lnum, int offs) argument
3449 ubifs_tnc_has_node(struct ubifs_info *c, union ubifs_key *key, int level, int lnum, int offs, int is_idx) argument
3489 ubifs_dirty_idx_node(struct ubifs_info *c, union ubifs_key *key, int level, int lnum, int offs) argument
[all...]
H A Dtnc_commit.c22 * @offs: offset where new index node will be written
26 struct ubifs_znode *znode, int lnum, int offs, int len)
42 br->offs = cpu_to_le32(zbr->offs);
58 znode->offs = offs;
70 zbr->offs = offs;
75 c->zroot.offs = offs;
25 make_idx_node(struct ubifs_info *c, struct ubifs_idx_node *idx, struct ubifs_znode *znode, int lnum, int offs, int len) argument
163 find_old_idx(struct ubifs_info *c, int lnum, int offs) argument
198 is_idx_node_in_use(struct ubifs_info *c, union ubifs_key *key, int level, int lnum, int offs) argument
432 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; local
828 int i, lnum, offs, len, next_len, buf_len, buf_offs, used; local
[all...]
H A Dtnc_misc.c291 int offs = zzbr->offs; local
300 err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs);
308 ubifs_bad_hash(c, idx, zzbr->hash, lnum, offs);
317 lnum, offs, znode->level, znode->child_cnt);
334 zbr->offs = le32_to_cpu(br->offs);
342 zbr->lnum >= c->leb_cnt || zbr->offs < 0 ||
343 zbr->offs + zbr->len > c->leb_size || zbr->offs
[all...]
/linux-master/tools/lib/perf/
H A Dlib.c41 ssize_t preadn(int fd, void *buf, size_t n, off_t offs) argument
46 ssize_t ret = pread(fd, buf, left, offs);
55 offs += ret;
/linux-master/drivers/tee/optee/
H A Dcall.c275 u_int offs; local
316 offs = bit * sz;
317 res = tee_shm_get_va(entry->shm, offs);
326 *offs_ret = offs;
336 * @offs: Offset of shared memory buffer to free
341 struct optee_shm_arg_entry *entry, u_int offs)
347 if (offs > SHM_ENTRY_SIZE || offs % sz) {
348 pr_err("Invalid offs %u\n", offs);
340 optee_free_msg_arg(struct tee_context *ctx, struct optee_shm_arg_entry *entry, u_int offs) argument
373 u_int offs; local
474 u_int offs; local
522 u_int offs; local
575 u_int offs; local
650 u_int offs; local
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-eeprom.c38 unsigned int offs; local
80 offs = tcnt + (eepromSize - EEPROM_SIZE);
82 iadd[0] = offs >> 8;
83 iadd[1] = offs;
85 iadd[0] = offs;
92 "eeprom fetch set offs err=%d",ret);
/linux-master/drivers/mtd/nand/raw/
H A Dnand_bbt.c113 if (memcmp(buf + paglen + td->offs, td->pattern, td->len))
131 if (memcmp(buf + td->offs, td->pattern, td->len))
162 * @offs: block number offset in the table
167 struct nand_bbt_descr *td, int offs)
218 (loff_t)(offs + act) <<
220 bbt_mark_entry(this, offs + act,
230 (loff_t)(offs + act) <<
234 bbt_mark_entry(this, offs + act,
237 bbt_mark_entry(this, offs + act,
267 int offs local
166 read_bbt(struct nand_chip *this, uint8_t *buf, int page, int num, struct nand_bbt_descr *td, int offs) argument
287 scan_read_data(struct nand_chip *this, uint8_t *buf, loff_t offs, struct nand_bbt_descr *td) argument
312 scan_read_oob(struct nand_chip *this, uint8_t *buf, loff_t offs, size_t len) argument
343 scan_read(struct nand_chip *this, uint8_t *buf, loff_t offs, size_t len, struct nand_bbt_descr *td) argument
353 scan_write_bbt(struct nand_chip *this, loff_t offs, size_t len, uint8_t *buf, uint8_t *oob) argument
414 scan_block_fast(struct nand_chip *this, struct nand_bbt_descr *bd, loff_t offs, uint8_t *buf) argument
451 bbt_block_checkbad(struct nand_chip *this, struct nand_bbt_descr *td, loff_t offs, uint8_t *buf) argument
589 loff_t offs = (loff_t)actblock << this->bbt_erase_shift; local
752 int bits, page, offs, numblocks, sft, sftmsk; local
1073 nand_update_bbt(struct nand_chip *this, loff_t offs) argument
1433 nand_isreserved_bbt(struct nand_chip *this, loff_t offs) argument
1447 nand_isbad_bbt(struct nand_chip *this, loff_t offs, int allowbbt) argument
1476 nand_markbad_bbt(struct nand_chip *this, loff_t offs) argument
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c217 #define sysfs_show_gen_prop(buffer, offs, fmt, ...) \
218 (offs += snprintf(buffer+offs, PAGE_SIZE-offs, \
220 #define sysfs_show_32bit_prop(buffer, offs, name, value) \
221 sysfs_show_gen_prop(buffer, offs, "%s %u\n", name, value)
222 #define sysfs_show_64bit_prop(buffer, offs, name, value) \
223 sysfs_show_gen_prop(buffer, offs, "%s %llu\n", name, value)
224 #define sysfs_show_32bit_val(buffer, offs, value) \
225 sysfs_show_gen_prop(buffer, offs, "
232 int offs = 0; local
271 int offs = 0; local
311 int offs = 0; local
343 int offs = 0; local
395 int offs = 0; local
422 int offs = 0; local
[all...]
/linux-master/net/ipv4/
H A Dtcp_ulp.c88 size_t offs = 0; local
93 offs += snprintf(buf + offs, maxlen - offs,
95 offs == 0 ? "" : " ", ulp_ops->name);
97 if (WARN_ON_ONCE(offs >= maxlen))
/linux-master/drivers/usb/gadget/udc/
H A Drzv2m_usb3drd.c22 u32 offs)
24 u32 val = readl(usb3->reg + offs);
27 writel(val, usb3->reg + offs);
31 u32 offs)
33 u32 val = readl(usb3->reg + offs);
36 writel(val, usb3->reg + offs);
21 rzv2m_usb3drd_set_bit(struct rzv2m_usb3drd *usb3, u32 bits, u32 offs) argument
30 rzv2m_usb3drd_clear_bit(struct rzv2m_usb3drd *usb3, u32 bits, u32 offs) argument
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cpt_common.h19 #define OTX2_CPT_RVU_FUNC_ADDR_S(blk, slot, offs) \
20 (((blk) << 20) | ((slot) << 12) | (offs))
133 u64 offs, u64 val)
136 OTX2_CPT_RVU_FUNC_ADDR_S(blk, slot, offs));
140 u64 offs)
143 OTX2_CPT_RVU_FUNC_ADDR_S(blk, slot, offs));
132 otx2_cpt_write64(void __iomem *reg_base, u64 blk, u64 slot, u64 offs, u64 val) argument
139 otx2_cpt_read64(void __iomem *reg_base, u64 blk, u64 slot, u64 offs) argument
/linux-master/drivers/clk/renesas/
H A Dclk-emev2.c28 static void __init emev2_smu_write(unsigned long value, int offs) argument
30 BUG_ON(!smu_base || (offs >= PAGE_SIZE));
31 writel_relaxed(value, smu_base + offs);
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_classifier.c31 (offs[slice].ft1_slot_base + FT1_SLOT_SIZE * (n) + (reg))
66 (offs[slice].ft3_slot_base + FT3_SLOT_SIZE * (n) + (reg))
75 (offs[slice].rx_class_base + RX_CLASS_EN_SIZE * (n) + (reg))
81 (offs[slice].rx_class_gates_base + RX_CLASS_GATES_SIZE * (n))
152 static const struct miig_rt_offsets offs[] = { variable in typeref:struct:miig_rt_offsets
210 offset = offs[slice].ft1_start_len;
244 offset = offs[slice].ft1_cfg;
254 offset = offs[slice].rx_class_cfg1;
286 regmap_write(miig_rt, offs[slice].mac0, (u32)(mac[0] | mac[1] << 8 |
288 regmap_write(miig_rt, offs[slic
[all...]
/linux-master/arch/x86/include/asm/
H A Duprobes.h35 s32 offs; member in struct:arch_uprobe::__anon206::__anon207
/linux-master/drivers/clk/
H A Dclk-versaclock3.c139 u8 offs; member in struct:vc3_clk_data
145 u8 offs; member in struct:vc3_pfd_data
160 u8 offs; member in struct:vc3_div_data
219 regmap_read(vc3->regmap, pfd_mux->offs, &src);
229 return regmap_update_bits(vc3->regmap, pfd_mux->offs, pfd_mux->bitmsk,
248 regmap_read(vc3->regmap, pfd->offs, &prediv);
323 regmap_update_bits(vc3->regmap, pfd->offs, pfd->mdiv1_bitmsk,
325 regmap_update_bits(vc3->regmap, pfd->offs, pfd->mdiv2_bitmsk, 0);
332 regmap_update_bits(vc3->regmap, pfd->offs, pfd->mdiv2_bitmsk,
334 regmap_update_bits(vc3->regmap, pfd->offs, pf
[all...]
/linux-master/drivers/mtd/ubi/
H A Dgluebi.c156 int err = 0, lnum, offs, bytes_left; local
160 lnum = div_u64_rem(from, mtd->erasesize, &offs);
163 size_t to_read = mtd->erasesize - offs;
168 err = ubi_read(gluebi->desc, lnum, buf, offs, to_read);
173 offs = 0;
196 int err = 0, lnum, offs, bytes_left; local
200 lnum = div_u64_rem(to, mtd->erasesize, &offs);
202 if (len % mtd->writesize || offs % mtd->writesize)
207 size_t to_write = mtd->erasesize - offs;
212 err = ubi_leb_write(gluebi->desc, lnum, buf, offs, to_writ
[all...]
/linux-master/arch/arm/mach-s3c/
H A Ds3c64xx.c271 int offs = eint_offset(data->irq); local
278 if (offs > 27)
281 if (offs <= 15)
316 if (offs <= 15)
317 shift = (offs / 2) * 4;
319 shift = ((offs - 16) / 2) * 4;
329 if (offs < 16) {
330 pin = S3C64XX_GPN(offs);
332 } else if (offs < 23) {
333 pin = S3C64XX_GPL(offs
[all...]
/linux-master/include/linux/mtd/
H A Dinftl.h56 int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
58 int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,

Completed in 213 milliseconds

1234567891011>>