| /linux/net/ceph/ |
| H A D | messenger_v1.c | 110 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 …]
|
| H A D | messenger_v2.c | 108 static int ceph_tcp_recv(struct ceph_connection *con) in ceph_tcp_recv() argument 112 dout("%s con %p %s %zu\n", __func__, con, in ceph_tcp_recv() 113 iov_iter_is_discard(&con->v2.in_iter) ? "discard" : "need", in ceph_tcp_recv() 114 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv() 115 ret = do_recvmsg(con->sock, &con->v2.in_iter); in ceph_tcp_recv() 116 dout("%s con %p ret %d left %zu\n", __func__, con, ret, in ceph_tcp_recv() 117 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv() 195 static int ceph_tcp_send(struct ceph_connection *con) in ceph_tcp_send() argument 199 dout("%s con %p have %zu try_sendpage %d\n", __func__, con, in ceph_tcp_send() 200 iov_iter_count(&con->v2.out_iter), con->v2.out_iter_sendpage); in ceph_tcp_send() [all …]
|
| H A D | messenger.c | 100 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/net/tipc/ |
| H A D | topsrv.c | 117 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/tools/perf/util/ |
| H A D | bpf_lock_contention.c | 37 static void check_slab_cache_iter(struct lock_contention *con) in check_slab_cache_iter() argument 43 con->btf = btf__load_vmlinux_btf(); in check_slab_cache_iter() 44 if (con->btf == NULL) { in check_slab_cache_iter() 49 ret = btf__find_by_name_kind(con->btf, "bpf_iter__kmem_cache", BTF_KIND_STRUCT); in check_slab_cache_iter() 58 bpf_map__set_max_entries(skel->maps.slab_caches, con->map_nr_entries); in check_slab_cache_iter() 111 static void init_numa_data(struct lock_contention *con) in init_numa_data() argument 120 if (!con->btf) in init_numa_data() 128 ret = btf__find_by_name_kind(con->btf, "zone", BTF_KIND_STRUCT); in init_numa_data() 134 ret = btf__resolve_size(con->btf, ret); in init_numa_data() 142 sym = machine__find_kernel_symbol_by_name(con in init_numa_data() 183 lock_contention_prepare(struct lock_contention * con) lock_contention_prepare() argument 490 account_end_timestamp(struct lock_contention * con) account_end_timestamp() argument 561 lock_contention_get_name(struct lock_contention * con,struct contention_key * key,u64 * stack_trace,u32 flags) lock_contention_get_name() argument 661 pop_owner_stack_trace(struct lock_contention * con) pop_owner_stack_trace() argument 718 lock_contention_read(struct lock_contention * con) lock_contention_read() argument 836 lock_contention_finish(struct lock_contention * con) lock_contention_finish() argument [all...] |
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs.c | 72 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 …]
|
| /linux/fs/proc/ |
| H A D | consoles.c | 30 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/include/linux/ceph/ |
| H A D | messenger.h | 31 void (*dispatch) (struct ceph_connection *con, struct ceph_msg *m); 35 struct ceph_connection *con, 37 int (*add_authorizer_challenge)(struct ceph_connection *con, 40 int (*verify_authorizer_reply) (struct ceph_connection *con); 41 int (*invalidate_authorizer)(struct ceph_connection *con); 44 void (*fault) (struct ceph_connection *con); 48 void (*peer_reset) (struct ceph_connection *con); 50 struct ceph_msg * (*alloc_msg) (struct ceph_connection *con, 60 int (*get_auth_request)(struct ceph_connection *con, 63 int (*handle_auth_reply_more)(struct ceph_connection *con, [all …]
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_nvmetcp.c | 256 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 …]
|
| H A D | qed_iscsi.c | 1030 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/arch/arm/mach-s3c/ |
| H A D | gpio-samsung.c | 73 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 …]
|
| H A D | pm-gpio.c | 55 S3C_PMDBG("%s: CON %08x => %08x, DAT %08x => %08x\n", in samsung_gpio_pm_1bit_resume() 74 static inline int is_sfn(unsigned long con) in is_sfn() argument 76 return con >= 2; in is_sfn() 81 static inline int is_in(unsigned long con) in is_in() argument 83 return con == 0; in is_in() 88 static inline int is_out(unsigned long con) in is_out() argument 90 return con == 1; in is_out() 99 * from the order that the CON and DAT registers are set in. 107 * { IN => SFN } Change CON first 108 * { OUT => SFN } Change CON first, so new data will not glitch [all …]
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | trace.h | 42 TP_PROTO(int port, struct ucsi_connector *con), 43 TP_ARGS(port, con), 57 __entry->change = UCSI_CONSTAT(con, CHANGE); 58 __entry->opmode = UCSI_CONSTAT(con, PWR_OPMODE); 59 __entry->connected = UCSI_CONSTAT(con, CONNECTED); 60 __entry->pwr_dir = UCSI_CONSTAT(con, PWR_DIR); 61 __entry->partner_flags = UCSI_CONSTAT(con, PARTNER_FLAGS); 62 __entry->partner_type = UCSI_CONSTAT(con, PARTNER_TYPE); 63 __entry->request_data_obj = UCSI_CONSTAT(con, RDO); 64 __entry->bc_status = UCSI_CONSTAT(con, BC_STATUS); [all …]
|
| H A D | displayport.c | 20 struct ucsi_connector *con; member 51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter() 57 if (!ucsi_con_mutex_lock(dp->con)) in ucsi_displayport_enter() 69 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter() 78 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter() 104 ucsi_con_mutex_unlock(dp->con); in ucsi_displayport_enter() 116 if (!ucsi_con_mutex_lock(dp->con)) in ucsi_displayport_exit() 128 command = UCSI_CMD_SET_NEW_CAM(dp->con->num, 0, dp->offset, 0); in ucsi_displayport_exit() 129 ret = ucsi_send_command(dp->con->ucsi, command, NULL, 0); in ucsi_displayport_exit() 149 ucsi_con_mutex_unlock(dp->con); in ucsi_displayport_exit() [all …]
|
| /linux/kernel/printk/ |
| H A D | internal.h | 17 #define con_printk(lvl, con, fmt, ...) \ argument 19 (con->flags & CON_NBCON) ? "" : "legacy ", \ 20 (con->flags & CON_BOOT) ? "boot" : "", \ 21 con->name, con->index, ##__VA_ARGS__) 102 u64 nbcon_seq_read(struct console *con); 103 void nbcon_seq_force(struct console *con, u64 seq); 104 bool nbcon_alloc(struct console *con); 105 void nbcon_free(struct console *con); 108 bool nbcon_legacy_emit_next_record(struct console *con, bool *handover, 110 bool nbcon_kthread_create(struct console *con); [all …]
|
| /linux/sound/soc/samsung/ |
| H A D | spdif.c | 22 #define CON 0x04 macro 74 * @saved_con: Backup con reg. in suspend. 181 u32 con, clkcon, cstas; in spdif_hw_params() 197 con = readl(regs + CON) & CON_MASK; in spdif_hw_params() 201 con &= ~CON_FIFO_TH_MASK; in spdif_hw_params() 202 con |= (0x7 << CON_FIFO_TH_SHIFT); in spdif_hw_params() 203 con |= CON_USERDATA_23RDBIT; in spdif_hw_params() 204 con |= CON_PCM_DATA; in spdif_hw_params() 206 con in spdif_hw_params() 184 u32 con, clkcon, cstas; spdif_hw_params() local 285 u32 con, clkcon; spdif_shutdown() local 302 u32 con = spdif->saved_con; spdif_suspend() local [all...] |
| /linux/drivers/media/pci/bt8xx/ |
| H A D | bttv-audio-hook.c | 57 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/Documentation/translations/sp_SP/process/ |
| H A D | 1.Intro.rst | 17 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 …]
|
| H A D | researcher-guidelines.rst | 20 compartir copias de acceso abierto de la investigación publicada con 36 La comunidad del kernel de Linux espera que todos los que interactúan con 46 Aunque, como con cualquier investigación, todavía se debe seguir la ética 50 sin embargo, debe hacerse con el acuerdo explícito y la divulgación 52 interactuar / experimentar con los desarrolladores sin consentimiento; 56 con ellos, pero ya han dado su consentimiento para recibir contribuciones 58 defectuosos / vulnerables o contribuir con la información engañosa a las 67 investigadores, como con cualquiera, es bienvenida y alentada. La 72 Cuando se interactúa con la comunidad de desarrolladores, enviar un 83 Entonces envíe un parche (incluyendo un registro de confirmación con [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | event_analyzing_sample.py | 38 con = sqlite3.connect("/dev/shm/perf.db") variable 39 con.isolation_level = None 48 con.execute(""" 55 con.execute(""" 97 con.execute("insert into gen_events values(?, ?, ?, ?)", 102 con.execute("insert into pebs_ll values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", 111 con.close() 126 count = con.execute("select count(*) from gen_events") 135 …commq = con.execute("select comm, count(comm) from gen_events group by comm order by -count(comm)") 142 …symbolq = con.execute("select symbol, count(symbol) from gen_events group by symbol order by -coun… [all …]
|
| /linux/drivers/gpu/drm/clients/ |
| H A D | drm_log.c | 57 struct console con; member 68 static struct drm_log *console_to_drm_log(struct console *con) in console_to_drm_log() argument 70 return container_of(con, struct drm_log, con); in console_to_drm_log() 310 unregister_console(&dlog->con); in drm_log_client_unregister() 345 console_suspend(&dlog->con); in drm_log_client_suspend() 354 console_resume(&dlog->con); in drm_log_client_resume() 369 static void drm_log_write_thread(struct console *con, struct nbcon_write_context *wctxt) in drm_log_write_thread() argument 371 struct drm_log *dlog = console_to_drm_log(con); in drm_log_write_thread() 386 static void drm_log_lock(struct console *con, unsigned long *flags) in drm_log_lock() argument 388 struct drm_log *dlog = console_to_drm_log(con); in drm_log_lock() [all …]
|
| /linux/Documentation/translations/it_IT/process/ |
| H A D | 3.Early-stage.rst | 22 successo parte con una chiara descrizione del problema da risolvere. 25 tende a confondere il problema reale con le soluzioni proposte e questo 28 Facciamo un esempio: qualche anno fa, gli sviluppatori che lavoravano con 62 periodo e cercavano la giusta soluzione alla problematica esistente con uno 64 problema - non su di una specifica soluzione- e di discuterne con la comunità 84 opportuno discuterne inizialmente con la comunità prima di lanciarsi 106 Anni di esperienza con la comunità di sviluppo del kernel hanno impartito una 135 straordinario, cose che avrebbero potuto essere evitate con alcune 136 "chiacchierate" preliminari con gli sviluppatori kernel. 138 Con chi parlare? [all …]
|
| H A D | 6.Followthrough.rst | 12 A questo punto, avete seguito le linee guida fino a questo punto e, con 17 simboleggia una transizione alla fase successiva del processo, con, 24 lavorare con la comunità del kernel per assicurare che il vostro codice 29 Lavorare con i revisori 34 Lavorare con i revisori può rivelarsi, per molti sviluppatori, la parte 79 Notate che non dovete per forza essere d'accordo con ogni singola modifica 85 specialmente se altri iniziano ad essere d'accordo con il revisore. 106 famigliarizzare con ciò che è stato detto l'ultima volta; se li aiutate 115 in alto di voi. Per cose di questo genere la persona con più potere è 121 potrebbe non essere d'accordo con voi. [all …]
|
| H A D | botching-up-ioctls.rst | 51 * I puntatori sono di tipo ``__u64``, con un *cast* da/a ``uintptr_t`` da lato 62 Con la gioia d'aver evitato un livello di compatibilità, possiamo ora dare uno 75 * Abbiate un piano per estendere le ioctl con nuovi *flag* o campi alla fine di 77 arrivo, ed estende con zeri ogni incongruenza fra kernel e spazio utente. 85 estendere le ioctl andrà a rotoli dato che qualcuno userà delle ioctl con 86 strutture dati con valori casuali dallo stack nei campi inutilizzati. Il che 122 d'errore interrompendo i vostri test con dei segnali. Grazie all'amore di X 127 driver i915 l'abbozza con l'ioctl `set_tiling`, ed ora siamo inchiodati per 128 sempre con una semantica arcana sia nel kernel che nello spazio utente. 157 parte. Gli orologi divergeranno, ma con questa informazione gli strumenti di [all …]
|
| /linux/drivers/usb/typec/ |
| H A D | port-mapper.c | 20 return component_bind_all(dev, &port->con); in typec_aggregate_bind() 27 component_unbind_all(dev, &port->con); in typec_aggregate_unbind() 79 int typec_link_ports(struct typec_port *con) in typec_link_ports() argument 81 struct each_port_arg arg = { .port = con, .match = NULL }; in typec_link_ports() 83 if (!has_acpi_companion(&con->dev)) in typec_link_ports() 101 return component_master_add_with_match(&con->dev, &typec_aggregate_ops, arg.match); in typec_link_ports() 104 void typec_unlink_ports(struct typec_port *con) in typec_unlink_ports() argument 106 if (has_acpi_companion(&con->dev)) in typec_unlink_ports() 107 component_master_del(&con->dev, &typec_aggregate_ops); in typec_unlink_ports()
|