| /linux/net/smc/ |
| H A D | smc_clc.h | 383 u16 max_offset; in smc_get_clc_v2_ext() local 385 max_offset = offsetof(struct smc_clc_msg_proposal_area, pclc_v2_ext) - in smc_get_clc_v2_ext() 390 ntohs(prop_smcd->v2_ext_offset) > max_offset) in smc_get_clc_v2_ext() 403 u16 max_offset = offsetof(struct smc_clc_msg_proposal_area, pclc_smcd_v2_ext) - in smc_get_clc_smcd_v2_ext() local 411 ntohs(prop_v2ext->hdr.smcd_v2_ext_offset) > max_offset) in smc_get_clc_smcd_v2_ext()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_object.c | 272 int radeon_bo_pin_restricted(struct radeon_bo *bo, u32 domain, u64 max_offset, in radeon_bo_pin_restricted() argument 286 if (max_offset != 0) { in radeon_bo_pin_restricted() 293 WARN_ON_ONCE(max_offset < in radeon_bo_pin_restricted() 309 (!max_offset || max_offset > bo->rdev->mc.visible_vram_size)) in radeon_bo_pin_restricted() 313 bo->placements[i].lpfn = max_offset >> PAGE_SHIFT; in radeon_bo_pin_restricted()
|
| H A D | radeon_object.h | 148 u64 max_offset, u64 *gpu_addr);
|
| /linux/tools/testing/selftests/powerpc/stringloops/ |
| H A D | memcmp.c | 37 static void test_one(char *s1, char *s2, unsigned long max_offset, in test_one() argument 42 for (offset = 0; offset < max_offset; offset++) { in test_one()
|
| /linux/include/scsi/ |
| H A D | scsi_transport_spi.h | 22 int max_offset; member 65 #define spi_max_offset(x) (((struct spi_transport_attrs *)&(x)->starget_data)->max_offset)
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_hwrm.c | 489 u32 max_offset, offset; in bnge_hwrm_req_dma_slice() local 494 max_offset = BNGE_HWRM_DMA_SIZE - ctx->allocated; in bnge_hwrm_req_dma_slice() 495 offset = max_offset - size; in bnge_hwrm_req_dma_slice() 499 if (addr < req_addr + max_offset && req_addr + ctx->req_len <= addr) { in bnge_hwrm_req_dma_slice()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_hwrm.c | 784 u32 max_offset, offset; in hwrm_req_dma_slice() local 789 max_offset = BNXT_HWRM_DMA_SIZE - ctx->allocated; in hwrm_req_dma_slice() 790 offset = max_offset - size; in hwrm_req_dma_slice() 794 if (addr < req_addr + max_offset && req_addr + ctx->req_len <= addr) { in hwrm_req_dma_slice()
|
| /linux/drivers/media/platform/arm/mali-c55/ |
| H A D | mali-c55-params.c | 696 size_t max_offset; in mali_c55_params_write_config() local 712 max_offset = config->data_size; in mali_c55_params_write_config() 719 while (max_offset && block_offset < max_offset) { in mali_c55_params_write_config()
|
| /linux/net/sched/ |
| H A D | act_pedit.c | 396 u32 max_offset; in tcf_pedit_act() local 401 max_offset = (skb_transport_header_was_set(skb) ? in tcf_pedit_act() 405 if (skb_ensure_writable(skb, min(skb->len, max_offset))) in tcf_pedit_act()
|
| /linux/drivers/mtd/ |
| H A D | ftl.c | 154 loff_t offset, max_offset; in scan_header() local 158 max_offset = (0x100000<part->mbd.mtd->size)?0x100000:part->mbd.mtd->size; in scan_header() 161 (offset + sizeof(header)) < max_offset; in scan_header() 173 if (offset == max_offset) { in scan_header()
|
| /linux/drivers/scsi/ |
| H A D | 53c700.c | 239 __u8 max_offset = (hostdata->chip710 in NCR_700_offset_period_to_sxfer() local 250 if(offset > max_offset) { in NCR_700_offset_period_to_sxfer() 252 offset, max_offset); in NCR_700_offset_period_to_sxfer() 253 offset = max_offset; in NCR_700_offset_period_to_sxfer() 2000 int max_offset = hostdata->chip710 in NCR_700_set_offset() local 2006 if(offset > max_offset) in NCR_700_set_offset() 2007 offset = max_offset; in NCR_700_set_offset()
|
| /linux/lib/crypto/tests/ |
| H A D | hash-test-template.h | 69 static size_t rand_offset(size_t max_offset) in rand_offset() argument 71 return min(rand32() % 128, max_offset); in rand_offset()
|
| /linux/drivers/net/ethernet/chelsio/libcxgb/ |
| H A D | libcxgb_ppm.h | 54 u32 max_offset; member
|
| H A D | libcxgb_ppm.c | 306 hdr->max_offset = htonl(length); in cxgbi_ppm_make_ppod_hdr()
|
| /linux/kernel/trace/ |
| H A D | trace_probe.c | 811 int i, max_offset = 0; in get_entry_arg_max_offset() local 825 if (earg->code[i].offset > max_offset) in get_entry_arg_max_offset() 826 max_offset = earg->code[i].offset; in get_entry_arg_max_offset() 828 return max_offset; in get_entry_arg_max_offset()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | m88ds3103.c | 384 u32 max_offset = 0; in m88ds3103b_select_mclk() local 404 if (offset_MHz[i] > max_offset) { in m88ds3103b_select_mclk() 405 max_offset = offset_MHz[i]; in m88ds3103b_select_mclk()
|
| /linux/drivers/media/pci/ivtv/ |
| H A D | ivtvfb.c | 182 unsigned long max_offset; member 215 osd->max_offset = oi->display_width * oi->display_height * 4; in ivtvfb_get_osd_coords()
|
| /linux/include/uapi/linux/ |
| H A D | btrfs.h | 548 __u64 max_offset; /* in */ 547 __u64 max_offset; /* in */ global() member
|
| /linux/drivers/pci/ |
| H A D | pci.c | 3254 u32 dw0, bei, base, max_offset; in pci_ea_read() local 3298 pci_read_config_dword(dev, ent_offset, &max_offset); in pci_ea_read() 3318 end = start + (max_offset | 0x03); in pci_ea_read() 3321 if (max_offset & PCI_EA_IS_64) { in pci_ea_read()
|
| /linux/tools/perf/util/ |
| H A D | session.c | 1809 u64 max_offset = offset + size; in perf_session__peek_events() local 1829 } while (offset < max_offset); in perf_session__peek_events()
|
| /linux/fs/btrfs/ |
| H A D | ioctl.c | 1379 test.offset = sk->max_offset; in key_in_sk() 1485 test.offset = sk->max_offset; in copy_to_sk()
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | commands.c | 272 s->he_obss_pd.max_offset; in qtnf_cmd_send_start_ap()
|
| /linux/include/net/ |
| H A D | cfg80211.h | 317 u8 max_offset; member
|
| /linux/drivers/net/usb/ |
| H A D | r8152.c | 2920 int max_offset = mss ? GTTCPHO_MAX : TCPHO_MAX; in rtl8152_features_check() local 2923 skb_transport_offset(skb) > max_offset) in rtl8152_features_check()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | mac.c | 3365 he_obss_pd->max_offset); in ath11k_mac_config_obss_pd() 3383 srg_th = ATH11K_OBSS_PD_MAX_THRESHOLD + he_obss_pd->max_offset; in ath11k_mac_config_obss_pd()
|