| /linux/kernel/livepatch/ |
| A D | core.c | 359 struct klp_patch *patch; in enabled_store() local 402 struct klp_patch *patch; in enabled_show() local 411 struct klp_patch *patch; in transition_show() local 735 if (!patch->forced) in klp_free_patch_finish() 938 patch->forced = false; in klp_init_patch_early() 956 ret = kobject_add(&patch->kobj, klp_root_kobj, "%s", patch->mod->name); in klp_init_patch() 960 if (patch->replace) { in klp_init_patch() 1053 patch->enabled = true; in __klp_enable_patch() 1082 if (!patch || !patch->mod || !patch->objs) in klp_enable_patch() 1109 patch->mod->name); in klp_enable_patch() [all …]
|
| A D | state.c | 15 #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 D | transition.c | 455 struct klp_patch *patch; in klp_try_complete_transition() local 512 patch = klp_transition_patch; in klp_try_complete_transition() 520 if (!patch->enabled) in klp_try_complete_transition() 521 klp_free_patch_async(patch); in klp_try_complete_transition() 522 else if (patch->replace) in klp_try_complete_transition() 583 klp_transition_patch = patch; in klp_init_transition() 637 klp_for_each_object(patch, obj) in klp_init_transition() 729 struct klp_patch *patch; in klp_force_transition() local 747 klp_for_each_patch(patch) { in klp_force_transition() 748 if (patch != klp_transition_patch) in klp_force_transition() [all …]
|
| /linux/scripts/ |
| A D | patch-kernel | 62 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/Documentation/process/ |
| A D | applying-patches.rst | 60 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 D | submitting-patches.rst | 85 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. 133 patch as submitted. 186 If one patch depends on another patch in order for a change to be 187 complete, that is OK. Simply note **"this patch depends on patch X"** 228 patch. 374 It's also ok to resend the patch or the patch series after a couple of 380 patch or patch series - "RESEND" only applies to resubmission of a 381 patch or patch series which have not been modified in any way from the 647 phrase`` for every patch in a whole patch series (where a ``patch [all …]
|
| A D | 5.Posting.rst | 50 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 document with a specification implemented by the patch:: 231 the patch. Each of these uses this format:: 278 Sending the patch [all …]
|
| A D | backporting.rst | 27 Applying the patch to a tree 39 edit the patch to make it apply. 74 written record of where the patch came from! 162 the patch you are picking (``<commit>``), i.e.:: 284 after the original patch has been applied. 354 Understanding the patch can be easy or difficult depending on the patch 378 what your patch looks like so far. 480 patch to the original patch. It is highly recommended that you use a 560 the patch to the correct tree and submit the patch. 565 <original patch title> [all …]
|
| /linux/sound/drivers/opl3/ |
| A D | opl3_synth.c | 249 if (!patch) in snd_opl3_load_patch() 252 patch->type = type; in snd_opl3_load_patch() 291 strscpy(patch->name, name, sizeof(patch->name)); in snd_opl3_load_patch() 309 for (patch = opl3->patch_table[key]; patch; patch = patch->next) { in snd_opl3_find_patch() 310 if (patch->prog == prog && patch->bank == bank) in snd_opl3_find_patch() 311 return patch; in snd_opl3_find_patch() 316 patch = kzalloc(sizeof(*patch), GFP_KERNEL); in snd_opl3_find_patch() 317 if (!patch) in snd_opl3_find_patch() 323 return patch; in snd_opl3_find_patch() 335 for (patch = opl3->patch_table[i]; patch; patch = next) { in snd_opl3_clear_patches() [all …]
|
| /linux/arch/xtensa/kernel/ |
| A D | jump_label.c | 26 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/scripts/coccinelle/api/ |
| A D | string_choices.cocci | 6 virtual patch 10 @str_plural depends on patch@ 21 @str_plural_r depends on !patch@ 190 @str_enable_disable depends on patch@ 196 @str_enable_disable_r depends on !patch@ 209 @str_enabled_disabled depends on patch@ 215 @str_enabled_disabled_r depends on !patch@ 266 @str_on_off depends on patch@ 272 @str_on_off_r depends on !patch@ 285 @str_yes_no depends on patch@ [all …]
|
| /linux/sound/synth/emux/ |
| A D | emux_hwdep.c | 23 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() 32 if (patch.type >= SNDRV_SFNT_LOAD_INFO && in snd_emux_hwdep_load_patch() 33 patch.type <= SNDRV_SFNT_PROBE_DATA) { in snd_emux_hwdep_load_patch() 35 patch.len + sizeof(patch), in snd_emux_hwdep_load_patch() 41 return emu->ops.load_fx(emu, patch.type, patch.optarg, arg, patch.len + sizeof(patch)); in snd_emux_hwdep_load_patch()
|
| A D | soundfont.c | 129 if (copy_from_user(&patch, data, sizeof(patch))) in snd_soundfont_load() 141 count, patch.len); in snd_soundfont_load() 144 if (patch.len < 0) { in snd_soundfont_load() 994 if (copy_from_user(&patch, data, sizeof(patch))) in load_guspatch() 999 if ((patch.len << (patch.mode & WAVE_16_BITS ? 1 : 0)) != count) in load_guspatch() 1094 (patch.env_rate[0], 0, patch.env_offset[0]); in load_guspatch() 1096 (patch.env_rate[1], patch.env_offset[0], in load_guspatch() 1099 (patch.env_rate[2], patch.env_offset[1], in load_guspatch() 1102 (patch.env_rate[3], patch.env_offset[1], in load_guspatch() 1105 (patch.env_rate[4], patch.env_offset[3], in load_guspatch() [all …]
|
| /linux/Documentation/translations/it_IT/process/ |
| A D | 5.Posting.rst | 42 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 228 implementate dalla patch:: 314 di posta al fine di inviare patch. 326 patch direttamente nel messaggio. 365 di una patch assomiglia a questo: 371 dove "nn" è il numero ordinale della patch, "mm" è il numero totale delle patch [all …]
|
| A D | submitting-patches.rst | 15 vostre patch accettate. 195 in due patch. 207 farlo presente: **"this patch depends on patch X"**. 249 nella vostra patch. 417 Potete anche rinviare la patch, o la serie di patch, dopo un paio di settimane 423 della vostra patch, o serie di patch - "RESEND" si applica solo alla 424 sottomissione di patch, o serie di patch, che non hanno subito modifiche 657 potere usare il comando ``git format-patch`` per ottenere patch nel formato 697 patch correlate). 775 della patch. [all …]
|
| A D | stable-kernel-rules.rst | 11 Regole sul tipo di patch che vengono o non vengono accettate nei sorgenti 14 - Questa patch o una equivalente deve esistere già nei sorgenti principali di 40 Procedura per sottomettere patch per i sorgenti -stable 98 * Specificate i prerequisiti per le patch aggiuntive:: 135 * Ritardare l'inclusione di patch:: 153 Se la patch è già stata inclusa nei sorgenti Linux, inviate una mail a 167 kernel nel quale vorreste vedere la patch.:: 175 Se la patch inviata devia rispetto all'originale presente nei sorgenti 194 alle modifiche delle patch (a meno che il mittente non sia anche il 198 alle patch. [all …]
|
| A D | email-clients.rst | 17 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 D | submit-checklist.rst | 8 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/arch/parisc/kernel/ |
| A D | patch.c | 18 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/Documentation/livepatch/ |
| A D | callbacks.rst | 5 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/Documentation/ABI/testing/ |
| A D | sysfs-kernel-livepatch | 9 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 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>/replace 58 What: /sys/kernel/livepatch/<patch>/<object> [all …]
|
| /linux/arch/arm/kernel/ |
| A D | patch.c | 14 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/tools/testing/selftests/livepatch/test_modules/ |
| A D | test_klp_state.c | 32 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 D | test_klp_state2.c | 32 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()
|
| /linux/Documentation/translations/it_IT/arch/riscv/ |
| A D | patch-acceptance.rst | 3 :Original: :doc:`../../../../arch/riscv/patch-acceptance` 28 RISC-V ha un'istanza di patchwork dov'è possibile controllare lo stato delle patch: 32 Se la vostra patch non appare nella vista predefinita, i manutentori di RISC-V 37 e collaudando le patch man mano che arrivano. Il processo applica le patch al 39 questo a seconda che la patch sia stata o meno individuata come correzione. In 41 stata applicata una serie di patch sarà annotato su patchwork. È improbabile che 42 vengano applicate Le patch che non passano i controlli, nella maggior parte dei 45 In aggiunta alla lista delle verifiche da fare prima di inviare una patch 48 Accetteremo le patch per un nuovo modulo o estensione se la fondazione 57 prestazioni, accetteremo patch solo per quelle estensioni che sono
|