Home
last modified time | relevance | path

Searched defs:chunk (Results 1 – 25 of 215) sorted by relevance

123456789

/kernel/linux/linux-5.10/mm/
Dpercpu-vm.c12 static struct page *pcpu_chunk_page(struct pcpu_chunk *chunk, in pcpu_chunk_page()
53 static void pcpu_free_pages(struct pcpu_chunk *chunk, in pcpu_free_pages()
81 static int pcpu_alloc_pages(struct pcpu_chunk *chunk, in pcpu_alloc_pages()
126 static void pcpu_pre_unmap_flush(struct pcpu_chunk *chunk, in pcpu_pre_unmap_flush()
152 static void pcpu_unmap_pages(struct pcpu_chunk *chunk, in pcpu_unmap_pages()
184 static void pcpu_post_unmap_tlb_flush(struct pcpu_chunk *chunk, in pcpu_post_unmap_tlb_flush()
213 static int pcpu_map_pages(struct pcpu_chunk *chunk, in pcpu_map_pages()
254 static void pcpu_post_map_flush(struct pcpu_chunk *chunk, in pcpu_post_map_flush()
275 static int pcpu_populate_chunk(struct pcpu_chunk *chunk, in pcpu_populate_chunk()
308 static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, in pcpu_depopulate_chunk()
[all …]
Dpercpu.c213 static bool pcpu_addr_in_chunk(struct pcpu_chunk *chunk, void *addr) in pcpu_addr_in_chunk()
240 static int pcpu_chunk_slot(const struct pcpu_chunk *chunk) in pcpu_chunk_slot()
273 static unsigned long pcpu_chunk_addr(struct pcpu_chunk *chunk, in pcpu_chunk_addr()
284 static unsigned long *pcpu_index_alloc_map(struct pcpu_chunk *chunk, int index) in pcpu_index_alloc_map()
344 static void pcpu_next_md_free_region(struct pcpu_chunk *chunk, int *bit_off, in pcpu_next_md_free_region()
399 static void pcpu_next_fit_region(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_next_fit_region()
456 #define pcpu_for_each_md_free_region(chunk, bit_off, bits) \ argument
462 #define pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) \ argument
505 static void __pcpu_chunk_move(struct pcpu_chunk *chunk, int slot, in __pcpu_chunk_move()
519 static void pcpu_chunk_move(struct pcpu_chunk *chunk, int slot) in pcpu_chunk_move()
[all …]
Dpercpu-km.c35 static int pcpu_populate_chunk(struct pcpu_chunk *chunk, in pcpu_populate_chunk()
41 static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, in pcpu_depopulate_chunk()
51 struct pcpu_chunk *chunk; in pcpu_create_chunk() local
82 static void pcpu_destroy_chunk(struct pcpu_chunk *chunk) in pcpu_destroy_chunk()
Dpercpu-internal.h102 static inline int pcpu_chunk_nr_blocks(struct pcpu_chunk *chunk) in pcpu_chunk_nr_blocks()
126 static inline int pcpu_chunk_map_bits(struct pcpu_chunk *chunk) in pcpu_chunk_map_bits()
132 static inline enum pcpu_chunk_type pcpu_chunk_type(struct pcpu_chunk *chunk) in pcpu_chunk_type()
145 static inline enum pcpu_chunk_type pcpu_chunk_type(struct pcpu_chunk *chunk) in pcpu_chunk_type()
199 static inline void pcpu_stats_area_alloc(struct pcpu_chunk *chunk, size_t size) in pcpu_stats_area_alloc()
223 static inline void pcpu_stats_area_dealloc(struct pcpu_chunk *chunk) in pcpu_stats_area_dealloc()
267 static inline void pcpu_stats_area_alloc(struct pcpu_chunk *chunk, size_t size) in pcpu_stats_area_alloc()
271 static inline void pcpu_stats_area_dealloc(struct pcpu_chunk *chunk) in pcpu_stats_area_dealloc()
Dpercpu-stats.c35 struct pcpu_chunk *chunk; in find_max_nr_alloc() local
56 static void chunk_map_stats(struct seq_file *m, struct pcpu_chunk *chunk, in chunk_map_stats()
144 struct pcpu_chunk *chunk; in percpu_stats_show() local
/kernel/linux/linux-5.10/net/sctp/
Doutput.c121 struct sctp_chunk *chunk = sctp_get_ecne_prepend(asoc); in sctp_packet_config() local
161 struct sctp_chunk *chunk, *tmp; in sctp_packet_free() local
179 struct sctp_chunk *chunk, in sctp_packet_transmit_chunk()
216 struct sctp_chunk *chunk) in sctp_packet_bundle_auth()
255 struct sctp_chunk *chunk) in sctp_packet_bundle_sack()
303 struct sctp_chunk *chunk) in __sctp_packet_append_chunk()
358 struct sctp_chunk *chunk) in sctp_packet_append_chunk()
411 struct sctp_chunk *chunk, *tmp; in sctp_packet_pack() local
549 struct sctp_chunk *chunk, *tmp; in sctp_packet_transmit() local
649 struct sctp_chunk *chunk) in sctp_packet_can_append_data()
[all …]
Dsm_make_chunk.c73 struct sctp_chunk *chunk = skb_shinfo(skb)->destructor_arg; in sctp_control_release_owner() local
97 static void sctp_control_set_owner_w(struct sctp_chunk *chunk) in sctp_control_set_owner_w()
119 int sctp_chunk_iif(const struct sctp_chunk *chunk) in sctp_chunk_iif()
143 int sctp_init_cause(struct sctp_chunk *chunk, __be16 cause_code, in sctp_init_cause()
380 const struct sctp_chunk *chunk, in sctp_make_init_ack()
568 const struct sctp_chunk *chunk) in sctp_make_cookie_echo()
620 const struct sctp_chunk *chunk) in sctp_make_cookie_ack()
668 const struct sctp_chunk *chunk) in sctp_make_cwr()
855 const struct sctp_chunk *chunk) in sctp_make_shutdown()
883 const struct sctp_chunk *chunk) in sctp_make_shutdown_ack()
[all …]
Dchunk.c60 struct sctp_chunk *chunk; in sctp_datamsg_free() local
76 struct sctp_chunk *chunk; in sctp_datamsg_destroy() local
132 static void sctp_datamsg_assign(struct sctp_datamsg *msg, struct sctp_chunk *chunk) in sctp_datamsg_assign()
154 struct sctp_chunk *chunk; in sctp_datamsg_from_user() local
300 int sctp_chunk_abandoned(struct sctp_chunk *chunk) in sctp_chunk_abandoned()
349 void sctp_chunk_fail(struct sctp_chunk *chunk, int error) in sctp_chunk_fail()
Dinqueue.c44 struct sctp_chunk *chunk, *tmp; in sctp_inq_free() local
64 void sctp_inq_push(struct sctp_inq *q, struct sctp_chunk *chunk) in sctp_inq_push()
86 struct sctp_chunk *chunk; in sctp_inq_peek() local
109 struct sctp_chunk *chunk; in sctp_inq_pop() local
Dsm_statefuns.c165 static inline bool sctp_chunk_length_valid(struct sctp_chunk *chunk, in sctp_chunk_length_valid()
180 static inline bool sctp_err_chunk_valid(struct sctp_chunk *chunk) in sctp_err_chunk_valid()
230 struct sctp_chunk *chunk = arg; in sctp_sf_do_4_C() local
316 struct sctp_chunk *chunk = arg, *repl, *err_chunk; in sctp_sf_do_5_1B_init() local
516 struct sctp_chunk *chunk = arg; in sctp_sf_do_5_1C_ack() local
627 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
700 struct sctp_chunk *chunk = arg; in sctp_sf_do_5_1D_ce() local
915 struct sctp_chunk *chunk = arg; in sctp_sf_do_5_1E_ca() local
1132 struct sctp_chunk *chunk = arg; in sctp_sf_beat_8_3() local
1207 struct sctp_chunk *chunk = arg; in sctp_sf_backbeat_8_3() local
[all …]
Doutqueue.c210 struct sctp_chunk *chunk, *tmp; in __sctp_outq_teardown() local
281 void sctp_outq_tail(struct sctp_outq *q, struct sctp_chunk *chunk, gfp_t gfp) in sctp_outq_tail()
455 struct sctp_chunk *chunk; in sctp_retransmit_mark() local
599 struct sctp_chunk *chunk, *chunk1; in __sctp_outq_flush_rtx() local
765 struct sctp_chunk *chunk, gfp_t gfp) in sctp_packet_singleton()
794 struct sctp_chunk *chunk) in sctp_outq_select_transport()
874 struct sctp_chunk *chunk, *tmp; in sctp_outq_flush_ctrl() local
1024 struct sctp_chunk *chunk; in sctp_outq_flush_data() local
1225 int sctp_outq_sack(struct sctp_outq *q, struct sctp_chunk *chunk) in sctp_outq_sack()
1689 struct sctp_chunk *chunk; in sctp_mark_missing() local
[all …]
Dsm_sideeffect.c87 struct sctp_chunk *chunk) in sctp_do_ecn_ecne_work()
620 struct sctp_chunk *chunk, in sctp_cmd_assoc_failed()
663 struct sctp_chunk *chunk, in sctp_cmd_process_init()
728 struct sctp_chunk *chunk) in sctp_cmd_transport_on()
798 struct sctp_chunk *chunk) in sctp_cmd_process_sack()
818 struct sctp_chunk *chunk) in sctp_cmd_setup_t2()
945 struct sctp_chunk *chunk) in sctp_cmd_setup_t4()
957 struct sctp_chunk *chunk) in sctp_cmd_process_operr()
1101 struct sctp_chunk *chunk; in sctp_cmd_send_msg() local
1268 struct sctp_chunk *chunk = NULL, *new_obj; in sctp_cmd_interpreter() local
Dstream_interleave.c48 static void sctp_chunk_assign_mid(struct sctp_chunk *chunk) in sctp_chunk_assign_mid()
87 static bool sctp_validate_data(struct sctp_chunk *chunk) in sctp_validate_data()
105 static bool sctp_validate_idata(struct sctp_chunk *chunk) in sctp_validate_idata()
826 struct sctp_chunk *chunk, gfp_t gfp) in sctp_ulpevent_idata()
960 static void sctp_renege_events(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, in sctp_renege_events()
1113 struct sctp_chunk *chunk; in sctp_generate_iftsn() local
1163 #define _sctp_walk_ifwdtsn(pos, chunk, end) \ argument
1171 static bool sctp_validate_fwdtsn(struct sctp_chunk *chunk) in sctp_validate_fwdtsn()
1187 static bool sctp_validate_iftsn(struct sctp_chunk *chunk) in sctp_validate_iftsn()
1249 static void sctp_handle_fwdtsn(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk) in sctp_handle_fwdtsn()
[all …]
Dstream.c230 struct sctp_chunk *chunk) in sctp_send_reconf()
270 struct sctp_chunk *chunk; in sctp_send_reset_streams() local
383 struct sctp_chunk *chunk = NULL; in sctp_send_reset_assoc() local
428 struct sctp_chunk *chunk = NULL; in sctp_send_add_streams() local
486 struct sctp_chunk *chunk = asoc->strreset_chunk; in sctp_chunk_lookup_strreset_param() local
613 struct sctp_chunk *chunk = NULL; in sctp_process_strreset_inreq() local
857 struct sctp_chunk *chunk = NULL; in sctp_process_strreset_addstrm_in() local
/kernel/linux/linux-5.10/kernel/
Daudit_tree.c42 struct audit_chunk *chunk; member
128 static void free_chunk(struct audit_chunk *chunk) in free_chunk()
139 void audit_put_chunk(struct audit_chunk *chunk) in audit_put_chunk()
147 struct audit_chunk *chunk = container_of(rcu, struct audit_chunk, head); in __put_chunk() local
156 static void audit_mark_put_chunk(struct audit_chunk *chunk) in audit_mark_put_chunk()
190 struct audit_chunk *chunk; in alloc_chunk() local
226 static void insert_hash(struct audit_chunk *chunk) in insert_hash()
261 bool audit_tree_match(struct audit_chunk *chunk, struct audit_tree *tree) in audit_tree_match()
280 struct audit_chunk *chunk) in replace_mark_chunk()
325 static void remove_chunk_node(struct audit_chunk *chunk, struct node *p) in remove_chunk_node()
[all …]
/kernel/linux/linux-5.10/lib/
Dgenalloc.c38 static inline size_t chunk_size(const struct gen_pool_chunk *chunk) in chunk_size()
186 struct gen_pool_chunk *chunk; in gen_pool_add_owner() local
218 struct gen_pool_chunk *chunk; in gen_pool_virt_to_phys() local
244 struct gen_pool_chunk *chunk; in gen_pool_destroy() local
279 struct gen_pool_chunk *chunk; in gen_pool_alloc_algo_owner() local
489 struct gen_pool_chunk *chunk; in gen_pool_free_owner() local
531 void (*func)(struct gen_pool *pool, struct gen_pool_chunk *chunk, void *data), in gen_pool_for_each_chunk()
534 struct gen_pool_chunk *chunk; in gen_pool_for_each_chunk() local
557 struct gen_pool_chunk *chunk; in gen_pool_has_addr() local
581 struct gen_pool_chunk *chunk; in gen_pool_avail() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_dmem.c95 struct nouveau_dmem_chunk *chunk = nouveau_page_to_chunk(page); in page_to_drm() local
102 struct nouveau_dmem_chunk *chunk = nouveau_page_to_chunk(page); in nouveau_dmem_page_addr() local
111 struct nouveau_dmem_chunk *chunk = nouveau_page_to_chunk(page); in nouveau_dmem_page_free() local
229 struct nouveau_dmem_chunk *chunk; in nouveau_dmem_chunk_alloc() local
309 struct nouveau_dmem_chunk *chunk; in nouveau_dmem_page_alloc_locked() local
342 struct nouveau_dmem_chunk *chunk; in nouveau_dmem_resume() local
360 struct nouveau_dmem_chunk *chunk; in nouveau_dmem_suspend() local
374 struct nouveau_dmem_chunk *chunk, *tmp; in nouveau_dmem_fini() local
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_pble.c63 struct i40iw_chunk *chunk; in i40iw_destroy_pble_pool() local
138 struct i40iw_chunk *chunk = info->chunk; in add_sd_direct() local
168 static void i40iw_free_vmalloc_mem(struct i40iw_hw *hw, struct i40iw_chunk *chunk) in i40iw_free_vmalloc_mem()
193 struct i40iw_chunk *chunk, in i40iw_get_vmalloc_mem()
259 struct i40iw_chunk *chunk = info->chunk; in add_bp_pages() local
329 struct i40iw_chunk *chunk; in add_pble_pool() local
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dicm.c55 static void mlx4_free_icm_pages(struct mlx4_dev *dev, struct mlx4_icm_chunk *chunk) in mlx4_free_icm_pages()
68 static void mlx4_free_icm_coherent(struct mlx4_dev *dev, struct mlx4_icm_chunk *chunk) in mlx4_free_icm_coherent()
81 struct mlx4_icm_chunk *chunk, *tmp; in mlx4_free_icm() local
136 struct mlx4_icm_chunk *chunk = NULL; in mlx4_alloc_icm() local
319 struct mlx4_icm_chunk *chunk; in mlx4_table_find() local
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c179 static int dr_icm_chunk_ste_init(struct mlx5dr_icm_chunk *chunk) in dr_icm_chunk_ste_init()
212 struct mlx5dr_icm_chunk *chunk; in dr_icm_chunks_create() local
273 static void dr_icm_chunk_ste_cleanup(struct mlx5dr_icm_chunk *chunk) in dr_icm_chunk_ste_cleanup()
280 static void dr_icm_chunk_destroy(struct mlx5dr_icm_chunk *chunk) in dr_icm_chunk_destroy()
313 struct mlx5dr_icm_chunk *chunk, *next; in dr_icm_bucket_cleanup() local
449 struct mlx5dr_icm_chunk *chunk = NULL; /* Fix compilation warning */ in mlx5dr_icm_alloc_chunk() local
494 void mlx5dr_icm_free_chunk(struct mlx5dr_icm_chunk *chunk) in mlx5dr_icm_free_chunk()
/kernel/linux/linux-5.10/drivers/media/usb/usbtv/
Dusbtv.h65 #define USBTV_MAGIC_OK(chunk) ((be32_to_cpu(chunk[0]) & 0xff000000) \ argument
67 #define USBTV_FRAME_ID(chunk) ((be32_to_cpu(chunk[0]) & 0x00ff0000) >> 16) argument
68 #define USBTV_ODD(chunk) ((be32_to_cpu(chunk[0]) & 0x0000f000) >> 15) argument
69 #define USBTV_CHUNK_NO(chunk) (be32_to_cpu(chunk[0]) & 0x00000fff) argument
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_image.c38 struct qxl_drm_chunk *chunk; in qxl_allocate_chunk() local
88 struct qxl_drm_chunk *chunk, *tmp; in qxl_image_free_objects() local
110 struct qxl_data_chunk *chunk; in qxl_image_init_helper() local
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dcrct10dif-ce-glue.c41 unsigned int chunk = length; in crct10dif_update_pmull_p8() local
66 unsigned int chunk = length; in crct10dif_update_pmull_p64() local
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_acl_tcam.c187 struct mlxsw_sp2_acl_tcam_chunk *chunk = chunk_priv; in mlxsw_sp2_acl_tcam_chunk_init() local
195 struct mlxsw_sp2_acl_tcam_chunk *chunk = chunk_priv; in mlxsw_sp2_acl_tcam_chunk_fini() local
206 struct mlxsw_sp2_acl_tcam_chunk *chunk = chunk_priv; in mlxsw_sp2_acl_tcam_entry_add() local
220 struct mlxsw_sp2_acl_tcam_chunk *chunk = chunk_priv; in mlxsw_sp2_acl_tcam_entry_del() local
Dspectrum1_acl_tcam.c157 struct mlxsw_sp1_acl_tcam_chunk *chunk = chunk_priv; in mlxsw_sp1_acl_tcam_chunk_init() local
165 struct mlxsw_sp1_acl_tcam_chunk *chunk = chunk_priv; in mlxsw_sp1_acl_tcam_chunk_fini() local
176 struct mlxsw_sp1_acl_tcam_chunk *chunk = chunk_priv; in mlxsw_sp1_acl_tcam_entry_add() local
189 struct mlxsw_sp1_acl_tcam_chunk *chunk = chunk_priv; in mlxsw_sp1_acl_tcam_entry_del() local

123456789