Home
last modified time | relevance | path

Searched refs:patch (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/linux-6.3-rc2/kernel/livepatch/
A Dcore.c358 struct klp_patch *patch; in enabled_store() local
401 struct klp_patch *patch; in enabled_show() local
410 struct klp_patch *patch; in transition_show() local
724 if (!patch->forced) in klp_free_patch_finish()
927 patch->forced = false; in klp_init_patch_early()
945 ret = kobject_add(&patch->kobj, klp_root_kobj, "%s", patch->mod->name); in klp_init_patch()
949 if (patch->replace) { in klp_init_patch()
1042 patch->enabled = true; in __klp_enable_patch()
1071 if (!patch || !patch->mod || !patch->objs) in klp_enable_patch()
1098 patch->mod->name); in klp_enable_patch()
[all …]
A Dstate.c15 #define klp_for_each_state(patch, state) \ argument
16 for (state = patch->states; state && state->id; state++)
35 klp_for_each_state(patch, state) { in klp_get_state()
66 struct klp_patch *patch; in klp_get_prev_state() local
72 klp_for_each_patch(patch) { in klp_get_prev_state()
73 if (patch == klp_transition_patch) in klp_get_prev_state()
76 state = klp_get_state(patch, id); in klp_get_prev_state()
92 state = klp_get_state(patch, old_state->id); in klp_is_state_compatible()
96 return !patch->replace; in klp_is_state_compatible()
106 bool klp_is_patch_compatible(struct klp_patch *patch) in klp_is_patch_compatible() argument
[all …]
A Dtransition.c388 struct klp_patch *patch; in klp_try_complete_transition() local
444 patch = klp_transition_patch; in klp_try_complete_transition()
452 if (!patch->enabled) in klp_try_complete_transition()
453 klp_free_patch_async(patch); in klp_try_complete_transition()
454 else if (patch->replace) in klp_try_complete_transition()
513 klp_transition_patch = patch; in klp_init_transition()
566 klp_for_each_object(patch, obj) in klp_init_transition()
643 struct klp_patch *patch; in klp_force_transition() local
661 klp_for_each_patch(patch) { in klp_force_transition()
662 if (patch != klp_transition_patch) in klp_force_transition()
[all …]
A Dcore.h10 #define klp_for_each_patch_safe(patch, tmp_patch) \ argument
11 list_for_each_entry_safe(patch, tmp_patch, &klp_patches, list)
13 #define klp_for_each_patch(patch) \ argument
14 list_for_each_entry(patch, &klp_patches, list)
16 void klp_free_patch_async(struct klp_patch *patch);
/linux-6.3-rc2/scripts/
A Dpatch-kernel62 PNAME=patch-kernel
92 echo "cannot find patch file: ${patch}"
242 patch="patch-${CURRENTFULLVERSION}"
243 findFile $patchdir/${patch} || noFile ${patch}
244 reversePatch ${patch} || exit 1
272 patch=patch-$FULLVERSION
274 findFile $patchdir/${patch} || noFile ${patch}
277 applyPatch $patch || break
289 patch=patch-$FULLVERSION
292 findFile $patchdir/${patch} || noFile ${patch}
[all …]
/linux-6.3-rc2/Documentation/process/
A Dapplying-patches.rst60 patch -p1 < ../patch-x.y.z
64 patch -R -p1 < ../patch-x.y.z
76 patch -p1 < path/to/patch-x.y.z
85 patch -p1 -i path/to/patch-x.y.z
287 $ patch -p1 < ../patch-5.7 # apply the 5.7 patch
294 $ patch -p1 -R < ../patch-5.6.1 # revert the 5.6.1 patch
296 $ patch -p1 < ../patch-5.7 # apply new 5.7 patch
332 $ patch -p1 -R < ../patch-5.7.2 # revert the 5.7.2 patch
333 $ patch -p1 < ../patch-5.7.3 # apply the new 5.7.3 patch
382 $ patch -p1 < ../patch-5.8-rc3 # apply the 5.8-rc3 patch
[all …]
A Dsubmitting-patches.rst85 When you submit or resubmit a patch or patch series, include the
89 URLs to find the patch description and put that into the patch.
135 patch as submitted.
178 If one patch depends on another patch in order for a change to be
179 complete, that is OK. Simply note **"this patch depends on patch X"**
220 patch.
344 It's also ok to resend the patch or the patch series after a couple of
350 patch or patch series - "RESEND" only applies to resubmission of a
351 patch or patch series which have not been modified in any way from the
615 phrase`` for every patch in a whole patch series (where a ``patch
[all …]
A D5.Posting.rst50 summary of the results should be included with the patch.
75 on the area of your patch and what is going on elsewhere, basing a patch
100 changes in the same patch. If a single patch fixes a critical security
137 that end, each patch will be composed of the following:
190 - The patch itself, in the unified ("-u") patch format. Using the "-p"
192 resulting patch easier for others to read.
205 the patch::
211 with a specification implemented by the patch::
221 the patch. Each of these uses this format::
266 Sending the patch
[all …]
/linux-6.3-rc2/sound/drivers/opl3/
A Dopl3_synth.c251 if (!patch) in snd_opl3_load_patch()
254 patch->type = type; in snd_opl3_load_patch()
293 strscpy(patch->name, name, sizeof(patch->name)); in snd_opl3_load_patch()
311 for (patch = opl3->patch_table[key]; patch; patch = patch->next) { in snd_opl3_find_patch()
312 if (patch->prog == prog && patch->bank == bank) in snd_opl3_find_patch()
313 return patch; in snd_opl3_find_patch()
318 patch = kzalloc(sizeof(*patch), GFP_KERNEL); in snd_opl3_find_patch()
319 if (!patch) in snd_opl3_find_patch()
325 return patch; in snd_opl3_find_patch()
337 for (patch = opl3->patch_table[i]; patch; patch = next) { in snd_opl3_clear_patches()
[all …]
/linux-6.3-rc2/arch/xtensa/kernel/
A Djump_label.c26 struct patch { struct
41 struct patch *patch = data; in patch_text_stop_machine() argument
43 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_stop_machine()
44 local_patch_text(patch->addr, patch->data, patch->sz); in patch_text_stop_machine()
45 atomic_inc(&patch->cpu_count); in patch_text_stop_machine()
47 while (atomic_read(&patch->cpu_count) <= num_online_cpus()) in patch_text_stop_machine()
49 __invalidate_icache_range(patch->addr, patch->sz); in patch_text_stop_machine()
57 struct patch patch = { in patch_text() local
64 &patch, cpu_online_mask); in patch_text()
/linux-6.3-rc2/Documentation/translations/it_IT/process/
A D5.Posting.rst42 Prima di creare patch
59 incluso nella patch.
70 Preparazione di una patch
147 Formattazione delle patch e i changelog
207 - La patch stessa, nel formato unificato per patch ("-u"). Usare
227 patch, oppure un documento con le specifiche implementate dalla patch::
292 di posta al fine di inviare patch.
304 patch direttamente nel messaggio.
343 di una patch assomiglia a questo:
349 dove "nn" è il numero ordinale della patch, "mm" è il numero totale delle patch
[all …]
A Dsubmitting-patches.rst15 vostre patch accettate.
180 in due patch.
192 farlo presente: **"this patch depends on patch X"**.
234 nella vostra patch.
344 ``patch changelog`` alla email di intestazione o ad ogni singola patch spiegando
368 Potete anche rinviare la patch, o la serie di patch, dopo un paio di settimane
374 della vostra patch, o serie di patch - "RESEND" si applica solo alla
375 sottomissione di patch, o serie di patch, che non hanno subito modifiche
604 potere usare il comando ``git format-patch`` per ottenere patch nel formato
644 patch correlate).
[all …]
A Dstable-kernel-rules.rst11 Regole sul tipo di patch che vengono o non vengono accettate nei sorgenti
41 Procedura per sottomettere patch per i sorgenti -stable
73 Dopo che la patch è stata inclusa nei sorgenti Linux, inviate una mail a
86 del kernel nel quale vorreste vedere la patch.
93 particolarmente utile se una patch dev'essere riportata su una versione
100 della patch.
103 al messaggio della patch, così:
151 - Se accettata, la patch verrà aggiunta alla coda -stable per essere
161 alle modifiche delle patch (a meno che il mittente non sia anche il
165 alle patch.
[all …]
A Demail-clients.rst17 per applicare le patch.
23 la patch alla lista di discussione più appropriata.
49 Questo può corrompere le patch.
67 patch (questo si dovrebbe poter correggere).
99 di selezionare il file patch da inserire nel messaggio.
122 Poi per inserire la patch usate:
148 quindi scegliete la vostra patch.
216 Potete generare le patch con ``git format-patch`` e usare Mutt per inviarle::
218 $ mutt -H 0001-some-bug-fix.patch
228 per iniziare ad usare Mutt per inviare patch usando Gmail::
[all …]
A Dsubmit-checklist.rst8 Lista delle verifiche da fare prima di inviare una patch per il kernel Linux
12 vedere le proprie patch accettate più rapidamente.
15 sottomissione delle patch, in particolare
41 5) Controllate lo stile del codice della vostra patch secondo le direttive
43 Prima dell'invio della patch, usate il verificatore di stile
46 vostra patch.
74 12) La patch è stata verificata con le seguenti opzioni abilitate
80 13) La patch è stata compilata e verificata in esecuzione con, e senza,
101 20) La patch è stata verificata con l'iniezione di fallimenti in slab e
111 22) La patch è stata verificata dopo essere stata inclusa nella serie di patch
[all …]
/linux-6.3-rc2/sound/synth/emux/
A Demux_hwdep.c23 struct soundfont_patch_info patch; in snd_emux_hwdep_load_patch() local
25 if (copy_from_user(&patch, arg, sizeof(patch))) in snd_emux_hwdep_load_patch()
28 if (patch.key == GUS_PATCH) in snd_emux_hwdep_load_patch()
30 patch.len + sizeof(patch), in snd_emux_hwdep_load_patch()
33 if (patch.type >= SNDRV_SFNT_LOAD_INFO && in snd_emux_hwdep_load_patch()
34 patch.type <= SNDRV_SFNT_PROBE_DATA) { in snd_emux_hwdep_load_patch()
35 err = snd_soundfont_load(emu->sflist, arg, patch.len + sizeof(patch), TMP_CLIENT_ID); in snd_emux_hwdep_load_patch()
40 return emu->ops.load_fx(emu, patch.type, patch.optarg, arg, patch.len + sizeof(patch)); in snd_emux_hwdep_load_patch()
A Dsoundfont.c127 if (copy_from_user(&patch, data, sizeof(patch))) in snd_soundfont_load()
131 data += sizeof(patch); in snd_soundfont_load()
142 if (patch.len < 0) { in snd_soundfont_load()
165 switch (patch.type) { in snd_soundfont_load()
958 if (copy_from_user(&patch, data, sizeof(patch))) in load_guspatch()
1051 (patch.env_rate[0], 0, patch.env_offset[0]); in load_guspatch()
1053 (patch.env_rate[1], patch.env_offset[0], in load_guspatch()
1056 (patch.env_rate[2], patch.env_offset[1], in load_guspatch()
1059 (patch.env_rate[3], patch.env_offset[1], in load_guspatch()
1062 (patch.env_rate[4], patch.env_offset[3], in load_guspatch()
[all …]
/linux-6.3-rc2/arch/parisc/kernel/
A Dpatch.c18 struct patch { struct
103 struct patch *patch = data; in patch_text_stop_machine() local
105 __patch_text_multiple(patch->addr, patch->insn, patch->len); in patch_text_stop_machine()
111 struct patch patch = { in patch_text() local
117 stop_machine_cpuslocked(patch_text_stop_machine, &patch, NULL); in patch_text()
123 struct patch patch = { in patch_text_multiple() local
129 stop_machine_cpuslocked(patch_text_stop_machine, &patch, NULL); in patch_text_multiple()
/linux-6.3-rc2/Documentation/livepatch/
A Dcallbacks.rst5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules
16 In most cases, (un)patch callbacks will need to be used in conjunction
26 patch.
39 * Pre-patch
42 * Post-patch
48 active), used to clean up post-patch callback
54 used to cleanup pre-patch callback resources
61 symmetry: pre-patch callbacks have a post-unpatch counterpart and
62 post-patch callbacks have a pre-unpatch counterpart. An unpatch
98 If the object did successfully patch, but the patch transition never
[all …]
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-kernel-livepatch9 each loaded live patch module.
11 What: /sys/kernel/livepatch/<patch>
16 The patch directory contains subdirectories for each kernel
19 What: /sys/kernel/livepatch/<patch>/enabled
25 code is currently applied. Writing 0 will disable the patch
26 while writing 1 will re-enable the patch.
28 What: /sys/kernel/livepatch/<patch>/transition
36 What: /sys/kernel/livepatch/<patch>/force
45 use this feature without a clearance from a patch
50 What: /sys/kernel/livepatch/<patch>/<object>
[all …]
/linux-6.3-rc2/arch/ia64/kernel/
A Dvmlinux.lds.S84 .data..patch.phys_stack_reg : AT(ADDR(.data..patch.phys_stack_reg) - LOAD_OFFSET) {
86 *(.data..patch.phys_stack_reg)
125 .data..patch.vtop : AT(ADDR(.data..patch.vtop) - LOAD_OFFSET) {
127 *(.data..patch.vtop)
131 .data..patch.rse : AT(ADDR(.data..patch.rse) - LOAD_OFFSET) {
133 *(.data..patch.rse)
137 .data..patch.mckinley_e9 : AT(ADDR(.data..patch.mckinley_e9) - LOAD_OFFSET) {
139 *(.data..patch.mckinley_e9)
/linux-6.3-rc2/arch/riscv/kernel/
A Dpatch.c115 struct patch_insn *patch = data; in patch_text_cb() local
119 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_cb()
120 for (i = 0; ret == 0 && i < patch->ninsns; i++) { in patch_text_cb()
121 len = GET_INSN_LENGTH(patch->insns[i]); in patch_text_cb()
122 ret = patch_text_nosync(patch->addr + i * len, in patch_text_cb()
123 &patch->insns[i], len); in patch_text_cb()
125 atomic_inc(&patch->cpu_count); in patch_text_cb()
127 while (atomic_read(&patch->cpu_count) <= num_online_cpus()) in patch_text_cb()
139 struct patch_insn patch = { in patch_text() local
156 ret = stop_machine_cpuslocked(patch_text_cb, &patch, cpu_online_mask); in patch_text()
/linux-6.3-rc2/arch/arm/kernel/
A Dpatch.c14 struct patch { struct
113 struct patch *patch = data; in patch_text_stop_machine() local
115 __patch_text(patch->addr, patch->insn); in patch_text_stop_machine()
122 struct patch patch = { in patch_text() local
127 stop_machine_cpuslocked(patch_text_stop_machine, &patch, NULL); in patch_text()
/linux-6.3-rc2/lib/livepatch/
A Dtest_klp_state.c32 static struct klp_patch patch; variable
38 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in allocate_loglevel_state()
55 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in fix_console_loglevel()
68 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in restore_console_loglevel()
80 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in free_loglevel_state()
141 static struct klp_patch patch = { variable
150 return klp_enable_patch(&patch); in test_klp_callbacks_demo_init()
A Dtest_klp_state2.c32 static struct klp_patch patch; variable
45 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in allocate_loglevel_state()
62 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in fix_console_loglevel()
90 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in restore_console_loglevel()
109 loglevel_state = klp_get_state(&patch, CONSOLE_LOGLEVEL_STATE); in free_loglevel_state()
170 static struct klp_patch patch = { variable
179 return klp_enable_patch(&patch); in test_klp_callbacks_demo_init()

Completed in 44 milliseconds

12345678910>>...17