Home
last modified time | relevance | path

Searched refs:sync_size (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/net/tls/
H A Dtls_device_fallback.c232 s32 *sync_size, in fill_sg_in()
250 *sync_size = tcp_seq - tls_record_start_seq(record); in fill_sg_in()
251 if (*sync_size < 0) { in fill_sg_in()
266 *sync_size = 0; in fill_sg_in()
270 remaining = *sync_size; in fill_sg_in()
297 int sync_size, in fill_sg_out()
300 sg_set_buf(&sg_out[0], dummy_buf, sync_size); in fill_sg_out()
303 dummy_buf += sync_size; in fill_sg_out()
311 s32 sync_size, u64 rcd_sn) in tls_enc_skb()
328 sync_size in tls_enc_skb()
228 fill_sg_in(struct scatterlist *sg_in, struct sk_buff *skb, struct tls_offload_context_tx *ctx, u64 *rcd_sn, s32 *sync_size, int *resync_sgs) fill_sg_in() argument
292 fill_sg_out(struct scatterlist sg_out[3], void *buf, struct tls_context *tls_ctx, struct sk_buff *nskb, int tcp_payload_offset, int payload_len, int sync_size, void *dummy_buf) fill_sg_out() argument
307 tls_enc_skb(struct tls_context *tls_ctx, struct scatterlist sg_out[3], struct scatterlist *sg_in, struct sk_buff *skb, s32 sync_size, u64 rcd_sn) tls_enc_skb() argument
382 s32 sync_size = 0; tls_sw_fallback() local
[all...]
/kernel/linux/linux-6.6/net/tls/
H A Dtls_device_fallback.c244 s32 *sync_size, in fill_sg_in()
262 *sync_size = tcp_seq - tls_record_start_seq(record); in fill_sg_in()
263 if (*sync_size < 0) { in fill_sg_in()
278 *sync_size = 0; in fill_sg_in()
282 remaining = *sync_size; in fill_sg_in()
309 int sync_size, in fill_sg_out()
315 sg_set_buf(&sg_out[0], dummy_buf, sync_size); in fill_sg_out()
318 dummy_buf += sync_size; in fill_sg_out()
326 s32 sync_size, u64 rcd_sn) in tls_enc_skb()
353 sync_size in tls_enc_skb()
240 fill_sg_in(struct scatterlist *sg_in, struct sk_buff *skb, struct tls_offload_context_tx *ctx, u64 *rcd_sn, s32 *sync_size, int *resync_sgs) fill_sg_in() argument
304 fill_sg_out(struct scatterlist sg_out[3], void *buf, struct tls_context *tls_ctx, struct sk_buff *nskb, int tcp_payload_offset, int payload_len, int sync_size, void *dummy_buf) fill_sg_out() argument
322 tls_enc_skb(struct tls_context *tls_ctx, struct scatterlist sg_out[3], struct scatterlist *sg_in, struct sk_buff *skb, s32 sync_size, u64 rcd_sn) tls_enc_skb() argument
405 s32 sync_size = 0; tls_sw_fallback() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dtls_rxtx.c107 s32 sync_size; in mlx5e_tls_get_sync_data() local
115 sync_size = tcp_seq - tls_record_start_seq(record); in mlx5e_tls_get_sync_data()
116 info->sync_len = sync_size; in mlx5e_tls_get_sync_data()
117 if (unlikely(sync_size < 0)) { in mlx5e_tls_get_sync_data()
124 remaining = sync_size; in mlx5e_tls_get_sync_data()
/kernel/linux/linux-6.6/drivers/staging/pi433/
H A Drf69.c632 int rf69_set_sync_size(struct spi_device *spi, u8 sync_size) in rf69_set_sync_size() argument
635 if (sync_size > 0x07) { in rf69_set_sync_size()
636 dev_dbg(&spi->dev, "set: illegal sync size %u\n", sync_size); in rf69_set_sync_size()
643 (sync_size << 3)); in rf69_set_sync_size()
H A Drf69.h51 int rf69_set_sync_size(struct spi_device *spi, u8 sync_size);
/kernel/linux/linux-5.10/drivers/staging/pi433/
H A Drf69.h50 int rf69_set_sync_size(struct spi_device *spi, u8 sync_size);
H A Drf69.c689 int rf69_set_sync_size(struct spi_device *spi, u8 sync_size) in rf69_set_sync_size() argument
692 if (sync_size > 0x07) { in rf69_set_sync_size()
700 (sync_size << 3)); in rf69_set_sync_size()
/kernel/linux/linux-5.10/drivers/md/
H A Dmd-cluster.c1185 * return 0 if all the bitmaps have the same sync_size
1191 unsigned long my_sync_size, sync_size = 0; in cluster_check_sync_size() local
1199 my_sync_size = sb->sync_size; in cluster_check_sync_size()
1230 if (sync_size == 0) in cluster_check_sync_size()
1231 sync_size = sb->sync_size; in cluster_check_sync_size()
1232 else if (sync_size != sb->sync_size) { in cluster_check_sync_size()
1241 return (my_sync_size == sync_size) ? 0 : -1; in cluster_check_sync_size()
1249 * 3. The initiator node continues to check each bitmap's sync_size, i
[all...]
H A Dmd-bitmap.h129 __le64 sync_size; /* 40 the size of the md device's sync range(3) */ member
H A Dmd-bitmap.c462 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_update_sb()
496 (unsigned long long)le64_to_cpu(sb->sync_size)/2); in md_bitmap_print_sb()
555 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_new_disk_sb()
667 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_read_sb()
/kernel/linux/linux-6.6/drivers/md/
H A Dmd-cluster.c1189 * return 0 if all the bitmaps have the same sync_size
1195 unsigned long my_sync_size, sync_size = 0; in cluster_check_sync_size() local
1203 my_sync_size = sb->sync_size; in cluster_check_sync_size()
1234 if (sync_size == 0) in cluster_check_sync_size()
1235 sync_size = sb->sync_size; in cluster_check_sync_size()
1236 else if (sync_size != sb->sync_size) { in cluster_check_sync_size()
1245 return (my_sync_size == sync_size) ? 0 : -1; in cluster_check_sync_size()
1253 * 3. The initiator node continues to check each bitmap's sync_size, i
[all...]
H A Dmd-bitmap.h129 __le64 sync_size; /* 40 the size of the md device's sync range(3) */ member
H A Dmd-bitmap.c500 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_update_sb()
539 (unsigned long long)le64_to_cpu(sb->sync_size)/2); in md_bitmap_print_sb()
598 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_new_disk_sb()
708 sb->sync_size = cpu_to_le64(bitmap->mddev->resync_max_sectors); in md_bitmap_read_sb()

Completed in 16 milliseconds