Searched refs:gap (Results 26 - 50 of 67) sorted by relevance

123

/linux-master/fs/ntfs3/
H A Drun.c196 CLST gap; local
211 gap = vcn - r->vcn;
212 if (r->len <= gap)
215 *lcn = r->lcn == SPARSE_LCN ? SPARSE_LCN : (r->lcn + gap);
218 *len = r->len - gap;
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Ddebugfs.c768 u32 gpio = HS_CFG_GPIO_DEF, gap = HS_CFG_GAP_DEF; local
774 arg_num = sscanf(buf, "%d %x %x", &conditions, &gpio, &gap);
800 hscfg.gap = gap;
835 hscfg.gpio, hscfg.gap);
H A Dioctl.h272 u32 gap; member in struct:mwifiex_ds_hs_cfg
H A Dinit.c264 adapter->hs_cfg.gap = HS_CFG_GAP_DEF;
/linux-master/arch/x86/events/intel/
H A Dbts.c377 unsigned long head, space, next_space, pad, gap, skip, wakeup; local
400 gap = buf_size(phys->page) - phys->displacement - phys->size +
402 skip = pad + gap;
/linux-master/arch/powerpc/mm/book3s64/
H A Dradix_pgtable.c310 unsigned long gap, previous_size; local
313 gap = next_boundary(addr, end) - addr;
314 if (gap > max_mapping_size)
315 gap = max_mapping_size;
319 if (IS_ALIGNED(addr, PUD_SIZE) && gap >= PUD_SIZE &&
323 } else if (IS_ALIGNED(addr, PMD_SIZE) && gap >= PMD_SIZE &&
/linux-master/fs/nfs/
H A Dinode.c1840 if (end == nfsi->ooo->gap[i].start)
1841 end = nfsi->ooo->gap[i].end;
1842 else if (start == nfsi->ooo->gap[i].end)
1843 start = nfsi->ooo->gap[i].start;
1848 nfsi->ooo->gap[i] = nfsi->ooo->gap[cnt];
1852 if (cnt >= ARRAY_SIZE(nfsi->ooo->gap)) {
1858 nfsi->ooo->gap[cnt].start = start;
1859 nfsi->ooo->gap[cnt].end = end;
2142 nfsi->ooo->gap[
[all...]
/linux-master/net/tipc/
H A Dlink.h147 int tipc_link_bc_ack_rcv(struct tipc_link *l, u16 acked, u16 gap,
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-core.c385 u32 gap = 4, nco = 0; local
388 if (output->port->gap != 0xffffffff) {
390 gap = output->port->gap;
399 gap = 0;
410 /* Divider and gap */
425 *con |= 0x810; /* 96 MBit/s and gap */
428 *con |= 0x10; /* enable gap */
436 gap = ((max_bitrate - bitrate) * 94) / bitrate;
437 if (gap <
[all...]
H A Dddbridge.h261 u32 gap; member in struct:ddb_port
/linux-master/mm/
H A Dmmap.c1576 unsigned long length, gap; local
1595 gap = mas.index;
1596 gap += (info->align_offset - gap) & info->align_mask;
1599 if (vm_start_gap(tmp) < gap + length - 1) {
1606 if (tmp && vm_end_gap(tmp) > gap) {
1613 return gap;
1628 unsigned long length, gap, gap_end; local
1646 gap = mas.last + 1 - info->length;
1647 gap
[all...]
/linux-master/include/linux/
H A Dmaple_tree.h74 * This metadata is used to optimize the gap updating code and in reverse
79 unsigned char gap; member in struct:maple_metadata
128 unsigned long gap[MAPLE_ARANGE64_SLOTS]; member in struct:maple_arange_64
H A Dnfs_fs.h212 * might fill in the gaps, or possibly a gap is caused
228 } gap[16]; member in struct:nfs_inode::__anon855
/linux-master/drivers/media/i2c/
H A Dmt9m111.c696 unsigned int gap, gap_best = (unsigned int) -1; local
728 gap = abs(fps - req_fps);
729 if (gap < gap_best) {
731 gap_best = gap;
/linux-master/arch/m68k/kernel/
H A Dsignal.c866 unsigned long gap = 0; local
870 gap = 256;
873 return (void __user *)((usp - gap - frame_size) & -8UL);
/linux-master/arch/x86/kernel/
H A De820.c619 * Search for a gap in the E820 memory space from 0 to MAX_GAP_END (4GB).
636 unsigned long gap = last - end; local
638 if (gap >= *gapsize) {
639 *gapsize = gap;
651 * Search for the biggest gap in the low 32 bits of the E820
669 pr_err("Cannot find an available gap in the 32-bit address range\n");
/linux-master/fs/bcachefs/
H A Dutil.h679 /* Move the gap in a gap buffer: */
683 BUG_ON((_d)->gap > (_d)->nr); \
686 (_d)->nr, (_d)->size, (_d)->gap, _new_gap); \
687 (_d)->gap = _new_gap; \
/linux-master/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c1658 int gap = ofs - bus_ofs; local
1662 n = min_t(int, len, map_bankwidth(map)-gap);
1664 datum = map_word_load_partial(map, datum, buf, gap, n);
2283 int gap = offset - bus_ofs; local
2284 int n = min_t(int, size, map_bankwidth(map)-gap);
2287 datum = map_word_load_partial(map, datum, buf, gap, n);
/linux-master/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c2503 /* Rules needs to be moved to fill the gap of the deleted rule */
2509 int gap = 0, offset = 0; local
2518 gap += vcap_valid_rule_move(elem, ri->size);
2523 vcap_adjust_rule_addr(elem, ri->size + gap + offset);
2527 move.count = ri->addr - admin->last_used_addr - gap;
2528 move.offset = -(ri->size + gap + offset);
2533 return gap + offset;
2541 int gap = 0, err; local
2557 gap = vcap_fill_rule_gap(ri);
2561 vctrl->ops->init(ndev, admin, admin->last_used_addr, ri->size + gap);
[all...]
/linux-master/drivers/media/platform/nuvoton/
H A Dnpcm-video.c214 unsigned int size, gap, val; local
228 gap = FIELD_GET(ECE_HEX_CTRL_ENC_GAP, val);
230 dev_dbg(video->dev, "offset = %u, ed_size = %u, gap = %u\n", offset,
231 size, gap);
233 return size + gap;
/linux-master/lib/
H A Dtest_maple_tree.c777 pr_debug("Search from %lu-%lu for gap %lu should be at %lu\n",
786 pr_debug("gap %lu %lu\n", (holes[i] >> 12),
900 /* Test filling entire gap. */
1555 * At this point, there is a gap of 2 at index + 1 between seq100[3] and
1556 * seq100[4]. Search for the gap.
1586 * At this point, there is a gap of 3 at seq100[6]. Find it by
1613 * gap.
1804 int gap = 4; local
1807 gap = 3;
1808 mtree_store_range(mt, i, i + gap, xa_mk_valu
1834 int gap = 4; local
2640 check_dup_gaps(struct maple_tree *mt, unsigned long nr_entries, bool zero_start, unsigned long gap) argument
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.c783 u32 gap = (new_param > old_param) ? new_param - old_param local
786 if (gap > 8)
787 gap >>= 3;
790 return old_param + gap;
792 return old_param - gap;
/linux-master/drivers/hid/
H A Dwacom_sys.c2262 char *gap = strstr(name, " "); local
2263 if (gap == NULL)
2266 memmove(gap, gap+1, strlen(gap));
/linux-master/drivers/net/bonding/
H A Dbond_alb.c176 /* Find the slave with the largest gap */
179 long long gap = compute_gap(slave); local
181 if (max_gap < gap) {
183 max_gap = gap;
/linux-master/drivers/net/wireless/marvell/libertas/
H A Dhost.h854 uint16_t gap; member in struct:cmd_ds_host_sleep

Completed in 355 milliseconds

123