Home
last modified time | relevance | path

Searched refs:beg (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/fs/reiserfs/
H A Dbitmap.c144 unsigned int bmap_n, int *beg, int boundary, in scan_bitmap_block() argument
151 int org = *beg; in scan_bitmap_block()
176 *beg = reiserfs_find_next_zero_le_bit in scan_bitmap_block()
177 ((unsigned long *)(bh->b_data), boundary, *beg); in scan_bitmap_block()
183 if (*beg + min > boundary) { in scan_bitmap_block()
188 if (unfm && is_block_in_journal(s, bmap_n, *beg, beg)) in scan_bitmap_block()
191 for (end = *beg + 1;; end++) { in scan_bitmap_block()
192 if (end >= *beg + max || end >= boundary in scan_bitmap_block()
213 if (end - *beg >= min) { in scan_bitmap_block()
220 for (i = *beg; i < end; i++) { in scan_bitmap_block()
[all …]
/openbmc/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_mmio.c19 int beg; member
63 if (io_reg->reg < punit_dev->mmio_range[0].beg || in isst_if_mmio_rd_wr()
153 punit_dev->mmio_range[0].beg + 4 * i); in isst_if_suspend()
157 addr = punit_dev->mmio_range[1].beg + 4 * i; in isst_if_suspend()
173 punit_dev->mmio_range[0].beg + 4 * i); in isst_if_resume()
177 addr = punit_dev->mmio_range[1].beg + 4 * i; in isst_if_resume()
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A DCVE-2019-13232_p2.patch60 + bound_t beg; /* start of the span */
70 + * Return the index of the first span in cover whose beg is greater than val.
80 + if (val < cover->span[mid].beg)
99 + * spans already in the list. The new span covers the values beg..end-1. beg
105 + * list. If the new span is invalid because beg is greater than or equal to
109 +static int cover_add(cover, beg, end)
111 + bound_t beg;
117 + if (beg >= end)
123 + pos = cover_find(cover, beg);
124 + if ((pos > 0 && beg < cover->span[pos - 1].end) ||
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_h323_asn1.c93 unsigned char *beg; member
521 unsigned char *beg = NULL; in decode_seq() local
568 beg = bs->cur; in decode_seq()
576 bs->cur = beg + len; in decode_seq()
635 beg = bs->cur; in decode_seq()
642 bs->cur = beg + len; in decode_seq()
654 unsigned char *beg = NULL; in decode_seqof() local
716 beg = bs->cur; in decode_seqof()
726 bs->cur = beg + len; in decode_seqof()
750 unsigned char *beg = NULL; in decode_choice() local
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dmscc_sgpio.c30 u8 beg; member
42 #define __M(bf) GENMASK((bf).end, (bf).beg)
43 #define __F(bf, x) (__M(bf) & ((x) << (bf).beg))
44 #define __X(bf, x) (((x) >> (bf).beg) & GENMASK(((bf).end - (bf).beg), 0))
46 #define MSCC_M_CFG_SIO_AUTO_REPEAT(p) BIT(p->props->auto_repeat.beg)
/openbmc/u-boot/lib/zlib/
H A Ddeflate.c682 uInt beg = s->pending; /* start of bytes to update crc */ local
686 if (s->gzhead->hcrc && s->pending > beg)
687 strm->adler = crc32(strm->adler, s->pending_buf + beg,
688 s->pending - beg);
690 beg = s->pending;
697 if (s->gzhead->hcrc && s->pending > beg)
698 strm->adler = crc32(strm->adler, s->pending_buf + beg,
699 s->pending - beg);
710 uInt beg = s->pending; /* start of bytes to update crc */ local
715 if (s->gzhead->hcrc && s->pending > beg)
[all …]
H A Dinffast.c76 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ in inflate_fast() local
111 beg = out - (start - strm->avail_out); in inflate_fast()
195 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast()
/openbmc/linux/rust/kernel/
H A Dstr.rs397 beg: usize, field
407 beg: 0, in new()
422 beg: pos as _, in from_ptrs()
440 beg: pos, in from_buffer()
454 self.pos - self.beg in bytes_written()
/openbmc/linux/fs/ufs/
H A Dialloc.c135 sector_t beg = uspi->s_sbbase + in ufs2_init_inodes_chunk() local
138 sector_t end = beg + uspi->s_fpb; in ufs2_init_inodes_chunk()
142 for (; beg < end; ++beg) { in ufs2_init_inodes_chunk()
143 bh = sb_getblk(sb, beg); in ufs2_init_inodes_chunk()
H A Dballoc.c239 static void ufs_change_blocknr(struct inode *inode, sector_t beg, in ufs_change_blocknr() argument
261 end = count + beg; in ufs_change_blocknr()
263 for (i = beg; i < end; i = (i | mask) + 1) { in ufs_change_blocknr()
294 pos = (i - beg) + j; in ufs_change_blocknr()
321 static void ufs_clear_frags(struct inode *inode, sector_t beg, unsigned int n, in ufs_clear_frags() argument
325 sector_t end = beg + n; in ufs_clear_frags()
327 for (; beg < end; ++beg) { in ufs_clear_frags()
328 bh = sb_getblk(inode->i_sb, beg); in ufs_clear_frags()
/openbmc/u-boot/fs/ubifs/
H A Dtnc_misc.c130 int beg = 0, end = znode->child_cnt, uninitialized_var(mid); in ubifs_search_zbranch() local
134 ubifs_assert(end > beg); in ubifs_search_zbranch()
136 while (end > beg) { in ubifs_search_zbranch()
137 mid = (beg + end) >> 1; in ubifs_search_zbranch()
140 beg = mid + 1; in ubifs_search_zbranch()
/openbmc/linux/fs/ubifs/
H A Dtnc_misc.c129 int beg = 0, end = znode->child_cnt, mid; in ubifs_search_zbranch() local
133 ubifs_assert(c, end > beg); in ubifs_search_zbranch()
135 while (end > beg) { in ubifs_search_zbranch()
136 mid = (beg + end) >> 1; in ubifs_search_zbranch()
139 beg = mid + 1; in ubifs_search_zbranch()
/openbmc/linux/lib/zlib_inflate/
H A Dinffast.c73 unsigned char *beg; /* inflate()'s initial strm->next_out */ in inflate_fast() local
100 beg = out - (start - strm->avail_out); in inflate_fast()
179 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast()
/openbmc/qemu/monitor/
H A Dhmp.c962 const char *beg; in monitor_parse_arguments() local
968 beg = p; in monitor_parse_arguments()
972 if (p - beg == 2 && !memcmp(beg, "on", p - beg)) { in monitor_parse_arguments()
974 } else if (p - beg == 3 && !memcmp(beg, "off", p - beg)) { in monitor_parse_arguments()
/openbmc/qemu/qobject/
H A Djson-parser.c134 const char *beg; in parse_string() local
148 beg = ptr++; in parse_string()
199 (int)(ptr - beg), beg); in parse_string()
/openbmc/phosphor-host-ipmid/
H A Dstorageaddsel.cpp39 handle.seekg(0, std::ios::beg); in readESEL()
/openbmc/linux/drivers/video/fbdev/
H A Dxen-fbfront.c188 unsigned long beg, end; in xenfb_deferred_io() local
194 beg = pageref->offset; in xenfb_deferred_io()
195 end = beg + PAGE_SIZE - 1; in xenfb_deferred_io()
196 y1 = beg / fb_info->fix.line_length; in xenfb_deferred_io()
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dipz_parser.cpp77 std::ios::beg); in vhdrEccCheck()
138 std::ios::beg); in vtocEccCheck()
649 m_vpdFileStream.seekp(m_vpdStartOffset + i_recordECCOffset, std::ios::beg); in updateRecordECC()
730 std::ios::beg); in setKeywordValueInRecord()
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c32 static dma_addr_t incr_last_byte(dma_addr_t addr, dma_addr_t beg, in incr_last_byte() argument
35 dma_addr_t end = beg + (ring_count * DESC_SIZE); in incr_last_byte()
39 return beg + DESC_SIZE - 1; in incr_last_byte()
45 static dma_addr_t incr_first_byte(dma_addr_t addr, dma_addr_t beg, in incr_first_byte() argument
48 dma_addr_t end = beg + (ring_count * DESC_SIZE); in incr_first_byte()
52 return beg; in incr_first_byte()
/openbmc/linux/mm/kasan/
H A Dgeneric.c217 kasan_unpoison(global->beg, global->size, false); in register_global()
219 kasan_poison(global->beg + aligned_size, in register_global()
/openbmc/linux/fs/smb/client/
H A Dsmb2pdu.c2293 u8 *beg = (u8 *)cc + le16_to_cpu(cc->DataOffset); in parse_posix_ctxt() local
2294 u8 *end = beg + le32_to_cpu(cc->DataLength); in parse_posix_ctxt()
2299 posix->nlink = le32_to_cpu(*(__le32 *)(beg + 0)); in parse_posix_ctxt()
2300 posix->reparse_tag = le32_to_cpu(*(__le32 *)(beg + 4)); in parse_posix_ctxt()
2301 posix->mode = le32_to_cpu(*(__le32 *)(beg + 8)); in parse_posix_ctxt()
2303 sid = beg + 12; in parse_posix_ctxt()
5097 int posix_info_sid_size(const void *beg, const void *end) in posix_info_sid_size() argument
5102 if (beg + 1 > end) in posix_info_sid_size()
5105 subauth = *(u8 *)(beg+1); in posix_info_sid_size()
5110 if (beg + total > end) in posix_info_sid_size()
[all …]
H A Dsmb2proto.h317 int posix_info_parse(const void *beg, const void *end,
319 int posix_info_sid_size(const void *beg, const void *end);
/openbmc/linux/drivers/video/console/
H A Dvgacon.c831 int font_select = 0x00, beg, i; in vgacon_do_font_op() local
836 beg = 0x0e; in vgacon_do_font_op()
839 beg = 0x0a; in vgacon_do_font_op()
920 vga_wgfx(state->vgabase, VGA_GFX_MISC, beg); in vgacon_do_font_op()
/openbmc/intel-ipmi-oem/src/
H A Dbiosconfigcommands.cpp291 payloadFile.seekg(0, payloadFile.beg); in computeCheckSum()
444 outFile.seekp(std::ios_base::beg); in flushNVOOBdata()
641 ifs.seekg(std::ios_base::beg); in InitNVOOBdata()
1034 ifs.seekg(offset, std::ios::beg); in ipmiOEMGetPayload()
/openbmc/linux/samples/bpf/
H A Dxdp_sample_user.c1018 struct record beg = {}; in stats_get_devmap_xmit_multi() local
1031 beg.timestamp = r->timestamp - prev_time; in stats_get_devmap_xmit_multi()
1043 p = &beg; in stats_get_devmap_xmit_multi()
1081 pc = p == &beg ? &p_beg : &p->cpu[i]; in stats_get_devmap_xmit_multi()

12