/kernel/linux/linux-5.10/drivers/pci/ |
H A D | setup-bus.c | 42 static void free_list(struct list_head *head) in free_list() argument 46 list_for_each_entry_safe(dev_res, tmp, head, list) { in free_list() 54 * @head: Head of the list 60 static int add_to_list(struct list_head *head, struct pci_dev *dev, in add_to_list() argument 78 list_add(&tmp->list, head); in add_to_list() 83 static void remove_from_list(struct list_head *head, struct resource *res) in remove_from_list() argument 87 list_for_each_entry_safe(dev_res, tmp, head, list) { in remove_from_list() 96 static struct pci_dev_resource *res_to_dev_res(struct list_head *head, in res_to_dev_res() argument 101 list_for_each_entry(dev_res, head, list) { in res_to_dev_res() 109 static resource_size_t get_res_add_size(struct list_head *head, in get_res_add_size() argument 118 get_res_add_align(struct list_head *head, struct resource *res) get_res_add_align() argument 129 pdev_sort_resources(struct pci_dev *dev, struct list_head *head) pdev_sort_resources() argument 178 __dev_sort_resources(struct pci_dev *dev, struct list_head *head) __dev_sort_resources() argument 215 reassign_resources_sorted(struct list_head *realloc_head, struct list_head *head) reassign_resources_sorted() argument 275 assign_requested_resources_sorted(struct list_head *head, struct list_head *fail_head) assign_requested_resources_sorted() argument 345 __assign_resources_sorted(struct list_head *head, struct list_head *realloc_head, struct list_head *fail_head) __assign_resources_sorted() argument [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | setup-bus.c | 42 static void free_list(struct list_head *head) in free_list() argument 46 list_for_each_entry_safe(dev_res, tmp, head, list) { in free_list() 54 * @head: Head of the list 60 static int add_to_list(struct list_head *head, struct pci_dev *dev, in add_to_list() argument 78 list_add(&tmp->list, head); in add_to_list() 83 static void remove_from_list(struct list_head *head, struct resource *res) in remove_from_list() argument 87 list_for_each_entry_safe(dev_res, tmp, head, list) { in remove_from_list() 96 static struct pci_dev_resource *res_to_dev_res(struct list_head *head, in res_to_dev_res() argument 101 list_for_each_entry(dev_res, head, list) { in res_to_dev_res() 109 static resource_size_t get_res_add_size(struct list_head *head, in get_res_add_size() argument 118 get_res_add_align(struct list_head *head, struct resource *res) get_res_add_align() argument 128 pdev_sort_resources(struct pci_dev *dev, struct list_head *head) pdev_sort_resources() argument 175 __dev_sort_resources(struct pci_dev *dev, struct list_head *head) __dev_sort_resources() argument 212 reassign_resources_sorted(struct list_head *realloc_head, struct list_head *head) reassign_resources_sorted() argument 272 assign_requested_resources_sorted(struct list_head *head, struct list_head *fail_head) assign_requested_resources_sorted() argument 342 __assign_resources_sorted(struct list_head *head, struct list_head *realloc_head, struct list_head *fail_head) __assign_resources_sorted() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | disp.c | 27 #include "head.h" 77 const s32 *oclass, u8 head, void *data, u32 size, in nv50_chan_create() 229 const s32 *oclass, u8 head, void *data, u32 size, s64 syncbuf, in nv50_dmac_create() 274 ret = nv50_chan_create(device, disp, oclass, head, data, size, in nv50_dmac_create() 818 args.infoframe.head = nv_crtc->index; in nv50_hdmi_enable() 863 /* head is statically assigned on msto creation */ 864 struct nv50_head *head; member 927 nvif_outp_dp_mst_vcpi(&mstm->outp->outp, msto->head->base.index, 0, 0, 0, 0); in nv50_msto_prepare() 932 nvif_outp_dp_mst_vcpi(&mstm->outp->outp, msto->head->base.index, in nv50_msto_prepare() 1007 struct nv50_head *head in nv50_msto_atomic_enable() local 76 nv50_chan_create(struct nvif_device *device, struct nvif_object *disp, const s32 *oclass, u8 head, void *data, u32 size, struct nv50_chan *chan) nv50_chan_create() argument 228 nv50_dmac_create(struct nvif_device *device, struct nvif_object *disp, const s32 *oclass, u8 head, void *data, u32 size, s64 syncbuf, struct nv50_dmac *dmac) nv50_dmac_create() argument 1082 nv50_msto_new(struct drm_device *dev, struct nv50_head *head, int id) nv50_msto_new() argument 1509 nv50_sor_update(struct nouveau_encoder *nv_encoder, u8 head, struct nv50_head_atom *asyh, u8 proto, u8 depth) nv50_sor_update() argument 2025 struct nv50_head *head = nv50_head(crtc); nv50_disp_atomic_commit_tail() local 2116 struct nv50_head *head = nv50_head(crtc); nv50_disp_atomic_commit_tail() local 2167 struct nv50_head *head = nv50_head(crtc); nv50_disp_atomic_commit_tail() local 2401 struct nv50_head *head; nv50_disp_atomic_check() local 2656 struct nv50_head *head; nv50_display_create() local [all...] |
H A D | cursc37a.c | 57 cursc37a_new(struct nouveau_drm *drm, int head, s32 oclass, in cursc37a_new() argument 60 return curs507a_new_(&cursc37a, drm, head, oclass, in cursc37a_new() 61 0x00000001 << head, pwndw); in cursc37a_new()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | cursc37a.c | 57 cursc37a_new(struct nouveau_drm *drm, int head, s32 oclass, in cursc37a_new() argument 60 return curs507a_new_(&cursc37a, drm, head, oclass, in cursc37a_new() 61 0x00000001 << head, pwndw); in cursc37a_new()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | line.c | 43 n = line->head - line->tail; in write_room() 97 line->head = line->buffer; in buffer_data() 123 * called, passing it line->head as buffer, and an appropriate count. 134 if ((line->buffer == NULL) || (line->head == line->tail)) in flush_buffer() 137 if (line->tail < line->head) { in flush_buffer() 139 count = line->buffer + LINE_BUFSIZE - line->head; in flush_buffer() 141 n = write_chan(line->chan_out, line->head, count, in flush_buffer() 147 * We have flushed from ->head to buffer end, now we in flush_buffer() 150 line->head = line->buffer; in flush_buffer() 152 line->head in flush_buffer() [all...] |
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | line.c | 43 n = line->head - line->tail; in write_room() 97 line->head = line->buffer; in buffer_data() 123 * called, passing it line->head as buffer, and an appropriate count. 134 if ((line->buffer == NULL) || (line->head == line->tail)) in flush_buffer() 137 if (line->tail < line->head) { in flush_buffer() 139 count = line->buffer + LINE_BUFSIZE - line->head; in flush_buffer() 141 n = write_chan(line->chan_out, line->head, count, in flush_buffer() 147 * We have flushed from ->head to buffer end, now we in flush_buffer() 150 line->head = line->buffer; in flush_buffer() 152 line->head in flush_buffer() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 290 struct ar9170_rx_head *head, struct ar9170_rx_macstatus *mac, in carl9170_rx_mac_status() 362 switch (head->plcp[0]) { in carl9170_rx_mac_status() 378 "rate (%x).\n", head->plcp[0]); in carl9170_rx_mac_status() 387 switch (head->plcp[0] & 0xf) { in carl9170_rx_mac_status() 415 "rate (%x).\n", head->plcp[0]); in carl9170_rx_mac_status() 425 if (head->plcp[3] & 0x80) in carl9170_rx_mac_status() 427 if (head->plcp[6] & 0x80) in carl9170_rx_mac_status() 430 status->rate_idx = clamp(head->plcp[3] & 0x7f, 0, 75); in carl9170_rx_mac_status() 611 kfree_rcu(entry, head); in carl9170_ba_check() 699 struct ar9170_rx_head *head; in carl9170_rx_untie_data() local 289 carl9170_rx_mac_status(struct ar9170 *ar, struct ar9170_rx_head *head, struct ar9170_rx_macstatus *mac, struct ieee80211_rx_status *status) carl9170_rx_mac_status() argument [all...] |
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | network.c | 195 const struct tomoyo_inet_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_inet_acl() 196 const struct tomoyo_inet_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_inet_acl() 214 const struct tomoyo_unix_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_unix_acl() 215 const struct tomoyo_unix_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_unix_acl() 235 &container_of(a, struct tomoyo_inet_acl, head)->perm; in tomoyo_merge_inet_acl() 237 const u8 b_perm = container_of(b, struct tomoyo_inet_acl, head)->perm; in tomoyo_merge_inet_acl() 261 &container_of(a, struct tomoyo_unix_acl, head)->perm; in tomoyo_merge_unix_acl() 263 const u8 b_perm = container_of(b, struct tomoyo_unix_acl, head)->perm; in tomoyo_merge_unix_acl() 284 struct tomoyo_inet_acl e = { .head.type = TOMOYO_TYPE_INET_ACL }; in tomoyo_write_inet_network() 311 error = tomoyo_update_domain(&e.head, sizeo in tomoyo_write_inet_network() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 290 struct ar9170_rx_head *head, struct ar9170_rx_macstatus *mac, in carl9170_rx_mac_status() 362 switch (head->plcp[0]) { in carl9170_rx_mac_status() 378 "rate (%x).\n", head->plcp[0]); in carl9170_rx_mac_status() 387 switch (head->plcp[0] & 0xf) { in carl9170_rx_mac_status() 415 "rate (%x).\n", head->plcp[0]); in carl9170_rx_mac_status() 425 if (head->plcp[3] & 0x80) in carl9170_rx_mac_status() 427 if (head->plcp[6] & 0x80) in carl9170_rx_mac_status() 430 status->rate_idx = clamp(head->plcp[3] & 0x7f, 0, 75); in carl9170_rx_mac_status() 611 kfree_rcu(entry, head); in carl9170_ba_check() 699 struct ar9170_rx_head *head; in carl9170_rx_untie_data() local 289 carl9170_rx_mac_status(struct ar9170 *ar, struct ar9170_rx_head *head, struct ar9170_rx_macstatus *mac, struct ieee80211_rx_status *status) carl9170_rx_mac_status() argument [all...] |
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | network.c | 195 const struct tomoyo_inet_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_inet_acl() 196 const struct tomoyo_inet_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_inet_acl() 214 const struct tomoyo_unix_acl *p1 = container_of(a, typeof(*p1), head); in tomoyo_same_unix_acl() 215 const struct tomoyo_unix_acl *p2 = container_of(b, typeof(*p2), head); in tomoyo_same_unix_acl() 235 &container_of(a, struct tomoyo_inet_acl, head)->perm; in tomoyo_merge_inet_acl() 237 const u8 b_perm = container_of(b, struct tomoyo_inet_acl, head)->perm; in tomoyo_merge_inet_acl() 261 &container_of(a, struct tomoyo_unix_acl, head)->perm; in tomoyo_merge_unix_acl() 263 const u8 b_perm = container_of(b, struct tomoyo_unix_acl, head)->perm; in tomoyo_merge_unix_acl() 284 struct tomoyo_inet_acl e = { .head.type = TOMOYO_TYPE_INET_ACL }; in tomoyo_write_inet_network() 311 error = tomoyo_update_domain(&e.head, sizeo in tomoyo_write_inet_network() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | gro.c | 9 /* This should be increased if a protocol with a bigger head is added. */ 58 struct list_head *head = &offload_base; in __dev_remove_offload() local 63 list_for_each_entry(po1, head, list) { in __dev_remove_offload() 159 /* all fragments truesize : remove (head size + sk_buff) */ in skb_gro_receive() 172 struct page *page = virt_to_head_page(skb->head); in skb_gro_receive() 240 struct list_head *head = &offload_base; in napi_gro_complete() local 251 list_for_each_entry_rcu(ptype, head, list) { in napi_gro_complete() 263 WARN_ON(&ptype->list == head); in napi_gro_complete() 275 struct list_head *head = &napi->gro_hash[index].list; in __napi_gro_flush_chain() local 278 list_for_each_entry_safe_reverse(skb, p, head, lis in __napi_gro_flush_chain() 325 gro_list_prepare(const struct list_head *head, const struct sk_buff *skb) gro_list_prepare() argument 418 gro_flush_oldest(struct napi_struct *napi, struct list_head *head) gro_flush_oldest() argument 441 struct list_head *head = &offload_base; dev_gro_receive() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | vmlinux.lds.S | 52 .head.text : AT(ADDR(.head.text) - LOAD_OFFSET) { 54 KEEP(*(.head.text.first_256B)); 57 KEEP(*(.head.text.real_vectors)); 58 *(.head.text.real_trampolines); 59 KEEP(*(.head.text.virt_vectors)); 60 *(.head.text.virt_trampolines); 62 KEEP(*(.head.data.fwnmi_page)); 75 * this needs to start right after .head.text in order for fixed
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | vmlinux.lds.S | 72 .head.text : AT(ADDR(.head.text) - LOAD_OFFSET) { 74 KEEP(*(.head.text.first_256B)); 77 KEEP(*(.head.text.real_vectors)); 78 *(.head.text.real_trampolines); 79 KEEP(*(.head.text.virt_vectors)); 80 *(.head.text.virt_trampolines); 82 KEEP(*(.head.data.fwnmi_page)); 95 * this needs to start right after .head.text in order for fixed
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
H A D | dfs_pattern_detector.c | 152 * @head: list_head 161 struct list_head head; member 184 list_del(&cd->head); in channel_detector_exit() 206 INIT_LIST_HEAD(&cd->head); in channel_detector_create() 220 list_add(&cd->head, &dpd->channel_detectors); in channel_detector_create() 243 list_for_each_entry(cd, &dpd->channel_detectors, head) { in channel_detector_get() 258 list_for_each_entry(cd, &dpd->channel_detectors, head) in dpd_reset() 265 list_for_each_entry_safe(cd, cd0, &dpd->channel_detectors, head) in dpd_exit() 334 list_for_each_entry_safe(cd, cd0, &dpd->channel_detectors, head) in dpd_set_domain()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | dsos.c | 73 bool __dsos__read_build_ids(struct list_head *head, bool with_hits) in __dsos__read_build_ids() argument 79 list_for_each_entry(pos, head, node) { in __dsos__read_build_ids() 170 list_add_tail(&dso->node, &dsos->head); in __dsos__add() 212 list_for_each_entry(pos, &dsos->head, node) in __dsos__find_id() 294 size_t __dsos__fprintf_buildid(struct list_head *head, FILE *fp, in __dsos__fprintf_buildid() argument 300 list_for_each_entry(pos, head, node) { in __dsos__fprintf_buildid() 311 size_t __dsos__fprintf(struct list_head *head, FILE *fp) in __dsos__fprintf() argument 316 list_for_each_entry(pos, head, node) { in __dsos__fprintf()
|
/kernel/linux/linux-5.10/kernel/rcu/ |
H A D | rcu.h | 172 static inline int debug_rcu_head_queue(struct rcu_head *head) in debug_rcu_head_queue() argument 176 r1 = debug_object_activate(head, &rcuhead_debug_descr); in debug_rcu_head_queue() 177 debug_object_active_state(head, &rcuhead_debug_descr, in debug_rcu_head_queue() 183 static inline void debug_rcu_head_unqueue(struct rcu_head *head) in debug_rcu_head_unqueue() argument 185 debug_object_active_state(head, &rcuhead_debug_descr, in debug_rcu_head_unqueue() 188 debug_object_deactivate(head, &rcuhead_debug_descr); in debug_rcu_head_unqueue() 191 static inline int debug_rcu_head_queue(struct rcu_head *head) in debug_rcu_head_queue() argument 196 static inline void debug_rcu_head_unqueue(struct rcu_head *head) in debug_rcu_head_unqueue() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_rd.c | 71 (CIRC_CNT((circ)->head, (circ)->tail, BUF_SZ)) 73 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, BUF_SZ)) 76 (CIRC_SPACE((circ)->head, (circ)->tail, BUF_SZ)) 78 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, BUF_SZ)) 107 char *fptr = &fifo->buf[fifo->head]; in rd_write() 121 smp_store_release(&fifo->head, (fifo->head + n) & (BUF_SZ - 1)); in rd_write() 153 * as CIRC_CNT_TO_END() does not access the head more than in rd_read() 195 rd->fifo.head = rd->fifo.tail = 0; in rd_open()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | outp.c | 38 list_for_each_entry(ior, &disp->ior, head) { in nvkm_outp_route() 47 list_for_each_entry(ior, &disp->ior, head) { in nvkm_outp_route() 122 list_for_each_entry(ior, &outp->disp->ior, head) { in nvkm_outp_acquire_hda() 132 list_for_each_entry(ior, &outp->disp->ior, head) { in nvkm_outp_acquire_hda() 171 list_for_each_entry(ior, &outp->disp->ior, head) { in nvkm_outp_acquire() 258 if (!ior->arm.head || ior->arm.proto != proto) { in nvkm_outp_init_route() 259 OUTP_DBG(outp, "no heads (%x %d %d)", ior->arm.head, in nvkm_outp_init_route() 266 if (ior->func->route.get && !ior->arm.head && outp->info.type == DCB_OUTPUT_DP) in nvkm_outp_init_route() 311 "edid %x bus %d head %x", in nvkm_outp_ctor()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ |
H A D | dfs_pattern_detector.c | 153 * @head: list_head 162 struct list_head head; member 185 list_del(&cd->head); in channel_detector_exit() 207 INIT_LIST_HEAD(&cd->head); in channel_detector_create() 221 list_add(&cd->head, &dpd->channel_detectors); in channel_detector_create() 245 list_for_each_entry(cd, &dpd->channel_detectors, head) { in channel_detector_get() 260 list_for_each_entry(cd, &dpd->channel_detectors, head) in dpd_reset() 267 list_for_each_entry_safe(cd, cd0, &dpd->channel_detectors, head) in dpd_exit() 336 list_for_each_entry_safe(cd, cd0, &dpd->channel_detectors, head) in dpd_set_domain()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_rd.c | 72 (CIRC_CNT((circ)->head, (circ)->tail, BUF_SZ)) 74 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, BUF_SZ)) 77 (CIRC_SPACE((circ)->head, (circ)->tail, BUF_SZ)) 79 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, BUF_SZ)) 103 char *fptr = &fifo->buf[fifo->head]; in rd_write() 117 smp_store_release(&fifo->head, (fifo->head + n) & (BUF_SZ - 1)); in rd_write() 149 * as CIRC_CNT_TO_END() does not access the head more than in rd_read() 195 rd->fifo.head = rd->fifo.tail = 0; in rd_open()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | gk104.c | 27 #include "head.h" 33 gk104_sor_hdmi_infoframe_vsi(struct nvkm_ior *ior, int head, void *data, u32 size) in gk104_sor_hdmi_infoframe_vsi() argument 37 const u32 hoff = head * 0x400; in gk104_sor_hdmi_infoframe_vsi() 54 gk104_sor_hdmi_infoframe_avi(struct nvkm_ior *ior, int head, void *data, u32 size) in gk104_sor_hdmi_infoframe_avi() argument 58 const u32 hoff = head * 0x400; in gk104_sor_hdmi_infoframe_avi() 77 gk104_sor_hdmi_ctrl(struct nvkm_ior *ior, int head, bool enable, u8 max_ac_packet, u8 rekey) in gk104_sor_hdmi_ctrl() argument 83 const u32 hoff = head * 0x800; in gk104_sor_hdmi_ctrl() 84 const u32 hdmi = head * 0x400; in gk104_sor_hdmi_ctrl() 313 .head = { .cnt = gf119_head_cnt, .new = gf119_head_new },
|
H A D | outp.c | 38 list_for_each_entry(ior, &disp->iors, head) { in nvkm_outp_route() 47 list_for_each_entry(ior, &disp->iors, head) { in nvkm_outp_route() 122 list_for_each_entry(ior, &outp->disp->iors, head) { in nvkm_outp_acquire_hda() 132 list_for_each_entry(ior, &outp->disp->iors, head) { in nvkm_outp_acquire_hda() 171 list_for_each_entry(ior, &outp->disp->iors, head) { in nvkm_outp_acquire() 258 if (!ior->arm.head || ior->arm.proto != proto) { in nvkm_outp_init_route() 259 OUTP_DBG(outp, "no heads (%x %d %d)", ior->arm.head, in nvkm_outp_init_route() 266 if (ior->func->route.get && !ior->arm.head && outp->info.type == DCB_OUTPUT_DP) in nvkm_outp_init_route() 315 "edid %x bus %d head %x", in nvkm_outp_new_()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | dsos.c | 76 bool __dsos__read_build_ids(struct list_head *head, bool with_hits) in __dsos__read_build_ids() argument 82 list_for_each_entry(pos, head, node) { in __dsos__read_build_ids() 182 list_add_tail(&dso->node, &dsos->head); in __dsos__add() 224 list_for_each_entry(pos, &dsos->head, node) in __dsos__find_id() 306 size_t __dsos__fprintf_buildid(struct list_head *head, FILE *fp, in __dsos__fprintf_buildid() argument 312 list_for_each_entry(pos, head, node) { in __dsos__fprintf_buildid() 323 size_t __dsos__fprintf(struct list_head *head, FILE *fp) in __dsos__fprintf() argument 328 list_for_each_entry(pos, head, node) { in __dsos__fprintf()
|
/kernel/linux/linux-6.6/kernel/rcu/ |
H A D | rcu.h | 222 static inline int debug_rcu_head_queue(struct rcu_head *head) in debug_rcu_head_queue() argument 226 r1 = debug_object_activate(head, &rcuhead_debug_descr); in debug_rcu_head_queue() 227 debug_object_active_state(head, &rcuhead_debug_descr, in debug_rcu_head_queue() 233 static inline void debug_rcu_head_unqueue(struct rcu_head *head) in debug_rcu_head_unqueue() argument 235 debug_object_active_state(head, &rcuhead_debug_descr, in debug_rcu_head_unqueue() 238 debug_object_deactivate(head, &rcuhead_debug_descr); in debug_rcu_head_unqueue() 241 static inline int debug_rcu_head_queue(struct rcu_head *head) in debug_rcu_head_queue() argument 246 static inline void debug_rcu_head_unqueue(struct rcu_head *head) in debug_rcu_head_unqueue() argument
|