Home
last modified time | relevance | path

Searched refs:offs (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-devtrace-io.h22 __field(u32, offs)
27 __entry->offs = offs;
39 __field(u32, offs)
44 __entry->offs = offs;
56 __field(u32, offs)
61 __entry->offs = offs;
73 __field(u64, offs)
78 __entry->offs = offs;
95 __entry->offs = offs;
112 __entry->offs = offs;
[all …]
/linux/fs/ubifs/
A Dscan.c92 lnum, offs); in ubifs_scan_a_node()
102 offs, offs + node_len + pad_len); in ubifs_scan_a_node()
107 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node()
141 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); in ubifs_start_scan()
144 c->leb_size - offs, lnum, offs, err); in ubifs_start_scan()
194 snod->offs = offs; in ubifs_add_snod()
270 lnum, offs, len); in ubifs_scan()
277 offs += ret; in ubifs_scan()
308 offs += node_len; in ubifs_scan()
316 offs); in ubifs_scan()
[all …]
A Drecovery.c113 offs = 0; in get_master_node()
121 offs += sz; in get_master_node()
126 if (offs) { in get_master_node()
129 offs -= sz; in get_master_node()
135 offs -= sz; in get_master_node()
154 offs += sz; in get_master_node()
165 offs += sz; in get_master_node()
465 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; in no_more_nodes()
477 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes()
576 *offs = snod->offs; in drop_last_group()
[all …]
A Dio.c234 ubifs_assert(c, !(offs & 7) && offs < c->leb_size); in ubifs_check_node()
588 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock()
618 ubifs_assert(c, offs >= 0 && offs <= c->leb_size); in ubifs_wbuf_seek_nolock()
619 ubifs_assert(c, offs % c->min_io_size == 0 && !(offs & 7)); in ubifs_wbuf_seek_nolock()
625 wbuf->offs = offs; in ubifs_wbuf_seek_nolock()
629 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock()
952 int offs) in ubifs_write_node() argument
982 ubifs_assert(c, !(offs & 7) && offs < c->leb_size); in ubifs_read_node_wbuf()
986 overlap = (lnum == wbuf->lnum && offs + len > wbuf->offs); in ubifs_read_node_wbuf()
994 rlen = wbuf->offs - offs; in ubifs_read_node_wbuf()
[all …]
A Dlpt_commit.c229 offs = 0; in layout_cnodes()
253 cnode->parent->nbranch[cnode->iip].offs = offs; in layout_cnodes()
258 offs += len; in layout_cnodes()
272 offs = 0; in layout_cnodes()
292 offs = 0; in layout_cnodes()
371 from = offs; in write_cnodes()
872 if (branch->lnum != lnum || branch->offs != offs) in make_nnode_dirty()
919 if (branch->lnum != lnum || branch->offs != offs) in make_pnode_dirty()
1040 pad_len = ALIGN(offs, c->min_io_size) - offs; in get_pad_len()
1489 if (branch->lnum != lnum || branch->offs != offs) in dbg_is_nnode_dirty()
[all …]
A Dtnc.c79 old_idx->offs = offs; in insert_old_idx()
89 else if (offs < o->offs) in insert_old_idx()
91 else if (offs > o->offs) in insert_old_idx()
445 int offs = zbr->offs; in try_read_node() local
1460 *offs = zt->offs; in ubifs_tnc_locate()
2287 zbr.offs = offs; in ubifs_tnc_add()
2298 zbr->offs = offs; in ubifs_tnc_add()
2349 zbr->offs = offs; in ubifs_tnc_replace()
2378 zbr->offs = offs; in ubifs_tnc_replace()
2450 zbr->offs = offs; in ubifs_tnc_add_nm()
[all …]
A Dreplay.c47 int offs; member
402 r->offs = offs; in insert_node()
457 r->offs = offs; in insert_dent()
909 bud->start = offs; in add_replay_bud()
946 unsigned int offs = le32_to_cpu(ref->offs); in validate_ref() local
956 offs & (c->min_io_size - 1)) in validate_ref()
1021 lnum, offs); in replay_log_leb()
1026 lnum, offs, in replay_log_leb()
1057 if (snod->offs != 0) { in replay_log_leb()
1105 if (snod->offs != 0) { in replay_log_leb()
[all …]
A Dlog.c225 bud->start = offs; in ubifs_add_bud_to_log()
323 bud->start = wbuf->offs; in remove_buds()
395 int offs = c->jheads[i].wbuf.offs; in ubifs_log_start_commit() local
405 ref->offs = cpu_to_le32(offs); in ubifs_log_start_commit()
620 ubifs_pad(c, buf + *offs, sz - *offs); in add_node()
625 *offs = 0; in add_node()
628 *offs += ALIGN(len, 8); in add_node()
696 if (offs) { in ubifs_consolidate_log()
699 ubifs_pad(c, buf + offs, sz - offs); in ubifs_consolidate_log()
703 offs = ALIGN(offs, c->min_io_size); in ubifs_consolidate_log()
[all …]
A Dtnc_commit.c42 br->offs = cpu_to_le32(zbr->offs); in make_idx_node()
58 znode->offs = offs; in make_idx_node()
70 zbr->offs = offs; in make_idx_node()
75 c->zroot.offs = offs; in make_idx_node()
175 else if (offs < o->offs) in find_old_idx()
177 else if (offs > o->offs) in find_old_idx()
472 znode->offs = offs; in layout_in_empty_space()
484 zbr->offs = offs; in layout_in_empty_space()
488 c->zroot.offs = offs; in layout_in_empty_space()
875 br->offs = cpu_to_le32(zbr->offs); in write_index()
[all …]
/linux/drivers/scsi/aic94xx/
A Daic94xx_reg.h101 u16 offs) in asd_ddbsite_read_byte() argument
103 if (offs & 1) in asd_ddbsite_read_byte()
108 offs) & 0xFF; in asd_ddbsite_read_byte()
129 u16 base = offs & ~1; in asd_ddbsite_write_byte()
131 if (offs & 1) in asd_ddbsite_write_byte()
154 u16 offs) in asd_scbsite_read_byte() argument
156 if (offs & 1) in asd_scbsite_read_byte()
182 u16 base = offs & ~1; in asd_scbsite_write_byte()
184 if (offs & 1) in asd_scbsite_write_byte()
231 u16 base = offs & ~1; in asd_ddbsite_update_byte()
[all …]
A Daic94xx_reg.c18 unsigned long offs, u8 val) in asd_write_byte() argument
29 unsigned long offs, u16 val) in asd_write_word() argument
40 unsigned long offs, u32 val) in asd_write_dword() argument
57 + (offs & 0xFF)); in asd_read_byte()
65 unsigned long offs) in asd_read_word() argument
70 + (offs & 0xFF)); in asd_read_word()
78 unsigned long offs) in asd_read_dword() argument
83 + (offs & 0xFF)); in asd_read_dword()
285 u32 offs, int count) in asd_read_reg_string() argument
291 for ( ; count > 0; count--, offs++, p++) in asd_read_reg_string()
[all …]
/linux/drivers/mtd/tests/
A Dstresstest.c58 unsigned int offs; in rand_offs() local
60 offs = prandom_u32(); in rand_offs()
61 offs %= bufsize; in rand_offs()
62 return offs; in rand_offs()
70 len %= (bufsize - offs); in rand_len()
77 int offs = rand_offs(); in do_read() local
96 offs = offsets[eb]; in do_write()
101 offs = offsets[eb] = 0; in do_write()
103 len = rand_len(offs); in do_write()
119 offs += len; in do_write()
[all …]
/linux/drivers/misc/mei/
A Dmei-trace.h21 TP_ARGS(dev, reg, offs, val),
25 __field(u32, offs)
31 __entry->offs = offs;
35 __get_str(dev), __entry->reg, __entry->offs, __entry->val)
40 TP_ARGS(dev, reg, offs, val),
44 __field(u32, offs)
50 __entry->offs = offs;
59 TP_ARGS(dev, reg, offs, val),
63 __field(u32, offs)
69 __entry->offs = offs;
[all …]
/linux/drivers/gpio/
A Dgpio-syscon.c61 unsigned int val, offs; in syscon_gpio_get() local
77 unsigned int offs; in syscon_gpio_set() local
83 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_set()
92 unsigned int offs; in syscon_gpio_dir_in() local
94 offs = priv->dir_reg_offset + in syscon_gpio_dir_in()
110 unsigned int offs; in syscon_gpio_dir_out() local
112 offs = priv->dir_reg_offset + in syscon_gpio_dir_out()
117 BIT(offs % SYSCON_REG_BITS), in syscon_gpio_dir_out()
138 unsigned int offs; in rockchip_gpio_set() local
144 bit = offs % SYSCON_REG_BITS; in rockchip_gpio_set()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_topology.c215 (offs += snprintf(buffer+offs, PAGE_SIZE-offs, \
229 int offs = 0; in sysprops_show() local
248 return offs; in sysprops_show()
268 int offs = 0; in iolink_show() local
293 return offs; in iolink_show()
308 int offs = 0; in mem_show() local
325 return offs; in mem_show()
340 int offs = 0; in kfd_cache_show() local
361 offs += snprintf(buffer+offs, PAGE_SIZE-offs, "sibling_map "); in kfd_cache_show()
365 offs += snprintf(buffer+offs, PAGE_SIZE-offs, "%d,", in kfd_cache_show()
[all …]
/linux/tools/testing/selftests/arm64/signal/testcases/
A Dtestcases.c8 size_t offs = 0; in get_header() local
14 while (offs <= resv_sz - HDR_SZ && in get_header()
16 offs += head->size; in get_header()
22 *offset = offs; in get_header()
81 size_t offs = 0; in validate_reserved() local
156 offs += head->size; in validate_reserved()
157 if (resv_sz < offs + sizeof(*head)) { in validate_reserved()
202 size_t offs = 0; in get_starting_head() local
209 if (resv_sz - offs < need_sz) { in get_starting_head()
211 resv_sz - offs); in get_starting_head()
[all …]
/linux/drivers/pinctrl/samsung/
A Dpinctrl-exynos.h60 #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs) \ argument
66 .eint_offset = offs, \
70 #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs) \ argument
76 .eint_offset = offs, \
80 #define EXYNOS5433_PIN_BANK_EINTG(pins, reg, id, offs) \ argument
86 .eint_offset = offs, \
96 .eint_offset = offs, \
106 .eint_offset = offs, \
120 #define EXYNOS850_PIN_BANK_EINTG(pins, reg, id, offs) \ argument
126 .eint_offset = offs, \
[all …]
/linux/drivers/net/ethernet/altera/
A Daltera_utils.c9 void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_set_bit() argument
11 u32 value = csrrd32(ioaddr, offs); in tse_set_bit()
13 csrwr32(value, ioaddr, offs); in tse_set_bit()
16 void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_clear_bit() argument
18 u32 value = csrrd32(ioaddr, offs); in tse_clear_bit()
20 csrwr32(value, ioaddr, offs); in tse_clear_bit()
23 int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_bit_is_set() argument
25 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_set()
29 int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_bit_is_clear() argument
31 u32 value = csrrd32(ioaddr, offs); in tse_bit_is_clear()
/linux/lib/
A Dlogic_iomem.c106 long offs; in ioremap() local
111 offs = rreg->ops->map(offset - found->res->start, in ioremap()
114 if (offs < 0) { in ioremap()
256 unsigned long offs, start; in memset_io() local
270 for (offs = 0; offs < size; offs++) in memset_io()
280 unsigned long offs, start; in memcpy_fromio() local
294 for (offs = 0; offs < size; offs++) in memcpy_fromio()
295 buf[offs] = area->ops->read(area->priv, start + offs, 1); in memcpy_fromio()
303 unsigned long offs, start; in memcpy_toio() local
317 for (offs = 0; offs < size; offs++) in memcpy_toio()
[all …]
/linux/crypto/async_tx/
A Dasync_raid6_recov.c169 p_off = offs[disks-2]; in __2data_recov_4()
171 q_off = offs[disks-1]; in __2data_recov_4()
174 a_off = offs[faila]; in __2data_recov_4()
176 b_off = offs[failb]; in __2data_recov_4()
236 g_off = offs[good]; in __2data_recov_5()
243 dp_off = offs[faila]; in __2data_recov_5()
245 dq_off = offs[failb]; in __2data_recov_5()
319 dp_off = offs[faila]; in __2data_recov_n()
324 dq_off = offs[failb]; in __2data_recov_n()
334 offs[faila] = dp_off; in __2data_recov_n()
[all …]
/linux/drivers/mtd/nand/raw/
A Dnand_bbt.c267 int offs = 0; in read_abs_bbt() local
272 td, offs); in read_abs_bbt()
338 offs += mtd->writesize; in scan_read_oob()
462 td->offs >= bd->offs && td->offs < bd->offs + bd->len) in bbt_block_checkbad()
850 offs = td->len; in write_bbt()
853 offs++; in write_bbt()
856 len += offs; in write_bbt()
871 offs = 0; in write_bbt()
1215 BUG_ON(bd->offs); in verify_bbt_descr()
1325 .offs = 8,
[all …]
/linux/drivers/mtd/nand/
A Dbbt.c80 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_get_block_status() local
86 status = pos[0] >> offs; in nanddev_bbt_get_block_status()
87 if (bits_per_block + offs > BITS_PER_LONG) in nanddev_bbt_get_block_status()
88 status |= pos[1] << (BITS_PER_LONG - offs); in nanddev_bbt_get_block_status()
113 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_set_block_status() local
119 pos[0] &= ~GENMASK(offs + bits_per_block - 1, offs); in nanddev_bbt_set_block_status()
120 pos[0] |= val << offs; in nanddev_bbt_set_block_status()
122 if (bits_per_block + offs > BITS_PER_LONG) { in nanddev_bbt_set_block_status()
123 unsigned int rbits = bits_per_block + offs - BITS_PER_LONG; in nanddev_bbt_set_block_status()
/linux/fs/crypto/
A Dcrypto.c96 unsigned int offs, gfp_t gfp_flags) in fscrypt_crypt_block() argument
122 sg_set_page(&dst, dest_page, len, offs); in fscrypt_crypt_block()
124 sg_set_page(&src, src_page, len, offs); in fscrypt_crypt_block()
166 unsigned int offs, in fscrypt_encrypt_pagecache_blocks() argument
175 (offs >> blockbits); in fscrypt_encrypt_pagecache_blocks()
189 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_encrypt_pagecache_blocks()
226 len, offs, gfp_flags); in fscrypt_encrypt_block_inplace()
248 unsigned int offs) in fscrypt_decrypt_pagecache_blocks() argument
254 (offs >> blockbits); in fscrypt_decrypt_pagecache_blocks()
264 for (i = offs; i < offs + len; i += blocksize, lblk_num++) { in fscrypt_decrypt_pagecache_blocks()
[all …]
/linux/security/integrity/platform_certs/
A Defi_parser.c43 unsigned int offs = 0; in parse_efi_signature_list() local
57 offs, in parse_efi_signature_list()
68 __func__, offs); in parse_efi_signature_list()
77 pr_devel("- bad size combo @%x\n", offs); in parse_efi_signature_list()
85 offs += lsize; in parse_efi_signature_list()
91 offs += sizeof(list) + hsize; in parse_efi_signature_list()
96 pr_devel("ELEM[%04x]\n", offs); in parse_efi_signature_list()
103 offs += esize; in parse_efi_signature_list()
/linux/drivers/mfd/
A Dmax8925-core.c342 .offs = 1 << 0,
347 .offs = 1 << 1,
352 .offs = 1 << 2,
357 .offs = 1 << 0,
362 .offs = 1 << 1,
367 .offs = 1 << 2,
372 .offs = 1 << 3,
377 .offs = 1 << 4,
382 .offs = 1 << 5,
387 .offs = 1 << 6,
[all …]

Completed in 5415 milliseconds

12345678910>>...14