Home
last modified time | relevance | path

Searched refs:hoffset (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/fs/verity/
H A Dverify.c23 * @hoffset: (out) the byte offset to the wanted hash within the hash block
27 unsigned int *hoffset) in hash_at_level()
38 *hoffset = (position & ((1 << params->log_arity) - 1)) << in hash_at_level()
43 static void extract_hash(struct page *hpage, unsigned int hoffset, in extract_hash() argument
48 memcpy(out, virt + hoffset, hsize); in extract_hash()
120 unsigned int hoffset; in verify_page() local
123 hash_at_level(params, index, level, &hindex, &hoffset); in verify_page()
125 pr_debug_ratelimited("Level %d: hindex=%lu, hoffset=%u\n", in verify_page()
126 level, hindex, hoffset); in verify_page()
139 extract_hash(hpage, hoffset, hsiz in verify_page()
25 hash_at_level(const struct merkle_tree_params *params, pgoff_t dindex, unsigned int level, pgoff_t *hindex, unsigned int *hoffset) hash_at_level() argument
159 unsigned int hoffset = hoffsets[level - 1]; verify_page() local
[all...]
/kernel/linux/linux-6.6/fs/verity/
H A Dverify.c110 unsigned int hoffset; in verify_data_block() member
155 unsigned int hoffset; in verify_data_block() local
176 hoffset = (hidx << params->log_digestsize) & in verify_data_block()
190 memcpy(_want_hash, haddr + hoffset, hsize); in verify_data_block()
199 hblocks[level].hoffset = hoffset; in verify_data_block()
210 unsigned int hoffset = hblocks[level - 1].hoffset; in verify_data_block() local
225 memcpy(_want_hash, haddr + hoffset, hsize); in verify_data_block()
/kernel/linux/linux-6.6/net/sched/
H A Dact_pedit.c332 static int pedit_l4_skb_offset(struct sk_buff *skb, int *hoffset, const int header_type) in pedit_l4_skb_offset() argument
344 *hoffset = noff + iph->ihl * 4; in pedit_l4_skb_offset()
349 ret = ipv6_find_hdr(skb, hoffset, header_type, NULL, NULL) == header_type ? 0 : -EINVAL; in pedit_l4_skb_offset()
357 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset()
364 *hoffset = skb_mac_offset(skb); in pedit_skb_hdr_offset()
371 *hoffset = skb_network_offset(skb); in pedit_skb_hdr_offset()
375 ret = pedit_l4_skb_offset(skb, hoffset, IPPROTO_TCP); in pedit_skb_hdr_offset()
378 ret = pedit_l4_skb_offset(skb, hoffset, IPPROTO_UDP); in pedit_skb_hdr_offset()
416 int hoffset = 0; in tcf_pedit_act() local
428 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act()
356 pedit_skb_hdr_offset(struct sk_buff *skb, enum pedit_header_type htype, int *hoffset) pedit_skb_hdr_offset() argument
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dact_pedit.c292 enum pedit_header_type htype, int *hoffset) in pedit_skb_hdr_offset()
299 *hoffset = skb_mac_offset(skb); in pedit_skb_hdr_offset()
306 *hoffset = skb_network_offset(skb); in pedit_skb_hdr_offset()
312 *hoffset = skb_transport_offset(skb); in pedit_skb_hdr_offset()
352 int hoffset; in tcf_pedit_act() local
363 rc = pedit_skb_hdr_offset(skb, htype, &hoffset); in tcf_pedit_act()
373 if (!offset_valid(skb, hoffset + tkey->at)) { in tcf_pedit_act()
375 hoffset + tkey->at); in tcf_pedit_act()
378 d = skb_header_pointer(skb, hoffset + tkey->at, in tcf_pedit_act()
390 if (!offset_valid(skb, hoffset in tcf_pedit_act()
291 pedit_skb_hdr_offset(struct sk_buff *skb, enum pedit_header_type htype, int *hoffset) pedit_skb_hdr_offset() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c175 setup.hoffset); in logicvc_plane_atomic_update()
273 u16 hoffset = 0; in logicvc_layer_buffer_find_setup() local
320 hoffset = gap / layer_bytespp; in logicvc_layer_buffer_find_setup()
321 if (hoffset > LOGICVC_DIMENSIONS_MAX) in logicvc_layer_buffer_find_setup()
322 hoffset = LOGICVC_DIMENSIONS_MAX; in logicvc_layer_buffer_find_setup()
324 gap -= hoffset * layer_bytespp; in logicvc_layer_buffer_find_setup()
341 drm_dbg_kms(drm_dev, "- hoffset = 0x%x chunks of 0x%x bytes\n", hoffset, in logicvc_layer_buffer_find_setup()
347 setup->hoffset = hoffset; in logicvc_layer_buffer_find_setup()
[all...]
H A Dlogicvc_layer.h23 u16 hoffset; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_efuse.c366 u8 hoffset = 0, hworden = 0; in Efuse_GetCurrentSize() local
376 hoffset = efuse_data; in Efuse_GetCurrentSize()
383 hoffset = ((hoffset & 0xE0) >> 5) | in Efuse_GetCurrentSize()
388 hoffset = (efuse_data >> 4) & 0x0F; in Efuse_GetCurrentSize()
407 u8 hoffset = 0, hworden = 0; in Efuse_PgPacketRead() local
432 hoffset = ((tmp_header & 0xE0) >> 5) | ((efuse_data & 0xF0) >> 1); in Efuse_PgPacketRead()
440 hoffset = (efuse_data >> 4) & 0x0F; in Efuse_PgPacketRead()
446 if (hoffset == offset) { in Efuse_PgPacketRead()
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
H A Dxt_HMARK.h49 __u32 hoffset; /* Mark offset to start from */ member
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/
H A Dxt_HMARK.h49 __u32 hoffset; /* Mark offset to start from */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
H A Dxt_HMARK.h62 __u32 hoffset; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/
H A Dxt_HMARK.h62 __u32 hoffset; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
H A Dxt_HMARK.h49 __u32 hoffset; member
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_hal_init.c1153 u8 hoffset = 0, hworden = 0; in hal_EfuseGetCurrentSize_WiFi() local
1205 hoffset = GET_HDR_OFFSET_2_0(efuse_data); in hal_EfuseGetCurrentSize_WiFi()
1211 hoffset |= ((efuse_data & 0xF0) >> 1); in hal_EfuseGetCurrentSize_WiFi()
1214 hoffset = (efuse_data>>4) & 0x0F; in hal_EfuseGetCurrentSize_WiFi()
1252 u8 hoffset = 0, hworden = 0; in hal_EfuseGetCurrentSize_BT() local
1296 hoffset = GET_HDR_OFFSET_2_0(efuse_data); in hal_EfuseGetCurrentSize_BT()
1306 /* hoffset = ((hoffset & 0xE0) >> 5) | ((efuse_data & 0xF0) >> 1); */ in hal_EfuseGetCurrentSize_BT()
1307 hoffset |= ((efuse_data & 0xF0) >> 1); in hal_EfuseGetCurrentSize_BT()
1310 hoffset in hal_EfuseGetCurrentSize_BT()
1460 u8 hoffset = 0, hworden = 0; Hal_EfusePgPacketRead() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
H A Drtl8712_efuse.c232 u8 hoffset = 0, hworden = 0, word_cnts = 0; in r8712_efuse_pg_packet_read() local
248 hoffset = (efuse_data >> 4) & 0x0F; in r8712_efuse_pg_packet_read()
251 if (hoffset == offset) { in r8712_efuse_pg_packet_read()
/kernel/linux/linux-6.6/drivers/staging/rtl8712/
H A Drtl8712_efuse.c232 u8 hoffset = 0, hworden = 0, word_cnts = 0; in r8712_efuse_pg_packet_read() local
248 hoffset = (efuse_data >> 4) & 0x0F; in r8712_efuse_pg_packet_read()
251 if (hoffset == offset) { in r8712_efuse_pg_packet_read()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_hal_init.c957 u8 hoffset = 0, hworden = 0; in hal_EfuseGetCurrentSize_WiFi() local
1004 hoffset = GET_HDR_OFFSET_2_0(efuse_data); in hal_EfuseGetCurrentSize_WiFi()
1010 hoffset |= ((efuse_data & 0xF0) >> 1); in hal_EfuseGetCurrentSize_WiFi()
1013 hoffset = (efuse_data>>4) & 0x0F; in hal_EfuseGetCurrentSize_WiFi()
1050 u8 hoffset = 0, hworden = 0; in hal_EfuseGetCurrentSize_BT() local
1088 hoffset = GET_HDR_OFFSET_2_0(efuse_data); in hal_EfuseGetCurrentSize_BT()
1097 /* hoffset = ((hoffset & 0xE0) >> 5) | ((efuse_data & 0xF0) >> 1); */ in hal_EfuseGetCurrentSize_BT()
1098 hoffset |= ((efuse_data & 0xF0) >> 1); in hal_EfuseGetCurrentSize_BT()
1101 hoffset in hal_EfuseGetCurrentSize_BT()
1243 u8 hoffset = 0, hworden = 0; Hal_EfusePgPacketRead() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_client_modeset.c349 int hoffset = 0, voffset = 0; in drm_client_get_tile_offsets() local
362 hoffset += modes[i]->hdisplay; in drm_client_get_tile_offsets()
367 offsets[idx].x = hoffset; in drm_client_get_tile_offsets()
369 DRM_DEBUG_KMS("returned %d %d for %d %d\n", hoffset, voffset, h_idx, v_idx); in drm_client_get_tile_offsets()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_client_modeset.c352 int hoffset = 0, voffset = 0; in drm_client_get_tile_offsets() local
365 hoffset += modes[i]->hdisplay; in drm_client_get_tile_offsets()
370 offsets[idx].x = hoffset; in drm_client_get_tile_offsets()
372 DRM_DEBUG_KMS("returned %d %d for %d %d\n", hoffset, voffset, h_idx, v_idx); in drm_client_get_tile_offsets()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dneofb.c726 int hoffset, voffset; in neofb_set_par() local
897 hoffset = in neofb_set_par()
905 hoffset = 0; in neofb_set_par()
911 par->PanelHorizCenterReg3 = hoffset; in neofb_set_par()
915 par->PanelHorizCenterReg4 = hoffset; in neofb_set_par()
919 par->PanelHorizCenterReg1 = hoffset; in neofb_set_par()
923 par->PanelHorizCenterReg2 = hoffset; in neofb_set_par()
927 par->PanelHorizCenterReg5 = hoffset; in neofb_set_par()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dneofb.c727 int hoffset, voffset; in neofb_set_par() local
898 hoffset = in neofb_set_par()
906 hoffset = 0; in neofb_set_par()
912 par->PanelHorizCenterReg3 = hoffset; in neofb_set_par()
916 par->PanelHorizCenterReg4 = hoffset; in neofb_set_par()
920 par->PanelHorizCenterReg1 = hoffset; in neofb_set_par()
924 par->PanelHorizCenterReg2 = hoffset; in neofb_set_par()
928 par->PanelHorizCenterReg5 = hoffset; in neofb_set_par()
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_wpf.c500 unsigned int hoffset = max(0, (int)format->width - 16); in wpf_configure_partition() local
509 mem.addr[i] += hoffset / hsub in wpf_configure_partition()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_wpf.c500 unsigned int hoffset = max(0, (int)format->width - 16); in wpf_configure_partition() local
509 mem.addr[i] += hoffset / hsub in wpf_configure_partition()
/kernel/liteos_a/syscall/
H A Dlos_syscall.h309 extern ssize_t SysPreadv(int fd, const struct iovec *iov, int iovcnt, long loffset, long hoffset);
310 extern ssize_t SysPwritev(int fd, const struct iovec *iov, int iovcnt, long loffset, long hoffset);
/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_HMARK.c128 return reciprocal_scale(hash, info->hmodulus) + info->hoffset; in hmark_hash()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_HMARK.c128 return reciprocal_scale(hash, info->hmodulus) + info->hoffset; in hmark_hash()

Completed in 25 milliseconds

12