/linux/kernel/livepatch/ |
A D | core.c | 335 struct klp_patch *patch; in enabled_store() local 378 struct klp_patch *patch; in enabled_show() local 684 if (!patch->forced) in klp_free_patch_finish() 870 if (!patch->objs) in klp_init_patch_early() 877 patch->forced = false; in klp_init_patch_early() 903 ret = kobject_add(&patch->kobj, klp_root_kobj, "%s", patch->mod->name); in klp_init_patch() 907 if (patch->replace) { in klp_init_patch() 1000 patch->enabled = true; in __klp_enable_patch() 1028 if (!patch || !patch->mod) in klp_enable_patch() 1049 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 | 389 struct klp_patch *patch; in klp_try_complete_transition() local 445 patch = klp_transition_patch; in klp_try_complete_transition() 453 if (!patch->enabled) in klp_try_complete_transition() 454 klp_free_patch_async(patch); in klp_try_complete_transition() 455 else if (patch->replace) in klp_try_complete_transition() 456 klp_free_replaced_patches_async(patch); in klp_try_complete_transition() 514 klp_transition_patch = patch; in klp_init_transition() 567 klp_for_each_object(patch, obj) in klp_init_transition() 630 struct klp_patch *patch; in klp_force_transition() local 644 klp_for_each_patch(patch) in klp_force_transition() [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 283 $ patch -p1 < ../patch-5.7 # apply the 5.7 patch 290 $ patch -p1 -R < ../patch-5.6.1 # revert the 5.6.1 patch 292 $ patch -p1 < ../patch-5.7 # apply new 5.7 patch 329 $ patch -p1 -R < ../patch-5.7.2 # revert the 5.7.2 patch 330 $ patch -p1 < ../patch-5.7.3 # apply the new 5.7.3 patch 364 $ patch -p1 < ../patch-5.8-rc3 # apply the 5.8-rc3 patch [all …]
|
A D | submitting-patches.rst | 86 When you submit or resubmit a patch or patch series, include the 90 URLs to find the patch description and put that into the patch. 136 patch as submitted. 179 If one patch depends on another patch in order for a change to be 180 complete, that is OK. Simply note **"this patch depends on patch X"** 221 patch. 360 It's also ok to resend the patch or the patch series after a couple of 366 patch or patch series - "RESEND" only applies to resubmission of a 367 patch or patch series which have not been modified in any way from the 629 phrase`` for every patch in a whole patch series (where a ``patch [all …]
|
A D | 5.Posting.rst | 51 summary of the results should be included with the patch. 76 on the area of your patch and what is going on elsewhere, basing a patch 101 changes in the same patch. If a single patch fixes a critical security 138 that end, each patch will be composed of the following: 191 - The patch itself, in the unified ("-u") patch format. Using the "-p" 193 resulting patch easier for others to read. 242 - Cc: the named person received a copy of the patch and had the 249 Sending the patch 273 the patch in their replies. Instead, just put the patch directly into your 314 [PATCH nn/mm] subsys: one-line description of the patch [all …]
|
A D | stable-kernel-rules.rst | 50 To have the patch automatically included in the stable tree, add the tag 56 in the sign-off area. Once the patch is merged it will be applied to 65 After the patch has been merged to Linus' tree, send an email to 66 stable@vger.kernel.org containing the subject of the patch, the commit ID, 75 Send the patch, after verifying that it follows the above rules, to 84 useful if the patch needs some special handling to apply to an older kernel 87 Note that for :ref:`option_3`, if the patch deviates from the original 89 clearly documented and justified in the patch description. 150 - The review committee has 48 hours in which to ACK or NAK the patch. 151 - If the patch is rejected by a member of the committee, or linux-kernel [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/sound/drivers/opl3/ |
A D | opl3_synth.c | 251 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/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) == 1) { 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, NULL); in patch_text()
|
/linux/Documentation/translations/it_IT/process/ |
A D | 5.Posting.rst | 43 Prima di creare patch 60 incluso nella patch. 71 Preparazione di una patch 148 Formattazione delle patch e i changelog 164 seguito dallo scopo della patch. Per esempio: 208 - La patch stessa, nel formato unificato per patch ("-u"). Usare 278 di posta al fine di inviare patch. 290 patch direttamente nel messaggio. 329 di una patch assomiglia a questo: 335 dove "nn" è il numero ordinale della patch, "mm" è il numero totale delle patch [all …]
|
A D | submitting-patches.rst | 15 vostre patch accettate. 167 in due patch. 171 è contenuto in una sola patch. 179 farlo presente: **"this patch depends on patch X"**. 221 nella vostra patch. 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 601 potere usare il comando ``git format-patch`` per ottenere patch nel formato 641 patch correlate). [all …]
|
A D | stable-kernel-rules.rst | 11 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 74 stable@vger.kernel.org includendo: il titolo della patch, l'identificativo 86 del kernel nel quale vorreste vedere la patch. 97 Notate che per l':ref:`it_option_3`, se la patch è diversa da quella nei 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 [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/sound/synth/emux/ |
A D | soundfont.c | 127 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 …]
|
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() 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()
|
/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/arch/parisc/kernel/ |
A D | patch.c | 18 struct patch { struct 106 struct patch *patch = data; in patch_text_stop_machine() local 108 __patch_text_multiple(patch->addr, patch->insn, patch->len); in patch_text_stop_machine() 114 struct patch patch = { in patch_text() local 120 stop_machine_cpuslocked(patch_text_stop_machine, &patch, NULL); in patch_text() 126 struct patch patch = { in patch_text_multiple() local 132 stop_machine_cpuslocked(patch_text_stop_machine, &patch, NULL); in patch_text_multiple()
|
/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 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 46 distributor. Removal (rmmod) of patch modules is permanently [all …]
|
/linux/arch/ia64/kernel/ |
A D | vmlinux.lds.S | 85 .data..patch.phys_stack_reg : AT(ADDR(.data..patch.phys_stack_reg) - LOAD_OFFSET) { 87 *(.data..patch.phys_stack_reg) 126 .data..patch.vtop : AT(ADDR(.data..patch.vtop) - LOAD_OFFSET) { 128 *(.data..patch.vtop) 132 .data..patch.rse : AT(ADDR(.data..patch.rse) - LOAD_OFFSET) { 134 *(.data..patch.rse) 138 .data..patch.mckinley_e9 : AT(ADDR(.data..patch.mckinley_e9) - LOAD_OFFSET) { 140 *(.data..patch.mckinley_e9)
|
/linux/arch/riscv/kernel/ |
A D | patch.c | 104 struct patch_insn *patch = data; in patch_text_cb() local 107 if (atomic_inc_return(&patch->cpu_count) == 1) { in patch_text_cb() 109 patch_text_nosync(patch->addr, &patch->insn, in patch_text_cb() 110 GET_INSN_LENGTH(patch->insn)); in patch_text_cb() 111 atomic_inc(&patch->cpu_count); in patch_text_cb() 113 while (atomic_read(&patch->cpu_count) <= num_online_cpus()) in patch_text_cb() 124 struct patch_insn patch = { in patch_text() local 131 &patch, cpu_online_mask); in patch_text()
|
/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/lib/livepatch/ |
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()
|