Home
last modified time | relevance | path

Searched full:con (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/linux-6.12.1/net/ceph/
Dmessenger_v1.c110 static void con_out_kvec_reset(struct ceph_connection *con) in con_out_kvec_reset() argument
112 BUG_ON(con->v1.out_skip); in con_out_kvec_reset()
114 con->v1.out_kvec_left = 0; in con_out_kvec_reset()
115 con->v1.out_kvec_bytes = 0; in con_out_kvec_reset()
116 con->v1.out_kvec_cur = &con->v1.out_kvec[0]; in con_out_kvec_reset()
119 static void con_out_kvec_add(struct ceph_connection *con, in con_out_kvec_add() argument
122 int index = con->v1.out_kvec_left; in con_out_kvec_add()
124 BUG_ON(con->v1.out_skip); in con_out_kvec_add()
125 BUG_ON(index >= ARRAY_SIZE(con->v1.out_kvec)); in con_out_kvec_add()
127 con->v1.out_kvec[index].iov_len = size; in con_out_kvec_add()
[all …]
Dmessenger_v2.c109 static int ceph_tcp_recv(struct ceph_connection *con) in ceph_tcp_recv() argument
113 dout("%s con %p %s %zu\n", __func__, con, in ceph_tcp_recv()
114 iov_iter_is_discard(&con->v2.in_iter) ? "discard" : "need", in ceph_tcp_recv()
115 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv()
116 ret = do_recvmsg(con->sock, &con->v2.in_iter); in ceph_tcp_recv()
117 dout("%s con %p ret %d left %zu\n", __func__, con, ret, in ceph_tcp_recv()
118 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv()
196 static int ceph_tcp_send(struct ceph_connection *con) in ceph_tcp_send() argument
200 dout("%s con %p have %zu try_sendpage %d\n", __func__, con, in ceph_tcp_send()
201 iov_iter_count(&con->v2.out_iter), con->v2.out_iter_sendpage); in ceph_tcp_send()
[all …]
Dmessenger.c100 void ceph_con_flag_clear(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_clear() argument
104 clear_bit(con_flag, &con->flags); in ceph_con_flag_clear()
107 void ceph_con_flag_set(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_set() argument
111 set_bit(con_flag, &con->flags); in ceph_con_flag_set()
114 bool ceph_con_flag_test(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_test() argument
118 return test_bit(con_flag, &con->flags); in ceph_con_flag_test()
121 bool ceph_con_flag_test_and_clear(struct ceph_connection *con, in ceph_con_flag_test_and_clear() argument
126 return test_and_clear_bit(con_flag, &con->flags); in ceph_con_flag_test_and_clear()
129 bool ceph_con_flag_test_and_set(struct ceph_connection *con, in ceph_con_flag_test_and_set() argument
134 return test_and_set_bit(con_flag, &con->flags); in ceph_con_flag_test_and_set()
[all …]
/linux-6.12.1/drivers/usb/typec/ucsi/
Ducsi.c250 struct ucsi_connector *con; member
257 struct ucsi_connector *con = uwork->con; in ucsi_poll_worker() local
260 mutex_lock(&con->lock); in ucsi_poll_worker()
262 if (!con->partner) { in ucsi_poll_worker()
264 mutex_unlock(&con->lock); in ucsi_poll_worker()
269 ret = uwork->cb(con); in ucsi_poll_worker()
272 queue_delayed_work(con->wq, &uwork->work, uwork->delay); in ucsi_poll_worker()
278 mutex_unlock(&con->lock); in ucsi_poll_worker()
281 static int ucsi_partner_task(struct ucsi_connector *con, in ucsi_partner_task() argument
287 if (!con->partner) in ucsi_partner_task()
[all …]
Dpsy.c34 static int ucsi_psy_get_scope(struct ucsi_connector *con, in ucsi_psy_get_scope() argument
38 struct device *dev = con->ucsi->dev; in ucsi_psy_get_scope()
45 if (con->ucsi->cap.attributes & mask) in ucsi_psy_get_scope()
54 static int ucsi_psy_get_online(struct ucsi_connector *con, in ucsi_psy_get_online() argument
58 if (con->status.flags & UCSI_CONSTAT_CONNECTED && in ucsi_psy_get_online()
59 (con->status.flags & UCSI_CONSTAT_PWR_DIR) == TYPEC_SINK) in ucsi_psy_get_online()
64 static int ucsi_psy_get_voltage_min(struct ucsi_connector *con, in ucsi_psy_get_voltage_min() argument
69 switch (UCSI_CONSTAT_PWR_OPMODE(con->status.flags)) { in ucsi_psy_get_voltage_min()
71 pdo = con->src_pdos[0]; in ucsi_psy_get_voltage_min()
87 static int ucsi_psy_get_voltage_max(struct ucsi_connector *con, in ucsi_psy_get_voltage_max() argument
[all …]
Ddisplayport.c20 struct ucsi_connector *con; member
51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter()
57 mutex_lock(&dp->con->lock); in ucsi_displayport_enter()
68 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter()
77 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
103 mutex_unlock(&dp->con->lock); in ucsi_displayport_enter()
115 mutex_lock(&dp->con->lock); in ucsi_displayport_exit()
126 command = UCSI_CMD_SET_NEW_CAM(dp->con->num, 0, dp->offset, 0); in ucsi_displayport_exit()
127 ret = ucsi_send_command(dp->con->ucsi, command, NULL, 0); in ucsi_displayport_exit()
147 mutex_unlock(&dp->con->lock); in ucsi_displayport_exit()
[all …]
/linux-6.12.1/net/tipc/
Dtopsrv.c117 static void tipc_conn_delete_sub(struct tipc_conn *con, struct tipc_subscr *s);
119 static bool connected(struct tipc_conn *con) in connected() argument
121 return con && test_bit(CF_CONNECTED, &con->flags); in connected()
126 struct tipc_conn *con = container_of(kref, struct tipc_conn, kref); in tipc_conn_kref_release() local
127 struct tipc_topsrv *s = con->server; in tipc_conn_kref_release()
131 idr_remove(&s->conn_idr, con->conid); in tipc_conn_kref_release()
134 if (con->sock) in tipc_conn_kref_release()
135 sock_release(con->sock); in tipc_conn_kref_release()
137 spin_lock_bh(&con->outqueue_lock); in tipc_conn_kref_release()
138 list_for_each_entry_safe(e, safe, &con->outqueue, list) { in tipc_conn_kref_release()
[all …]
/linux-6.12.1/fs/dlm/
Dlowcomms.c134 struct connection *con; member
214 static void lowcomms_queue_swork(struct connection *con) in lowcomms_queue_swork() argument
216 assert_spin_locked(&con->writequeue_lock); in lowcomms_queue_swork()
218 if (!test_bit(CF_IO_STOP, &con->flags) && in lowcomms_queue_swork()
219 !test_bit(CF_APP_LIMITED, &con->flags) && in lowcomms_queue_swork()
220 !test_and_set_bit(CF_SEND_PENDING, &con->flags)) in lowcomms_queue_swork()
221 queue_work(io_workqueue, &con->swork); in lowcomms_queue_swork()
224 static void lowcomms_queue_rwork(struct connection *con) in lowcomms_queue_rwork() argument
227 WARN_ON_ONCE(!lockdep_sock_is_held(con->sock->sk)); in lowcomms_queue_rwork()
230 if (!test_bit(CF_IO_STOP, &con->flags) && in lowcomms_queue_rwork()
[all …]
/linux-6.12.1/tools/perf/util/
Dbpf_lock_contention.c22 int lock_contention_prepare(struct lock_contention *con) in lock_contention_prepare() argument
26 struct evlist *evlist = con->evlist; in lock_contention_prepare()
27 struct target *target = con->target; in lock_contention_prepare()
35 bpf_map__set_value_size(skel->maps.stacks, con->max_stack * sizeof(u64)); in lock_contention_prepare()
36 bpf_map__set_max_entries(skel->maps.lock_stat, con->map_nr_entries); in lock_contention_prepare()
37 bpf_map__set_max_entries(skel->maps.tstamp, con->map_nr_entries); in lock_contention_prepare()
39 if (con->aggr_mode == LOCK_AGGR_TASK) in lock_contention_prepare()
40 bpf_map__set_max_entries(skel->maps.task_data, con->map_nr_entries); in lock_contention_prepare()
44 if (con->save_callstack) in lock_contention_prepare()
45 bpf_map__set_max_entries(skel->maps.stacks, con->map_nr_entries); in lock_contention_prepare()
[all …]
/linux-6.12.1/kernel/printk/
Dnbcon.c122 * @con: Console to update
128 static inline void nbcon_state_set(struct console *con, struct nbcon_state *new) in nbcon_state_set() argument
130 atomic_set(&ACCESS_PRIVATE(con, nbcon_state), new->atom); in nbcon_state_set()
135 * @con: Console to read
138 static inline void nbcon_state_read(struct console *con, struct nbcon_state *state) in nbcon_state_read() argument
140 state->atom = atomic_read(&ACCESS_PRIVATE(con, nbcon_state)); in nbcon_state_read()
145 * @con: Console to update
151 static inline bool nbcon_state_try_cmpxchg(struct console *con, struct nbcon_state *cur, in nbcon_state_try_cmpxchg() argument
154 return atomic_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_state), &cur->atom, new->atom); in nbcon_state_try_cmpxchg()
159 * @con: Console to read the sequence of
[all …]
Dinternal.h18 #define con_printk(lvl, con, fmt, ...) \ argument
20 (con->flags & CON_NBCON) ? "" : "legacy ", \
21 (con->flags & CON_BOOT) ? "boot" : "", \
22 con->name, con->index, ##__VA_ARGS__)
99 u64 nbcon_seq_read(struct console *con);
100 void nbcon_seq_force(struct console *con, u64 seq);
101 bool nbcon_alloc(struct console *con);
102 void nbcon_free(struct console *con);
105 bool nbcon_legacy_emit_next_record(struct console *con, bool *handover,
107 bool nbcon_kthread_create(struct console *con);
[all …]
/linux-6.12.1/drivers/infiniband/ulp/rtrs/
Drtrs.c72 int rtrs_iu_post_recv(struct rtrs_con *con, struct rtrs_iu *iu) in rtrs_iu_post_recv() argument
74 struct rtrs_path *path = con->path; in rtrs_iu_post_recv()
83 rtrs_wrn(con->path, in rtrs_iu_post_recv()
93 return ib_post_recv(con->qp, &wr, NULL); in rtrs_iu_post_recv()
97 int rtrs_post_recv_empty(struct rtrs_con *con, struct ib_cqe *cqe) in rtrs_post_recv_empty() argument
105 return ib_post_recv(con->qp, &wr, NULL); in rtrs_post_recv_empty()
128 int rtrs_iu_post_send(struct rtrs_con *con, struct rtrs_iu *iu, size_t size, in rtrs_iu_post_send() argument
131 struct rtrs_path *path = con->path; in rtrs_iu_post_send()
150 return rtrs_post_send(con->qp, head, &wr, NULL); in rtrs_iu_post_send()
154 int rtrs_iu_post_rdma_write_imm(struct rtrs_con *con, struct rtrs_iu *iu, in rtrs_iu_post_rdma_write_imm() argument
[all …]
Drtrs-clt.c188 return to_clt_con(clt_path->s.con[id]); in rtrs_permit_to_clt_con()
307 static void rtrs_rdma_error_recovery(struct rtrs_clt_con *con) in rtrs_rdma_error_recovery() argument
309 struct rtrs_clt_path *clt_path = to_clt_path(con->c.path); in rtrs_rdma_error_recovery()
331 struct rtrs_clt_con *con = to_clt_con(wc->qp->qp_context); in rtrs_clt_fast_reg_done() local
334 rtrs_err_rl(con->c.path, "Failed IB_WR_REG_MR: %s\n", in rtrs_clt_fast_reg_done()
336 rtrs_rdma_error_recovery(con); in rtrs_clt_fast_reg_done()
351 struct rtrs_clt_con *con = to_clt_con(wc->qp->qp_context); in rtrs_clt_inv_rkey_done() local
354 rtrs_err_rl(con->c.path, "Failed IB_WR_LOCAL_INV: %s\n", in rtrs_clt_inv_rkey_done()
356 rtrs_rdma_error_recovery(con); in rtrs_clt_inv_rkey_done()
368 struct rtrs_clt_con *con = req->con; in rtrs_inv_rkey() local
[all …]
Drtrs-srv.c182 struct rtrs_srv_con *con = to_srv_con(wc->qp->qp_context); in rtrs_srv_reg_mr_done() local
183 struct rtrs_path *s = con->c.path; in rtrs_srv_reg_mr_done()
200 struct rtrs_path *s = id->con->c.path; in rdma_write_sg()
271 flags = (atomic_inc_return(&id->con->c.wr_cnt) % s->signal_interval) ? in rdma_write_sg()
323 err = ib_post_send(id->con->c.qp, &id->tx_wr.wr, NULL); in rdma_write_sg()
335 * @con: the connection to send back result
341 static int send_io_resp_imm(struct rtrs_srv_con *con, struct rtrs_srv_op *id, in send_io_resp_imm() argument
344 struct rtrs_path *s = con->c.path; in send_io_resp_imm()
399 flags = (atomic_inc_return(&con->c.wr_cnt) % s->signal_interval) ? in send_io_resp_imm()
441 err = ib_post_send(id->con->c.qp, wr, NULL); in send_io_resp_imm()
[all …]
/linux-6.12.1/include/linux/ceph/
Dmessenger.h30 void (*dispatch) (struct ceph_connection *con, struct ceph_msg *m);
34 struct ceph_connection *con,
36 int (*add_authorizer_challenge)(struct ceph_connection *con,
39 int (*verify_authorizer_reply) (struct ceph_connection *con);
40 int (*invalidate_authorizer)(struct ceph_connection *con);
43 void (*fault) (struct ceph_connection *con);
47 void (*peer_reset) (struct ceph_connection *con);
49 struct ceph_msg * (*alloc_msg) (struct ceph_connection *con,
59 int (*get_auth_request)(struct ceph_connection *con,
62 int (*handle_auth_reply_more)(struct ceph_connection *con,
[all …]
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_nvmetcp.c256 if (hash_con->con->icid == handle) in qed_nvmetcp_get_hash()
260 if (!hash_con || hash_con->con->icid != handle) in qed_nvmetcp_get_hash()
620 &hash_con->con); in qed_nvmetcp_acquire_conn()
629 *handle = hash_con->con->icid; in qed_nvmetcp_acquire_conn()
630 *fw_cid = hash_con->con->fw_cid; in qed_nvmetcp_acquire_conn()
652 qed_nvmetcp_release_connection(QED_AFFIN_HWFN(cdev), hash_con->con); in qed_nvmetcp_release_conn()
662 struct qed_nvmetcp_conn *con; in qed_nvmetcp_offload_conn() local
673 con = hash_con->con; in qed_nvmetcp_offload_conn()
676 con->layer_code = NVMETCP_SLOW_PATH_LAYER_CODE; in qed_nvmetcp_offload_conn()
677 con->sq_pbl_addr = conn_info->sq_pbl_addr; in qed_nvmetcp_offload_conn()
[all …]
Dqed_iscsi.c1030 struct qed_iscsi_conn *con; member
1069 if (hash_con->con->icid == handle) in qed_iscsi_get_hash()
1073 if (!hash_con || (hash_con->con->icid != handle)) in qed_iscsi_get_hash()
1168 &hash_con->con); in qed_iscsi_acquire_conn()
1176 *handle = hash_con->con->icid; in qed_iscsi_acquire_conn()
1177 *fw_cid = hash_con->con->fw_cid; in qed_iscsi_acquire_conn()
1199 qed_iscsi_release_connection(QED_AFFIN_HWFN(cdev), hash_con->con); in qed_iscsi_release_conn()
1210 struct qed_iscsi_conn *con; in qed_iscsi_offload_conn() local
1220 con = hash_con->con; in qed_iscsi_offload_conn()
1222 ether_addr_copy(con->local_mac, conn_info->src.mac); in qed_iscsi_offload_conn()
[all …]
/linux-6.12.1/fs/proc/
Dconsoles.c30 struct console *con = v; in show_console_dev() local
34 if (con->device) { in show_console_dev()
44 driver = con->device(con, &index); in show_console_dev()
54 flags[a] = (con->flags & con_flags[a].flag) ? in show_console_dev()
59 seq_printf(m, "%s%d", con->name, con->index); in show_console_dev()
61 seq_printf(m, "%c%c%c (%s)", con->read ? 'R' : '-', in show_console_dev()
62 ((con->flags & CON_NBCON) || con->write) ? 'W' : '-', in show_console_dev()
63 con->unblank ? 'U' : '-', flags); in show_console_dev()
74 struct console *con; in c_start() local
83 for_each_console(con) in c_start()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c137 static bool amdgpu_ras_check_bad_page_unlock(struct amdgpu_ras *con,
669 struct amdgpu_ras *con = amdgpu_ras_get_context(adev); in amdgpu_ras_create_obj() local
672 if (!adev->ras_enabled || !con) in amdgpu_ras_create_obj()
682 obj = &con->objs[AMDGPU_RAS_BLOCK__LAST + head->sub_block_index]; in amdgpu_ras_create_obj()
684 obj = &con->objs[head->block]; in amdgpu_ras_create_obj()
695 list_add(&obj->node, &con->head); in amdgpu_ras_create_obj()
705 struct amdgpu_ras *con = amdgpu_ras_get_context(adev); in amdgpu_ras_find_obj() local
709 if (!adev->ras_enabled || !con) in amdgpu_ras_find_obj()
720 obj = &con->objs[AMDGPU_RAS_BLOCK__LAST + head->sub_block_index]; in amdgpu_ras_find_obj()
722 obj = &con->objs[head->block]; in amdgpu_ras_find_obj()
[all …]
/linux-6.12.1/arch/arm/mach-s3c/
Dgpio-samsung.c73 u32 con; in samsung_gpio_setcfg_2bit() local
83 con = __raw_readl(reg); in samsung_gpio_setcfg_2bit()
84 con &= ~(0x3 << shift); in samsung_gpio_setcfg_2bit()
85 con |= cfg; in samsung_gpio_setcfg_2bit()
86 __raw_writel(con, reg); in samsung_gpio_setcfg_2bit()
104 u32 con; in samsung_gpio_getcfg_2bit() local
106 con = __raw_readl(chip->base); in samsung_gpio_getcfg_2bit()
107 con >>= off * 2; in samsung_gpio_getcfg_2bit()
108 con &= 3; in samsung_gpio_getcfg_2bit()
111 return S3C_GPIO_SPECIAL(con); in samsung_gpio_getcfg_2bit()
[all …]
/linux-6.12.1/Documentation/translations/sp_SP/process/
Dsubmit-checklist.rst17 y en otros lugares con respecto al envío de parches del kernel de Linux.
25 a) Con las opciones ``CONFIG`` aplicables o modificadas ``=y``, ``=m``,
46 Verifique las infracciones triviales con el verificador de estilo de
52 configuración y se desactiva por defecto, a menos que cumpla con los
58 8) Ha sido revisado cuidadosamente con respecto a las combinaciones
60 con las pruebas -- la concentración mental da resultados aquí.
62 9) Verifique limpiamente con sparse.
78 12) Ha sido probado con ``CONFIG_PREEMPT``, ``CONFIG_DEBUG_PREEMPT``,
84 13) Ha sido probado en tiempo de compilación y ejecución con y sin
87 14) Todas las rutas de código se han ejercido con todas las
[all …]
D1.Intro.rst17 código del kernel debe fusionarse con el kernel oficial (“mainline”),
21 estar disponible bajo una licencia compatible con GPL.
28 comenzar con el desarrollo del kernel a encontrar y corregir errores como
32 etapas tempranas, con énfasis en involucrar a la comunidad de desarrollo
48 parches; el trabajo está lejos de terminar en ese momento. Trabajar con
55 la administración de parches con git y la revisión de parches publicados
58 :ref:`sp_development_conclusion` concluye el documento con punteros a las
64 El kernel de Linux, con más de 8 millones de líneas de código y más de
73 Con el crecimiento de Linux, ha llegado un aumento en el número de
75 vendedores de hardware quieren asegurarse de que Linux sea compatible con
[all …]
/linux-6.12.1/sound/soc/samsung/
Dspdif.c22 #define CON 0x04 macro
74 * @saved_con: Backup con reg. in suspend.
184 u32 con, clkcon, cstas; in spdif_hw_params() local
201 con = readl(regs + CON) & CON_MASK; in spdif_hw_params()
205 con &= ~CON_FIFO_TH_MASK; in spdif_hw_params()
206 con |= (0x7 << CON_FIFO_TH_SHIFT); in spdif_hw_params()
207 con |= CON_USERDATA_23RDBIT; in spdif_hw_params()
208 con |= CON_PCM_DATA; in spdif_hw_params()
210 con &= ~CON_PCM_MASK; in spdif_hw_params()
213 con |= CON_PCM_16BIT; in spdif_hw_params()
[all …]
/linux-6.12.1/drivers/media/pci/bt8xx/
Dbttv-audio-hook.c57 unsigned int con; in gvbctv3pci_audio() local
74 con = 0x000; in gvbctv3pci_audio()
77 con = 0x300; in gvbctv3pci_audio()
80 con = 0x200; in gvbctv3pci_audio()
83 gpio_bits(0x300, con); in gvbctv3pci_audio()
88 unsigned int val, con; in gvbctv5pci_audio() local
97 con = 0x300; in gvbctv5pci_audio()
100 con = 0x100; in gvbctv5pci_audio()
103 con = 0x000; in gvbctv5pci_audio()
106 if (con != (val & 0x300)) { in gvbctv5pci_audio()
[all …]
/linux-6.12.1/Documentation/translations/it_IT/process/
Dsubmit-checklist.rst24 a) con le opzioni ``CONFIG`` negli stati ``=y``, ``=m`` e ``=n``. Nessun
27 b) con ``allnoconfig``, ``allmodconfig``
31 d) Qualsiasi modifica in Documentation/ deve compilare con successo senza
59 9) Verificare con sparse.
74 12) La patch è stata verificata con le seguenti opzioni abilitate
80 13) La patch è stata compilata e verificata in esecuzione con, e senza,
84 verificata con, e senza, l'opzione ``CONFIG_LBDAF``.
86 15) Tutti i percorsi del codice sono stati verificati con tutte le funzionalità
94 18) Tutti i nuovi parametri dei moduli sono documentati con ``MODULE_PARM_DESC()``.
101 20) La patch è stata verificata con l'iniezione di fallimenti in slab e
[all …]

12345678910>>...15